Grasshopper

algorithmic modeling for Rhino

I'm trying to produce a series of points that are ordered (clock wise or anti clock wise - the direction doesn't matter) and it would be reasonable from the geometry that I already have to consider using vertices extracted from a brep.

However, after running into problems with using the sequenced points that are produced from a brep (ie. Brep.DuplicateVertices) it seemed reasonable to explore the use of brep edge curves (that are joined to control for direction) however I cannot find a simple way to extract the vertices of a joined curve. 

If anyone has suggestions I would be extremely grateful to receive them.

Views: 1175

Replies to This Discussion

You can use the curve parameter to sort the points. I attached the Grasshopper version which can be coded in C#.

Attachments:

Mostapha,

I had developed a more complicated method and will substitute it for your suggestion!

Thank you.

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service