New feature to calculate side formwork, such as for columns.

This commit is contained in:
Dion Moult
2021-10-27 10:09:07 +11:00
parent 341451f59b
commit f64e1dbd7f
5 changed files with 45 additions and 8 deletions
+9 -1
View File
@@ -29,7 +29,7 @@ Scenario: Calculate object volumes
When I press "bim.calculate_object_volumes"
Then "scene.BIMQtoProperties.qto_result" is "8.0"
Scenario: Calculate formwork areas
Scenario: Execute qto method - formwork areas
Given an empty Blender session
And I add a cube
And I add a cube of size "1" at "1,0,0"
@@ -38,3 +38,11 @@ Scenario: Calculate formwork areas
When I set "scene.BIMQtoProperties.qto_methods" to "FORMWORK"
And I press "bim.execute_qto_method"
Then "scene.BIMQtoProperties.qto_result" is "21.5"
Scenario: Execute qto method - side formwork areas
Given an empty Blender session
And I add a cube
And the object "Cube" is selected
When I set "scene.BIMQtoProperties.qto_methods" to "SIDE_FORMWORK"
And I press "bim.execute_qto_method"
Then "scene.BIMQtoProperties.qto_result" is "16.0"
+5 -5
View File
@@ -38,7 +38,7 @@ Scenario: Add an opening on an opening
Then the object "IfcOpeningElement/Cube.001" has no boolean difference by "IfcOpeningElement/Cube"
And the object "IfcOpeningElement/Cube.001" is not voided by "Cube"
Scenario: Add an opening on a null object
Scenario: Add an opening on a null object
Given an empty IFC project
And I add a cube
When the object "Cube" is selected
@@ -89,11 +89,11 @@ Scenario: Add an opening to Element B with a void that already voids Element A
And I press "bim.assign_class"
And I press "bim.add_opening(opening='IfcOpeningElement/Cube', obj='IfcWall/Cube.001')"
Then the object "IfcWall/Cube" is not voided
And the object "IfcWall/Cube" has no boolean difference by "IfcOpeningElement/Cube"
And the object "IfcWall/Cube" has no boolean difference by "IfcOpeningElement/Cube"
And the object "IfcWall/Cube.001" is voided by "Cube"
And the object "IfcWall/Cube.001" has a boolean difference by "IfcOpeningElement/Cube"
And the object "IfcWall/Cube.001" has a boolean difference by "IfcOpeningElement/Cube"
Scenario: Remove an opening
Scenario: Remove an opening
Given an empty IFC project
And I add a cube
When the object "Cube" is selected
@@ -108,7 +108,7 @@ Scenario: Remove an opening
Then the object "IfcWall/Cube" has no boolean difference by "IfcOpeningElement/Cube"
And the object "IfcWall/Cube" is not voided by "Cube"
And the object "Cube" is not an IFC element
Scenario: Remove a non dynamic opening manually
Given an empty IFC project
And I add a cube