Geometry Nodes - Mesh to points - Expose face points -
when we do a mesh to points node (faces) , and then do instances on points - we don't have the data about the face corners, so actual parametric modeling is very tricky at the moment.
we need p1-p2-p3 are the minimum number of points to define a face p4 (if it exists) is returned as well, if it does not exist, -1 is returned
Ngons - could be used if a 'pre-triangulate ngons' checkbox is added
p1= face.vertices[0]
p2= face.vertices[1]
p3= face.vertices[2]
if len(face.vertices)>3:
p4 = face.vertices[3]
else:
p4 = -1
0 Comments