Elisa Berrini's Discussions
Hi,I am using the openNurbs tool with Rhino on a simple mesh.I would like to know : - the coordinates of the points of the mesh, - for each triangle of the mesh, the vertex points, - and finally,…Continue
Tags: mesh, surface, openNurbs
Started this discussion. Last reply by Elisa Berrini May 9, 2012.
Comment Wall (1 comment)
You need to be a member of Rhino Community to add comments!
Join Rhino Community
Hi Elisa,
I am trying to convert Rhino file format to my mesh generator file format. I found out that the script in "example_read" is very useful, as it contain the way to display the information I need as the points coordinates, the mesh faces vertex. However, I don't understand very well the counting process. I based my tries on the following Rhino design : a 3d box, with 8 vertex, with a triangulation of the surface. The "example_read" output gave my "ON_Mesh: vertex count = 24 facet count = 12". For the 12 facet, it is right (I dived each face of the box in 2 triangles), but why 24 vertex ? I checked the coordinates of those 24 vertex, and I found that each point of my box is listed 3 times.
Rhino generates meshes with unwelded vertices - each faces has its own set of vertices. Rhino's Weld command will merges coincident mesh vertices from separate faces into one vertex. The effect is to smooth the edges in shaded or rendered views.
Also, these type of questions are better posted on the openNURBS newsgroup (news://news.rhino3d.com/opennurbs) - thanks!
-- Dale