mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-13 19:07:57 +00:00
IFC Join - support joining non-ifc Blender objects into representation items
Short demo - https://imgur.com/a/o9MJiIr
This commit is contained in:
@@ -1591,6 +1591,9 @@ class OverrideJoin(bpy.types.Operator, tool.Ifc.Operator):
|
||||
if selected_obj != self.target:
|
||||
tool.Geometry.dissolve_triangulated_edges(selected_obj)
|
||||
joined_ifc_item_objs.append(selected_obj)
|
||||
elif not tool.Ifc.get_entity(selected_obj) and selected_obj.type == self.target_type:
|
||||
# Allow joining with non-ifc Blender objects.
|
||||
pass
|
||||
else:
|
||||
selected_obj.select_set(False)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user