algorithmic modeling for Rhino
I am trying to divide multiple curves with a given distance. The curves are not ideal in length so sometimes the end point is not created. So I created it using end points and the culling the duplicates.
Now I wanted to generate perpendicular lines from each point to its own curve.
For this I though about CP component for reorganizing my data structure and matching the curves structure. But it failed...
This is the result:
Its strange, shouldn't CP just compute all curves and choose the closest one despite any data structure? I really don't understand why its behaving like this.
Thank you in advance for any help
as a start, you only need the end point (use weave component rather than merge)
no need to the start point or to remove duplicate
I didn't understand the rest
Mmm, curiously enough all curves seem to be in the same direction, so you are right.
Still, the next step involves making perpendicular lines to these points. So for the PerpFrame component I need the t parameter, and the ClosestPoint generates these t params I need....
Thats it! Thank you both very much!
PD: Hyungsoo, I will use the cross product to get perp directions more often from now on! Thanks.