Grasshopper

algorithmic modeling for Rhino

Hi everyone,

I'm looking for a way to extract points and normals from a mesh (not a surface).

I installed MeshEdit's NakedEdge function, but that only provides the points.

I guess I could calculate all the normals using the 4 surrounding points of one point (it's a quad-based mesh).

But the points that are exported from the NakeEdge function are not well sorted, they are seemingly randomly organized over the mesh.

Is there a function that can sort them in a better way? I tried Sort Pt but that resulted in a similar 'random' pattern.

For comparison, using SDivide you can create a points and normals grid on a surface. I would like to do the same thing with a mesh.

By the way, the MeshEdit Extract Attributes function didn't extract anything. Maybe this function could help?

Thanks for any help!
Fernano

Views: 3451

Replies to This Discussion

Which points do you want the normals for?  Decompose will give you all of the mesh vertices as points, along with the normals at each vertex.  If you've installed UTO's meshedit, then that along with all of the native mesh analysis components give you a variety of ways of extracting normal information, either for the mesh's own vertices or for nearby points. 

Thank you David, I didn't know this function, it was there all along...

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service