algorithmic modeling for Rhino
Tags:
Hi Victor!
Since sometimes I needed this function too, I've made a user object.
(drop the .ghuser file inside C:\Users\you\AppData\Roaming\Grasshopper\UserObjects
or faster, in GH go to File > Special Folders > User Object Folder
It'll pop in the last tab "User" in the GH UI)
It have some tolerances, because a "splitting point" is impossible to be always exactly at distance=0 to target curve, so I've used Curve Closest Point component to find the point (or better, the parameter) to make fragments then, but this is obvious....
Cluster inputs:
- List of splitting points (will be flattened > no support for trees)
- List of curves to be splitted (will be flattened > no support for trees)
- Distance: point too far away from curve will not split (0.0001 units as default)(flattened input and taken first value)
- Boolean: If true (default) points split EVERY curves within distance, if false only the nearest curve within distance
Cluster output:
- List of curves, new splitted curves (fragments joined) replaces original curves to keep original list order. If fragment needed, explode output curves.
If you got any problem, let me know...
bye :D
hello riccardo,
your discription sounds great, its exactly what i am looking for.
but i have one problem: the curves that i want to split are polylines. as you join the fragments after splitting, the result is one closed polyline again. is it possible to switch off the final joining?
long time ago, hope you still see this discussion!
cheers r
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
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by