Next: Scale Operation Up: Solid Edit: Alter Previous: Translate Operation

## Rotate Operation

Figure (esc-xrot): Solid Edit Rotation of 45 Degrees about X

`mged> Select the ``Rotate'' entry in the solid edit menu
mged> p 45 0 0
mged>`

When viewing in the positive X direction, the cylinder is rotated counter- clockwise 45 degrees about an axis through point V parallel to the x axis. See Figure (esc-xrot) .

Figure (esc-yrot): Solid Edit Rotation of 45 Degrees about Y

`mged> p 0 45 0
mged>`

When viewing in the positive Y direction, the cylinder is rotated counter- clockwise 45 degrees about an axis through point V parallel to the Y axis. See Figure (esc-yrot) .

Figure (esc-zrot): Solid Edit Rotation of 45 Degrees about Z

`mged> p 0 0 45
mged>`

When viewing in the positive Z direction, the cylinder is rotated counter- clockwise 45 degrees about an axis through point V parallel to the Z axis. See Figure (esc-zrot) .

The command

`mged> p 0 0 0
mged>`

will restore the cylinder to the original orientation.