algorithmic modeling for Rhino
Greetings ,
I have build up this definition from a tutorial about curves intersections , it has tow stages :
1-The first stage is about removing intersections at end point of the curves (through culling similar path indexes ) , then removing those from the main list through tree branch.
2-The tutorial stopped at this point where we end up where we had duplicated points of the intersections so I went on and tried to solve an algorithm to remove duplicated points .
My question is :
-Is there a way to fix the definition in order to make it more dynamic incase I had more than three intersecting curves , without the need to manually change it ?
Thanks alot . :)
Tags:
Hi.
If you just try to harvest intersecting points without duplication, then there is a dedicated component named "Multiful Curves".(MCX)
Intersect-->Physical-->Multiful Curves
Yes , but I guess the guy in the tutorial avoided using this component because he wanted to have each curve intersection points be on a separate list .
But thanks for the reply
Intersection points in individual lists will have duplicate points anyway.
Just expanding on that a little.... if you want to take it to the end, you just cross-reference the path indices to do the union intersection (as strict).
The final branch path numbers differ to your original file (because the ordering of the cross reference is less manual.) but it is producing the same lists from the input curves I have tested it with.
Nice . Thanks Julian .
I guess the mistake in my solution is I was not able to keep three separate lists .
Yet,one thing I did not understand is the clustered element "Cheery Picker" . I guess it is intended to show the curve when we select its index number from the number slider .
But the login within the cluster I did not understand ,if you could please explain it to me I would appreciate it ?
The components inside the cherry picker cluster really just cycles through numbers for a given range. (A bit like wrap indices). I should have added an |absolute| in their as well to catch negative values on the slider...(The select Path component doesn't like it when a path isn't present so all the cherry picker cluster is doing is making the '0 To nLines' indices wrap around regardless of the value on the input slider you have. that means it can be plugged in to both the List and the tree path component and demonstrate the two are coherent.
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