Fit Crv between points

I want to move these points along this line to create a new curve that kicks out less. It seems like it should be very easy, but for some reason I can’t manage to do it cleanly. Thanks for the help

.

Crv 1.gh (8.9 KB)

please internalise the points at the beginning of your definition.

Thanks, i forgot to save the file after i did it.
Sorry
Should work now

PointAtPercentage.gh (10.2 KB)

are you missing above logic ?
2 approaches
top: one general for curves
below: for lines based on the vector stuff…

if you re scripting Line.PointAt uses normalized parameter:
https://developer.rhino3d.com/api/rhinocommon/rhino.geometry.line/pointat

is this what you re after ?

Crv 1_tp.gh (14.5 KB)

slider = 1.0 → same curve
slider = 0.0 → planar
other values … curve inbetween

Yes that is exactly what i needed, thank you!

happy to help - please mark my post as solutions - so others don t need to dig into the topic to just see it s solve - have a nice evening - tom

I was cleaning up the desktop when I found the original file.

Pure Grasshopper:


Fit Crv between points VR 01.gh (22.2 KB)