mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-12 14:33:28 +00:00
See #1227. Enable layerset slicing.
This commit is contained in:
@@ -1017,8 +1017,6 @@ class Loader(bonsai.core.tool.Loader):
|
|||||||
|
|
||||||
@classmethod
|
@classmethod
|
||||||
def slice_layerset_mesh(cls, element: ifcopenshell.entity_instance, mesh: bpy.types.Mesh) -> bpy.types.Mesh:
|
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)):
|
if not (material := ifcopenshell.util.element.get_material(element)):
|
||||||
return mesh
|
return mesh
|
||||||
elif material.is_a("IfcMaterialLayerSetUsage"):
|
elif material.is_a("IfcMaterialLayerSetUsage"):
|
||||||
|
|||||||
Reference in New Issue
Block a user