|
|
Am 13.05.2013 02:06, schrieb TreeLimb Jim:
> B) Parser displays this possible error around the vnormalize() function in
> Spline_Trans()
> Possible Parse Error: Normalizing zero-length vector.
> See code snips and #debug trace--- I can't see where the code would be
> normalizing a zero-length vector.
> I got reasonable and acceptable results.
> #declare NrSamples = 100;
> #for( Nr, 0, 1, 1/NrSamples )
> #debug concat ( "Loc=", VStr(<0,0,0>+Spline(Nr) )," LocNext=",
> VStr(<0,0,0>+Spline(Nr+0.1)), "\n" )
> Spline_Trans( Bad_Spline, Nr, y, 0.1, 0.5 )
> #end
Spline_Trans also uses the vector Spline(Nr)-Spline(Nr-0.1) (via the
VProject_Plane macro); you might want to check those as well.
Post a reply to this message
|
|