View Full Version : Find intersection point of 2 splines
Benek 05-26-2010, 08:58 PM If I have two flat circlular splines sitting on the same plane, is there any way of finding the position or spline offset of the point at which they intersect using Xpresso...?
|
|
Scott Ayers
05-28-2010, 12:37 AM
Since these are circles you can use the distance node and offset it by their radius.
-Create two circle primitives then set them to XZ plane mode and make them editable
-Notice that the default radius of 200 is half of their total diameter of 400. Which can be seen in the "Size" fields of coordinates manager at the bottom of the UI.
-Drag them into the expresso window and use a distance node to get the distance between their axis
-Create subtract nodes for each circle and put their radius values (one positive and one negative) into their second input field. So the distance ends up being calculated where the two circle's intersect, rather than where their axis intersect.
If you want to change the scale of one, or both of the circles later on. Make sure you update it's subtract node to half of the circle's diameter. Which can always be found in the "Size" fields of the coordinates manager.
-ScottA
CGTalk Moderation
05-28-2010, 12:37 AM
This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.
vBulletin v3.0.5, Copyright ©2000-2012, Jelsoft Enterprises Ltd.