Jump to content
ezgi

Intersection points between curves

Recommended Posts

Hello Everyone,

 

I'm just getting started with marionette and I couldn't find a solution to something that I thought would be just another existing node. Maybe I'm not using the correct search words. I'm not sure. I have been trying to retrieve the intersection points between a curve and a set of lines. Like the line-line segment intersect node does but I couldn't see an easy enough way to do it for 2D curves. Can anyone tell me if I'm overlooking something?

Share this post


Link to post

I'm not positive, but it probably doesn't exist yet.

 

I can look into making one, but it may take me some time. 

It's easy to get line intersections since both objects are linear, but with a curve we'll have to extract the equation for the curve.

 

Is your curve a poly or a NURBS?

Share this post


Link to post

Hello Marissa, 

 

Thank you for replying. My curve is a 2D poly in one case and a simple 2D arc in another case that I would have to use the algorithm. I want to extract the intersection points in a list so that I can use them to create a diagonal grid between. I attached the example where I want to intersect lines with an arc for now.

170112_1710_Marionette_Question.vwx

Share this post


Link to post

Thank you Marissa! 

 

I hadn't thought of this solution. It works well for both variations that I need. Really appreciated!!!

 

Cheers!

Share this post


Link to post

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×