>I think the problem to define BOTH tracks at the same time. A path is no problem... but how do you control the roll/yaw of both rails as a unit and maintain consistent spacing and radii??
define a parametric equation for centerline path where z is forward, x is left, y is up:
T = f(t) where T is [4x4] tranformation matrix w.r.t world coordinate system.
define the left and right transforms w.r.t local coordinate system:
Tl = [ [ 1,0,0,0 ],[ d/2,1,0,0 ],[ 0,0,1,0 ],[ 0,0,0,1 ] ]
Tr = [ [ 1,0,0,0 ],[ -d/2,1,0,0 ],[ 0,0,1,0 ],[ 0,0,0,1 ] ]
compute transforms for left and right rails w.r.t. world:
Tleft = T*Tl
Tright = T*Tr
extract position vector(s) from Tleft and Tright, these are used as the 3D points to make the two track sweeps.
Matlab comes in real handy here, Excel can also do this, but it is more cumbersome. Since the parametric equation is defined by the user, steps can be taken in its construction to minimize the jerk.
Note to ADSK: Is there any plans to introduce a parametric sketch element?