Grasshopper

algorithmic modeling for Rhino

I want to rebuild the rectangular to fit the points above,but my points list is not in the right order.Dose anybody how to fix it?Thx a lot!

Views: 3036

Replies to This Discussion

You could try to sort your points first, use the "Sort Along Curve" tool. This should give you a pointlist that has the right order.

It do really help,thx a lot!

If the Rectangle is a Curve that you can reference in GH then you can use the Sort along Curve component.

Otherwise you can create a circle at the centre of your points (Average them) use the CPCurve component to get the parameter "t" to sort with synchronously.

A more detailed explanation is found here along with other 2d sorting routines: http://www.grasshopper3d.com/forum/topics/how-can-i-sort-in-two-dim...

It works,thx a lot!

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service