2022-01-10 10:45:46 +11:00
|
|
|
@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"
|
2023-03-02 10:42:19 +05:00
|
|
|
And I evaluate expression "os.remove('{cwd}/test/files/test.exp.cache.dat')"
|
2022-01-10 10:45:46 +11:00
|
|
|
Then nothing happens
|
2022-11-04 17:02:57 +11:00
|
|
|
|
|
|
|
|
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
|
2025-06-30 18:08:24 +05:00
|
|
|
|
|
|
|
|
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
|