Files
IfcOpenShell/src/blenderbim/test/bim/feature/brick.feature
T

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

52 lines
1.9 KiB
Gherkin
Raw Normal View History

2021-11-04 18:02:50 +11:00
@brick
Feature: Brick
Scenario: Load Brick project
Given an empty Blender session
2021-11-05 09:19:42 +11:00
When I press "bim.load_brick_project(filepath='{cwd}/test/files/spaces.ttl')"
2021-11-04 18:02:50 +11:00
Then nothing happens
Scenario: View Brick class
Given an empty Blender session
2021-11-05 09:19:42 +11:00
And I press "bim.load_brick_project(filepath='{cwd}/test/files/spaces.ttl')"
2021-11-04 18:02:50 +11:00
When I press "bim.view_brick_class(brick_class='Equipment')"
Then nothing happens
Scenario: View Brick item
Given an empty Blender session
2021-11-05 09:19:42 +11:00
And I press "bim.load_brick_project(filepath='{cwd}/test/files/spaces.ttl')"
2021-11-04 18:02:50 +11:00
When I press "bim.view_brick_item(item='https://brickschema.org/schema/Brick#Chiller')"
Then nothing happens
Scenario: Rewind brick class
Given an empty Blender session
2021-11-05 09:19:42 +11:00
And I press "bim.load_brick_project(filepath='{cwd}/test/files/spaces.ttl')"
2021-11-04 18:02:50 +11:00
And I press "bim.view_brick_class(brick_class='Equipment')"
When I press "bim.rewind_brick_class()"
Then nothing happens
Scenario: Close Brick project
Given an empty Blender session
2021-11-05 09:19:42 +11:00
And I press "bim.load_brick_project(filepath='{cwd}/test/files/spaces.ttl')"
2021-11-04 18:02:50 +11:00
When I press "bim.close_brick_project"
Then nothing happens
Scenario: Convert brick project
Given an empty IFC project
And I press "bim.load_brick_project(filepath='{cwd}/test/files/spaces.ttl')"
When I press "bim.convert_brick_project"
Then nothing happens
Scenario: Assign brick reference
Given an empty IFC project
And I press "bim.load_brick_project(filepath='{cwd}/test/files/spaces.ttl')"
And I press "bim.view_brick_item(item='https://brickschema.org/schema/Brick#Chiller')"
And I add a cube
And the object "Cube" is selected
And I set "scene.BIMRootProperties.ifc_class" to "IfcChiller"
And I press "bim.assign_class"
And the object "IfcChiller/Cube" is selected
And I press "bim.convert_brick_project"
When I press "bim.assign_brick_reference"
Then nothing happens