Grasshopper

algorithmic modeling for Rhino

# Union of two points with a line

I have a curve that is divided into 30 parts (for example) and i want to draw a line between the points: 0 and 30, 1 and 29, 2 and 28, 3 and 27, 4 and 26,...etc. I made it "manually" with a lot of list item (see the image), is it possible to do this in another way (quickly) ?
Is it possible to divide that curve into 2 separate curves using a point that i've used for the division?
Thanks

Views: 1818

Attachments:

### Replies to This Discussion

This is about as simple as I can solve it. You still get double lines, but that shouldn't be too hard to solve.

--
David Rutten
david@mcneel.com
Better solution:

--
David Rutten
david@mcneel.com
thank you, and is it possible to separate that curve whit a point? like "Trim whit region" but i have a point.
You'll need to know the curve parameter where you want to cut. Once you have the parameter on the curve that is closest to your point, you can use SubCurve or Shatter to split the curve.

--
David Rutten
david@mcneel.com
Thank you very much! You're of great help to me!