In Rhino screen there are 5 faces of the mesh but why the faces shows 16 faces on the grasshopper’s panel?Could anyone explain it?Because I want to use hexagon mesh to be the form finding basement. @DanielPiker
triremesh.gh (7.9 KB)
In Rhino screen there are 5 faces of the mesh but why the faces shows 16 faces on the grasshopper’s panel?Could anyone explain it?Because I want to use hexagon mesh to be the form finding basement. @DanielPiker
triremesh.gh (7.9 KB)
A mesh face is usually a triangle. What you see on your screenshot are ngons.
When you bake it and run _DeleteMeshNgons, the result looks like this:
Got it, but can it display the “Count of Closed Meshes” in Grasshopper? And why is a planar NGon automatically subdivided into multiple triangles?
The dual creates a perpendicular edge between two adjacent vertices. I think that the desired output of the dual is an ngon. Using just native tools, the Face Boundaries component shows you the number of closed polylines.
triremesh.gh (20.1 KB)
Btw, the Tangent Circles component in the Kangaroo tab has a dual output that outputs polylines…
I see, it seems an extra step is required. Thank you.
To add to this - Ngons are internally always just groups of triangular/quad mesh faces. There is no way in Rhino to create actual faces with more than 4 sides. The face count you see when hovering over a mesh parameter component in Grasshopper reflects this. As Martin says - the Face Boundaries component can be an easy way to get the Ngon count.
https://developer.rhino3d.com/api/rhinocommon/rhino.geometry.mesh/ngons