algorithmic modeling for Rhino
the "function to split curves by points" you want is called "Shatter" - just provide the t parameters at which you want to split the curves (both CCX and Discontinuities will return the t parameters as an additional output).
Thanks for this answer. This is something I could not have guessed.
Different Rhino and Grasshopper naming for the same thing or does it work differently?
Did you set the Recursive input to false?
As for split-by-points, since most points* are not on the curve, you have to split by curve parameters instead. The [Shatter] component allows you to split a curve into subcurves by providing the splitting parameters. If you have points on or near the curve at which you want to split, you must first figure out which parameters on the curve are closest to those points. You can do so with the [Curve Closest Point] component.
* to a first approximation all points.
Dear David,
I was to quick with my conclusion that it works.
Not all polycurves are 'exploded'.
Hope there is a better solution. The combination of [Discontinuity]-[Curve Closest Point]-[Shutter] does not provide a split at the point where the curves are joined at an earlier stage , at least not for all solutions.
Cheers,
Bas
Mooi!
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by