algorithmic modeling for Rhino
You need to set the "Type Hint" to either Point3d or No Type Hint.
Also, you need to change the Access Type to List Access.
I think the MeshFaces being output from Mesh Decompose Component are not compatible with face_vertices for AddMesh function. You need something like this
_face_vertices=[]
for face in face_vertices:
if face.IsQuad:
_face_vertices.append((face.A,face.B,face.C,face.D))
else:
_face_vertices.append((face.A,face.B,face.C))
_face_vertices and face_vertices are different thing. first one is a new list and the second one is the input parameter.
_face_vertices=[] #new list
for face in face_vertices: #loop over input list
if face.IsQuad:
_face_vertices.append((face.A,face.B,face.C,face.D)) #add new vertices list to the "new" list
else:
_face_vertices.append((face.A,face.B,face.C))
Welcome to
Grasshopper
© 2025 Created by Scott Davidson.
Powered by