See #1227. Enable layerset slicing.

This commit is contained in:
Dion Moult
2025-03-07 19:03:45 +11:00
parent 7dee888ecf
commit 2b9e3d2a2e
-2
View File
@@ -1017,8 +1017,6 @@ class Loader(bonsai.core.tool.Loader):
@classmethod
def slice_layerset_mesh(cls, element: ifcopenshell.entity_instance, mesh: bpy.types.Mesh) -> bpy.types.Mesh:
if True: # This feature is still experimental
return mesh
if not (material := ifcopenshell.util.element.get_material(element)):
return mesh
elif material.is_a("IfcMaterialLayerSetUsage"):