mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-20 06:58:56 +00:00
Fixed double conversion in bim tool props after b4b6404
No more 1000000 and 3000000 mm values
This commit is contained in:
@@ -133,8 +133,8 @@ class Project(blenderbim.core.tool.Project):
|
|||||||
def set_default_modeling_dimensions(cls):
|
def set_default_modeling_dimensions(cls):
|
||||||
props = bpy.context.scene.BIMModelProperties
|
props = bpy.context.scene.BIMModelProperties
|
||||||
unit_scale = ifcopenshell.util.unit.calculate_unit_scale(tool.Ifc.get())
|
unit_scale = ifcopenshell.util.unit.calculate_unit_scale(tool.Ifc.get())
|
||||||
props.extrusion_depth = 3 / unit_scale
|
props.extrusion_depth = 3
|
||||||
props.length = 1 / unit_scale
|
props.length = 1
|
||||||
props.rl1 = 0
|
props.rl1 = 0
|
||||||
props.rl2 = 1 / unit_scale
|
props.rl2 = 1 / unit_scale
|
||||||
props.x = 0.5 / unit_scale
|
props.x = 0.5 / unit_scale
|
||||||
|
|||||||
Reference in New Issue
Block a user