2022-05-29 23:44:18 +10:00
|
|
|
@georeference
|
|
|
|
|
Feature: Georeference
|
|
|
|
|
|
|
|
|
|
Scenario: Add georeferencing
|
|
|
|
|
Given an empty IFC project
|
|
|
|
|
When I press "bim.add_georeferencing"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Enable editing georeferencing
|
|
|
|
|
Given an empty IFC project
|
|
|
|
|
And I press "bim.add_georeferencing"
|
|
|
|
|
When I press "bim.enable_editing_georeferencing"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Remove georeferencing
|
|
|
|
|
Given an empty IFC project
|
|
|
|
|
And I press "bim.add_georeferencing"
|
|
|
|
|
When I press "bim.remove_georeferencing"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Edit georeferencing
|
|
|
|
|
Given an empty IFC project
|
|
|
|
|
And I press "bim.add_georeferencing"
|
|
|
|
|
And I press "bim.enable_editing_georeferencing"
|
|
|
|
|
When I press "bim.edit_georeferencing"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Disable editing georeferencing
|
|
|
|
|
Given an empty IFC project
|
|
|
|
|
And I press "bim.add_georeferencing"
|
|
|
|
|
And I press "bim.enable_editing_georeferencing"
|
|
|
|
|
When I press "bim.disable_editing_georeferencing"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Get cursor location
|
|
|
|
|
Given an empty IFC project
|
|
|
|
|
When I press "bim.get_cursor_location"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
2024-08-03 23:08:35 +10:00
|
|
|
Scenario: Convert local to map
|
2022-05-29 23:44:18 +10:00
|
|
|
Given an empty IFC project
|
2024-06-30 17:01:39 +10:00
|
|
|
When I set "scene.BIMGeoreferenceProperties.local_coordinates" to "0,0,0"
|
|
|
|
|
Then "scene.BIMGeoreferenceProperties.map_coordinates" is "0.0,0.0,0.0"
|
2022-05-29 23:44:18 +10:00
|
|
|
|
2024-08-03 23:08:35 +10:00
|
|
|
Scenario: Convert map to local
|
2022-05-29 23:44:18 +10:00
|
|
|
Given an empty IFC project
|
2024-06-30 17:01:39 +10:00
|
|
|
When I set "scene.BIMGeoreferenceProperties.map_coordinates" to "0,0,0"
|
|
|
|
|
Then "scene.BIMGeoreferenceProperties.local_coordinates" is "0.0,0.0,0.0"
|