Grasshopper

algorithmic modeling for Rhino

Spcify in which order to conect points Polyline

Hello people, Im trying to create a polyline from 3 vertices. Thing is the component chooses the vertices in the order it pleases instead of the one I need. How can I can change this behavior? To match the yellow lines in the screenshot.

Thanks for the Insight

Shynn

Result                                                                     Desired Result 

Views: 622

Attachments:

Replies to This Discussion

There's a Face Boundaries component which will already output triangular polylines for each mesh face, perhaps that will make your life easier?

If not, you'll have to (for each triangle) extract the correct point from the list of end-points. I attached one possible solution about how to do this.

Attachments:

Thanks David, gonna go with your second solution as that's exactly what I was trying to achieve and suits the flow of the "system" better. 

Shynn

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