mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-28 15:53:00 +00:00
fc10915d2b
Moved it to `TYPE_CHECKING` since it's currently used just for typing. Was breaking validation in Bonsai since it doesn't provide all submodules with IfcOpenShell https://github.com/IfcOpenShell/IfcOpenShell/issues/6723#issuecomment-3016223786 Also added a simple test so github workflow would catch a simple error like this.
35 lines
1.1 KiB
Gherkin
35 lines
1.1 KiB
Gherkin
@debug
|
|
Feature: Debug
|
|
|
|
Scenario: Select express file
|
|
Given an empty Blender session
|
|
When I press "bim.select_express_file(filepath='{cwd}/test/files/test.exp')"
|
|
Then nothing happens
|
|
|
|
Scenario: Parse express
|
|
Given an empty Blender session
|
|
And I press "bim.select_express_file(filepath='{cwd}/test/files/test.exp')"
|
|
When I press "bim.parse_express"
|
|
And I evaluate expression "os.remove('{cwd}/test/files/test.exp.cache.dat')"
|
|
Then nothing happens
|
|
|
|
Scenario: Use the inspector - inspect from STEP ID
|
|
Given an empty Blender session
|
|
And I press "bim.create_project"
|
|
When I set "scene.BIMDebugProperties.active_step_id" to "1"
|
|
And I press "bim.inspect_from_step_id(step_id=1)"
|
|
Then nothing happens
|
|
|
|
Scenario: Use the inspector - inspect from object
|
|
Given an empty Blender session
|
|
And I press "bim.create_project"
|
|
When the object "IfcProject/My Project" is selected
|
|
And I press "bim.inspect_from_object"
|
|
Then nothing happens
|
|
|
|
Scenario: Run IFC validation
|
|
Given an empty IFC project
|
|
And I load the demo construction library
|
|
And I press "bim.validate_ifc_file"
|
|
Then nothing happens
|