Captain Chemistry wrote:
> Mike Raiford <mra### [at] hotmailcom> wrote:
>
>>The macro did work for me, except one small problem: there's a "twist"
>>at one part in the spline that doesn't seem to make sense.
>
>
>
> I belive the twist occurs because the Reorient_Trans macro uses cross
> products to get perpendicular vectors for it's new axes and there are
> always two solutions that are perpendicular to any two vectors - one going
> one way, and one going in exactly the opposite direction.
>
> For some evil reason the macro chose the cross product vector in the
> opposite direction - I have had this problem before too.
>
> The only way I overcame it (but not the only way to fix the problem) was
> that I designed the shape (or spline or whatever) to be fixed in one axis
> (kind of).
>
> For example, I made sure the shape never crossed the positive z axis and
> stayed in the negative z axis area. I believe the direction changed when I
> crossed the z axis.
>
> What I have said does not give a solution to the problem but I hope it give
> some insight into why the problem is occurring.
>
> Nathan
That makes sense. The point where I'm seeing the twist is right where it
would cross +/- Z.
--
~Mike
Post a reply to this message
|