ifcsverchok - polyline node

Demo - https://files.catbox.moe/azv66e.mp4
This commit is contained in:
Andrej730
2026-01-22 19:30:23 +05:00
parent 523bcf3443
commit d4d10b2eb5
3 changed files with 55 additions and 0 deletions
@@ -52,6 +52,7 @@ class SvSbShapeOutput(bpy.types.Node, SverchCustomTreeNode, helper.SvIfcCore):
def create(self, entity: ifcopenshell.entity_instance) -> None:
assert bpy.context.scene
settings = ifcopenshell.geom.settings()
settings.set("dimensionality", ifcopenshell.ifcopenshell_wrapper.CURVES_SURFACES_AND_SOLIDS)
shape = ifcopenshell.geom.create_shape(settings, entity)
assert isinstance(shape, W.Triangulation)
self.verts = ifcopenshell.util.shape.get_vertices(shape).tolist()