Grasshopper

algorithmic modeling for Rhino

David

 

would it be possible for you to include a "Shatter curve by points" component in the near future? i.e. based on user defined points lying on a curve, a curve can be shattered in to individual segments at the points. This would be an easier way of defining curve segments instead of having to define a length or relative length along the curve,

 

cheers

 

Views: 2834

Replies to This Discussion

Hi Duck,

the shatter component uses curve parameters. So to go from 3dpoints to shatter, you should only have to insert a Curve CP in between. Or am I confused?

--
David Rutten
david@mcneel.com
Poprad, Slovakia
Attached images showing problem. Sk-001 curve with points defined along its length. I want to shatter this polyline curve into striaght line segments where the points exist. These points are user defined and so not necessarily represent equal divisions. Sk-002 shows the current shatter component. The input t accepts integer values only and not Point3d inputs. Obvioulsy I could explictley break this curve up using the rhino Split command. May be a plit component would be useful in grasshopper?

SK001



SK002


the 't' input accepts a list of numbers which are parameters along the curve. CrvCP as David pointed out allows you to go from a Point in 3d space to a point relative to some parameter t along the curve you supply.

Now you have many curves, and many points. You might want to test out the abilities of the CrvCP component with so many curves and pts...
gotcha, now what would be nice if we can filter out the t values where the distance is greater than 0 - i.e. for cases where a cloud of points has instances where a point does not lie on the curve we ignore them so the shattered curve is defined only by points on its length
Ok, i managed to select only those t points where the distance is equal to zero and tehn shatter the plylien based on that, i love gh............



RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service