Curve closest point trouble

Hi everyone,

I’ve got a trouble on curve closest point.

Trying to push points inside ellipse but there is some that are not going in the good way.

If you have an idea, definition with internalized data.

TB_elipse_tween_ctcurves_03.gh (18.3 KB)

Thanks !

I’m not using pufferfish so I’m not sure what exactly happens in the curve offset component.

Are your surfaces fully intersecting the deformed elliptical surface?

Hi @martinsiegrist here is the same definition without use of pufferfish :slight_smile:

TB_elipse_tween_ctcurves_03.gh (20.2 KB)

Question is why is there some curves that goes outside shape ?

Thanks for your time and knowledge :wink:

You mean these situations?

Yes, I’m trying to use curve closest point distance to move inside points from divide surface but some goes outside and form a strange surface were most of points goes inside unless some that form these curves you picked…

I think you need to flatten the inputs for the remapping of the domain.

Another small detail, your curve around the surface is not closed. This results in a spike at the end.

You want this to be closed, so the boolean input needs to be set to true.

If you convert the surface into a mesh, you can use a smoothing algorithm. It might require increasing the subdivision to get a good result.

TB_elipse_tween_ctcurves_03 mrtn.gh (30.3 KB)

Thanks @martinsiegrist !