mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-09 21:53:40 +00:00
Fixed bug with double conversion of height/extrusion length #3073
Also fixed some tests
This commit is contained in:
@@ -127,8 +127,8 @@ class TestSetDefaultModelingDimensions(NewFile):
|
||||
ifcopenshell.api.run("unit.assign_unit", ifc)
|
||||
subject.set_default_modeling_dimensions()
|
||||
props = bpy.context.scene.BIMModelProperties
|
||||
assert props.extrusion_depth == 3000
|
||||
assert props.length == 1000
|
||||
assert props.extrusion_depth == 3
|
||||
assert props.length == 1
|
||||
assert props.rl1 == 0
|
||||
assert props.rl2 == 1000
|
||||
assert props.x == 500
|
||||
|
||||
Reference in New Issue
Block a user