Grasshopper

algorithmic modeling for Rhino

about delaunay componet, how to get each triangle geometry instead of individual edges?

 

 

This the outcome of "delaunay" component with giving points. The result of that is individual edges. However, what I want to do with triangulation is to get each triangle at first, then try to add another algorithm within each triangle. So I want the result data is based on the triangle. How can I get that?

Views: 2367

Replies to This Discussion

What about using the Delaunay Mesh component to get mesh faces then the Explode BRep Component to get individual faces and then Brep Edges to get all of the edges for one triangle. I've written this without trying it first so along the way you might find one of the outputs of these components gives you what you want anyway.
How can I get the edges from single mesh face?
use the decompose face component and plug the vertices into a srf4pt component then use the Brep Edges component found in curve>analysis
thanks for your help, but I still confused about that, if i use decompose face component and use output of vertices , the outcome will be the 8 points in the pics I show previously, if i use the output of face, I can get the individual face, then I try "Vertices(face vertices)" component and get the index of vertices instead of points info. How can I get the points data?
Sorry I've now had a chance to look at it in GH

Edit: you cen then use the Join Curves Component to get an easily managed Polyline
thank u so much.....!!!
You can get the mesh face information with a [Decompose Mesh] component, then get at the face corner indices with a [Face Vertices] component. This gives you for all the triangles the indices of the points that define the corners. So you can go back to your original point-list, extract the points in the right order and run polylines through them (per attached).

--
David Rutten
david@mcneel.com
Poprad, Slovakia
Attachments:
Man I need some sleep!

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