Rotate

 

In this mode, you can create Align your model with the 3 main axis.

 

If you want to crate a back-plane for your model, it need to be aligned with the main axis.  You use this mode for the alignment. 

 

When this mode is active, the 3 planes, aligned with the axis, are displayed in cyan.  You can use the "X", "y" or "Z" sliders to rotate your model.  Or, alternatively, you can use the mouse to rotate the model in the 3D display window.  If you click on the surface of your model, you are rotating the model, if you press the "Ctrl" key or click outside the surface, you are rotating the camera.  Once you have attained the desired rotation, you press the "Apply transformation" button to re-compute the voxels of the model in its new position.

 

You can also use the "90" degrees buttons to rotate the model 90 degree in any of the 3 axis.  This is useful when you want to rotate the views in the 2D windows.

 

Note:

 

Each time you "Apply" the transformation, the model is slightly degraded.  You should try to minimized the number of rotations you do.

 

Note:

 

When the model is first loaded in the program, it is re-sampled in voxels aligned with the Cartesian axis system.  The position of the original data is preserved in this transformation.  If you create multiple STL models they will be correctly aligned to one another.  However, using the rotation module will screw this up!  The original position of the voxels are loast, and creating multiple models with different rotations will result in non-aligned models.

 

 

 

 

Rotating the model

 

 

 

From the Graphic Interface

 

 

 

90 deg rotations

Each of the 3 "90" buttons will rotate the model 90 degrees along one of the 3 main axis.

 

Reset

Reset the rotation matrix to identity.

 

Rotation sliders

Each of the 3 sliders will rotate the model degrees along one of the 3 main axis.

 

Apply

Apply the transformation to the model.

 

 

 

From the Display Area

          

You use the mouse in the 3D window to rotate the model or the Camera.

If the starting click is on the model, you rotate the model.

If the "Ctrl" key is pressed, or the starting click is outside the surface of the model, you are rotating the point of view.

 

                    

From the Keyboard

 

There is no keyboard interface specific to this mode.

 

 

From the Command Line

 

System Variables defined in this library:

 

 

$ROTATE_FLT_MATRIX

(A F32)

The transformation matrix

 

$ROTATE_FLT_INVERT

(A F32)

 

 

$ROTATE_MAT_MATRIX

(P)

 

 

$ROTATE_MAT_CUMUL

(P)

 

 

Commands recognized in this library:

 

Rotate: matrix a11 a12 ... a44

Specify the "MAT_CUMUL" transformation matrix.