Grasshopper

algorithmic modeling for Rhino

Dear All, 

I have a simple perhaps a bit stupid question. (I am sorry)

I have four points which were created through a intersection between four curves.

Now I wanted to build a rectangle, ( polyline through the mentioned points) the order of the points is reversed which you can see in the screenshots.

3-1 2-0 

How can I change the order that I get 3 - 2 - 2 -1 - 0. To get my rectangle ?!!

Many thanks in advice!

Best, 

Leonie 

Views: 2010

Attachments:

Replies to This Discussion

Classic sort points along curve stuff that one.

See the also classic solution attached.

BTW: NOT all cases (i.e. point collections) can been "ordered" that way.

Attachments:

Dear Peter, 

Thank You for the fast and useful answer, it works perfect.

Best, 

Leonie 

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service