Curve Through Points Grasshopper User Object

crvthroup

A week ago I have put together some lines of code into a GH User Object, due to this particular discussion on the Grasshopper forum. This small C# script implements the SortAndCullPointList() property of Point3d in the rhino SDK. What this script basically does is to create a curve through a set of points by organizing them in a rationalised order (also by culling some of the points) rather than creating the curve by retrieving the index of each point in the list. I am not quite sure of what is, a contributing or innovative use of this command, but I am going to give it some thought. At least some people seem to find it rather important.

Different tolerance values

You can download the GH User from the usual page. Please do not hesitate to drop me a line if you have used this routine in engaging and interesting way.

ctp001_m

Here is also a small example!

Enjoy.

ctp_definition

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s