mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +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_z_axis=z_axis,
|
||||
)
|
||||
else:
|
||||
item = builder.extrude(curve, magnitude=0.5 / unit_scale)
|
||||
|
||||
representation = builder.get_representation(ifc_context, [item])
|
||||
ifcopenshell.api.geometry.assign_representation(tool.Ifc.get(), element, representation)
|
||||
|
||||
Reference in New Issue
Block a user