Grasshopper

algorithmic modeling for Rhino

Created: 2011-02-02

By: Danny Boyes

GH Version: 0.8.0004


INPUT: 3D list of Points, Guidance Plane

OUTPUT: Re-ordered 3D List of Points


PerimeterSort.GHX is a collection of standard GH components that allows the user to sort a list of non-planar points around a perimeter with no unwanted crossings in the guidance plane.

Also added to: http://www.parametricmodel.com/index.php

Views: 5917

Attachments:

Replies to This Discussion

Thanks Danny,

 

Very handy.

 

David.

very clever! love it.

Thanks for posting,

 

Very useful.

 

Matt

Hey!

I didn't know about the parametricmodel.com blog!!!! This is really worth passing the news on and keeping up uploading!

Cheers
Evert

It's a fun little problem. Here's another solution that could be useful, depending on circumstance.

 

 

Attachments:
Nice variation.

Just used this. Very nice. Thank you.

Hi Danny, would there somehow be a way to apply this to lines, like in Noah Lee's question:
http://www.grasshopper3d.com/forum/topics/extract-outline-from-cros...
?

I'd say, for this example, yes. You could calculate the intersections and rebuild the boundary.

 

But note for this example the Convex Hull Component would do the same thing because there are no reflex angles between outer points.

Okay, thanks for looking into this Danny. It seems the lines themselves still have to be ordered in a circular way, right? Isn't there a way to sort the lines?

Here is a boundary-less solution:

Attachments:

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service