mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-24 05:17:58 +00:00
fix black format
This commit is contained in:
@@ -55,7 +55,6 @@ def update_elevation(self, context):
|
|||||||
if obj := tool.Ifc.get_object(entity):
|
if obj := tool.Ifc.get_object(entity):
|
||||||
unit_scale = ifcopenshell.util.unit.calculate_unit_scale(tool.Ifc.get())
|
unit_scale = ifcopenshell.util.unit.calculate_unit_scale(tool.Ifc.get())
|
||||||
obj.matrix_world[2][3] = elevation * unit_scale
|
obj.matrix_world[2][3] = elevation * unit_scale
|
||||||
print('editing!')
|
|
||||||
bonsai.core.geometry.edit_object_placement(tool.Ifc, tool.Geometry, tool.Surveyor, obj)
|
bonsai.core.geometry.edit_object_placement(tool.Ifc, tool.Geometry, tool.Surveyor, obj)
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user