mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-23 12:42:36 +00:00
Users can no longer create orphaned opening elements, which are invalid.
This commit is contained in:
@@ -15,34 +15,6 @@ Scenario: Add an opening
|
||||
Then the object "Cube" does not exist
|
||||
And the object "IfcWall/Cube" is voided by "Cube"
|
||||
|
||||
Scenario: Add an opening on an opening
|
||||
Given an empty IFC project
|
||||
And I add a cube
|
||||
And the object "Cube" is selected
|
||||
And I set "scene.BIMRootProperties.ifc_class" to "IfcOpeningElement"
|
||||
And I press "bim.assign_class"
|
||||
And I add a cube
|
||||
And the object "Cube" is selected
|
||||
And I set "scene.BIMRootProperties.ifc_class" to "IfcOpeningElement"
|
||||
And I press "bim.assign_class"
|
||||
And the object "IfcOpeningElement/Cube" is selected
|
||||
And additionally the object "IfcOpeningElement/Cube.001" is selected
|
||||
When I press "bim.add_opening"
|
||||
Then the object "IfcOpeningElement/Cube" is not a void
|
||||
And the object "IfcOpeningElement/Cube.001" is not a void
|
||||
|
||||
Scenario: Add an opening on a non IFC object
|
||||
Given an empty IFC project
|
||||
And I add a cube
|
||||
And the object "Cube" is selected
|
||||
And I set "scene.BIMRootProperties.ifc_class" to "IfcOpeningElement"
|
||||
And I press "bim.assign_class"
|
||||
And I add a cube
|
||||
And the object "Cube" is selected
|
||||
When I press "bim.add_opening"
|
||||
Then the object "IfcOpeningElement/Cube" is not a void
|
||||
And the object "Cube" is not an IFC element
|
||||
|
||||
Scenario: Add an opening using the BIM tool
|
||||
Given an empty IFC project
|
||||
And I add a cube
|
||||
|
||||
Reference in New Issue
Block a user