mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 09:32:37 +00:00
This commit is contained in:
@@ -644,6 +644,8 @@ class AddElement(bpy.types.Operator, tool.Ifc.Operator):
|
|||||||
position_x_axis=tuple(local_x),
|
position_x_axis=tuple(local_x),
|
||||||
position_z_axis=z_axis,
|
position_z_axis=z_axis,
|
||||||
)
|
)
|
||||||
|
else:
|
||||||
|
item = builder.extrude(curve, magnitude=0.5 / unit_scale)
|
||||||
|
|
||||||
representation = builder.get_representation(ifc_context, [item])
|
representation = builder.get_representation(ifc_context, [item])
|
||||||
ifcopenshell.api.geometry.assign_representation(tool.Ifc.get(), element, representation)
|
ifcopenshell.api.geometry.assign_representation(tool.Ifc.get(), element, representation)
|
||||||
|
|||||||
Reference in New Issue
Block a user