Freshly updated Ldraw.xml


Re: Freshly updated Ldraw.xml
#27
Hey Magnus,

thanks for sharing your collected information.

Magnus Forsberg Wrote:
Philo Wrote:ax, ay and az define the direction of the vector around which the rotation is to be performed. Angle of the rotation is expressed in radian (angle in radian = angle in degrees * Pi / 180)
Any a-value between 0 and +/-1 is possible.
90 degrees = 1.570796
180 degrees = 3.141592
More than one rotation direction is possible in the same translation, but only one angle.

The a-values define a vector (or a direction) where the part will be rotated around by the defined angle. Normally the vector should have the length 1. So it is possible to have the simple vectors:
  • 1, 0, 0; rotation around the positiv x-axis
  • 0, 1, 0; rotation around the positiv y-axis
  • 0, 0, 1; rotation around the positiv z-axis

But it is also possible to rotate the parts around any other vector. E.g.:
  • 0.7071, 0.7071, 0; rotation around a vector in the x-y-plane
  • 0.7071, 0, 0.7071; rotation around a vector in the x-z-plane
  • ...

And you can reach the final destination by more than one way. For example, if you rotate a part around the positiv z-axis by 90° you will get the same result as if you rotate the same part around the negativ z-axis by 270° (or -90°) and so on.

I think the technic is also described here.

(Only for addition) Rolf
Reply
« Next Oldest | Next Newest »



Messages In This Thread
Re: Freshly updated Ldraw.xml - by Jarema - 2015-09-30, 20:21
Re: Freshly updated Ldraw.xml - by Jarema - 2015-10-01, 18:36
Re: Freshly updated Ldraw.xml - by Jarema - 2015-09-30, 21:29
put ldraw.xml to github? - by Steffen - 2015-10-03, 11:31
Re: Freshly updated Ldraw.xml - by Rolf Osterthun - 2015-10-13, 22:26

Forum Jump:


Users browsing this thread: 11 Guest(s)