Skip to main content
Question

Make an OffsetCurveGenerator pass through a point

  • September 14, 2020
  • 1 reply
  • 8 views

Forum|alt.badge.img+1

Hello

As shown in the drawing, I would like to have another curve parallel (2) that goes through 2 points at the same distance each from the original.

The whole problem is that everything is in 3D.

The distance between the new points and the curve is unknown. I have the shape of the curve and the point location but transformers like LengthToPointCalculator are not working as I lack informations.

So i would like to know how to calculate the distance bewteen a point and a curve in 3D. Note that the curve can have any shape.

And also, the OffsetCurveGenerator is only 2D, and does not work with a 3D length in my case

 

I thought about getting the distance in 2D which I don't know once again how to obtain, use an OffsetCurveGenerator and then force it in 3D, but the elevation changes between the beginning and the end of the curve, so a 3DForcer does not work, I think.

 

Has anyone an idea on how to solve it ?

Thanks in advance

 

1 reply

  • October 21, 2020

Hi, Maybe the NeighborFinder could be useful to find the distance between your curve and your point ?


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings