2021-10-18 11:21:49 +11:00
|
|
|
@misc
|
|
|
|
|
Feature: Misc
|
|
|
|
|
|
|
|
|
|
Scenario: Set override colour
|
2021-10-18 14:15:16 +11:00
|
|
|
Given an empty Blender session
|
2021-10-18 11:21:49 +11:00
|
|
|
And I add a cube
|
|
|
|
|
And the object "Cube" is selected
|
|
|
|
|
When I press "bim.set_override_colour"
|
|
|
|
|
Then nothing happens
|
|
|
|
|
|
|
|
|
|
Scenario: Snap spaces together
|
2021-10-18 14:15:16 +11:00
|
|
|
Given an empty Blender session
|
2021-10-18 11:21:49 +11:00
|
|
|
And I add a cube
|
|
|
|
|
And I add a cube
|
|
|
|
|
And the object "Cube" is selected
|
|
|
|
|
And additionally the object "Cube.001" is selected
|
|
|
|
|
When I press "bim.snap_spaces_together"
|
|
|
|
|
Then nothing happens
|
2021-10-18 14:15:16 +11:00
|
|
|
|
|
|
|
|
Scenario: Resize to storey
|
|
|
|
|
Given an empty IFC project
|
|
|
|
|
And I add a cube
|
|
|
|
|
And the object "Cube" is selected
|
2025-04-03 16:47:11 +05:00
|
|
|
And I look at the "Class" panel
|
|
|
|
|
And I set the "Products" property to "IfcElement"
|
|
|
|
|
And I set the "Class" property to "IfcWall"
|
|
|
|
|
And I click "Assign IFC Class"
|
2021-10-18 14:15:16 +11:00
|
|
|
And the object "IfcWall/Cube" is selected
|
2025-04-03 16:47:11 +05:00
|
|
|
And I look at the "Spatial Decomposition" panel
|
|
|
|
|
And I select the "My Storey" item in the "BIM_UL_containers_manager" list
|
|
|
|
|
And I click "Set Default"
|
|
|
|
|
# Assign Container.
|
|
|
|
|
And I click "FOLDER_REDIRECT"
|
|
|
|
|
And I look at the "Miscellaneous" panel
|
|
|
|
|
When I click "Resize To Storey"
|
2021-10-18 14:15:16 +11:00
|
|
|
Then nothing happens
|
2021-10-27 12:06:12 +11:00
|
|
|
|
2025-03-23 23:36:19 +11:00
|
|
|
Scenario: Split along edge - boolean mode
|
2021-10-27 12:06:12 +11:00
|
|
|
Given an empty IFC project
|
|
|
|
|
And I add a cube
|
|
|
|
|
And the object "Cube" is selected
|
2025-04-03 17:50:41 +05:00
|
|
|
And I look at the "Class" panel
|
|
|
|
|
And I set the "Products" property to "IfcElement"
|
|
|
|
|
And I set the "Class" property to "IfcWall"
|
|
|
|
|
And I click "Assign IFC Class"
|
2021-10-27 12:06:12 +11:00
|
|
|
And I add a plane of size "4" at "0,0,0"
|
|
|
|
|
And the object "IfcWall/Cube" is selected
|
|
|
|
|
And additionally the object "Plane" is selected
|
2025-03-23 23:36:19 +11:00
|
|
|
And I look at the "Miscellaneous" panel
|
|
|
|
|
When I click "Split Along Edge"
|
2021-10-27 12:06:12 +11:00
|
|
|
Then the object "IfcWall/Cube" is an "IfcWall"
|
|
|
|
|
And the object "IfcWall/Cube.001" is an "IfcWall"
|
2023-08-23 17:29:42 +05:00
|
|
|
|
2025-03-23 23:36:19 +11:00
|
|
|
Scenario: Split along edge - bisect mode
|
2023-08-23 17:29:42 +05:00
|
|
|
Given an empty IFC project
|
2025-03-23 23:36:19 +11:00
|
|
|
And I add a cube
|
|
|
|
|
And the object "Cube" is selected
|
2025-04-03 17:50:41 +05:00
|
|
|
And I look at the "Class" panel
|
|
|
|
|
And I set the "Products" property to "IfcElement"
|
|
|
|
|
And I set the "Class" property to "IfcWall"
|
|
|
|
|
And I click "Assign IFC Class"
|
2025-03-23 23:36:19 +11:00
|
|
|
And I add a plane of size "4" at "0,0,0"
|
|
|
|
|
And the object "IfcWall/Cube" is selected
|
|
|
|
|
And additionally the object "Plane" is selected
|
|
|
|
|
And I look at the "Miscellaneous" panel
|
|
|
|
|
When I click "Bisect At Faces"
|
|
|
|
|
Then the object "IfcWall/Cube" is an "IfcWall"
|
|
|
|
|
And the object "IfcWall/Cube.001" is an "IfcWall"
|
|
|
|
|
|
|
|
|
|
|