Grasshopper

algorithmic modeling for Rhino

Hi everyone,

I have a rectangular shape and I created the points in the vertices and another 3 points on each side, and I need to connect them with a polyline but the points are not connected in the sequence that I want. How can I change it? the points at the vertices are individual pointsinstead the points on the sides are located in two lists each containing six points.
Thanks in advance

Views: 833

Replies to This Discussion

First try the classic:

1. Get a plane fit to (all) points.

2. Get a Sphere also fit to (all) points.

3. Get the intersection (Circle, that is).

4. Sort the points along the Circle (as Curve).

Here's a primitive demo on that case (witch is always solvable unlike 1M other cases that require ... er ... other ways [mostly via code] to skin the cat: like using a concave boundary etc etc ).

That said there's another 1M cases that are ...hmm... unsolvable.

Attachments:

Thank you for your reply! I have used the first solution that you suggested me and it works! thanks again!

And here's a variation that I use (among many others) for training my people.

For the moment don't bother how the random points are randomized "again" (the option using the freaky "component", that is) since this is totally irrelevant: just play with the sliders and exploit the possibilities.

Attachments:

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service