Alright, first off .... I do realize that Colefax's spline macros will solve
this but I'm trying to figure this out.
I wrote a macro to generate splines from a set of points. It uses the
spline feature of 3.5 but calculates the time values to eliminate
acceleration and deceleration along the spline.
It estimates the length of the spline between control points and for the
overall length.
I'm assuming the difference in time between points is proportional to the
segment lengh / overall length.
It works fine for linear splines but quadratic's tend to drift quite a bit.
I even tried writing a length finder where you could set to acceptable error
and the times still drift.
Can anyone point me in the right direction here.
I'll try to clean up the source if anyone wants to see what I've done.
thanks
Chris
Post a reply to this message
|