| 1 |
@misc |
| 2 |
Feature: Misc |
| 3 |
|
| 4 |
Scenario: Set override colour |
| 5 |
Given an empty Blender session |
| 6 |
And I add a cube |
| 7 |
And the object "Cube" is selected |
| 8 |
When I press "bim.set_override_colour" |
| 9 |
Then nothing happens |
| 10 |
|
| 11 |
Scenario: Snap spaces together |
| 12 |
Given an empty Blender session |
| 13 |
And I add a cube |
| 14 |
And I add a cube |
| 15 |
And the object "Cube" is selected |
| 16 |
And additionally the object "Cube.001" is selected |
| 17 |
When I press "bim.snap_spaces_together" |
| 18 |
Then nothing happens |
| 19 |
|
| 20 |
Scenario: Resize to storey |
| 21 |
Given an empty IFC project |
| 22 |
And I add a cube |
| 23 |
And the object "Cube" is selected |
| 24 |
And I set "scene.BIMRootProperties.ifc_product" to "IfcElement" |
| 25 |
And I set "scene.BIMRootProperties.ifc_class" to "IfcWall" |
| 26 |
And I press "bim.assign_class" |
| 27 |
And the object "IfcWall/Cube" is selected |
| 28 |
And the variable "storey" is "tool.Ifc.get().by_type('IfcBuildingStorey')[0].id()" |
| 29 |
And I press "bim.set_default_container(container={storey})" |
| 30 |
And I press "bim.assign_container(container={storey})" |
| 31 |
When I press "bim.resize_to_storey(total_storeys=1)" |
| 32 |
Then nothing happens |
| 33 |
|
| 34 |
Scenario: Split along edge |
| 35 |
Given an empty IFC project |
| 36 |
And I add a cube |
| 37 |
And the object "Cube" is selected |
| 38 |
And I set "scene.BIMRootProperties.ifc_product" to "IfcElement" |
| 39 |
And I set "scene.BIMRootProperties.ifc_class" to "IfcWall" |
| 40 |
And I press "bim.assign_class" |
| 41 |
And I add a plane of size "4" at "0,0,0" |
| 42 |
And the object "IfcWall/Cube" is selected |
| 43 |
And additionally the object "Plane" is selected |
| 44 |
When I press "bim.split_along_edge" |
| 45 |
Then the object "IfcWall/Cube" is an "IfcWall" |
| 46 |
And the object "IfcWall/Cube.001" is an "IfcWall" |
| 47 |
|
| 48 |
Scenario: Enabling and disabling IFC Sverchok |
| 49 |
Given an empty IFC project |
| 50 |
And I press "preferences.addon_enable(module="sverchok")" |
| 51 |
And I press "preferences.addon_enable(module="ifcsverchok")" |
| 52 |
And I press "preferences.addon_disable(module="sverchok")" |
| 53 |
And I press "preferences.addon_disable(module="ifcsverchok")" |