ROTOBJ(nged)

NAME

rotobj - Rotates the currently edited object by z angle degrees about the z direction, y angle degrees about the y direction, and x angle degrees about the x direction in that order.

SYNOPSIS

rotobj [-i] [x-angle] [y-angle] [z-angle]

DESCRIPTION

Rotates the currently edited object by z angle degrees about the z direction, y angle degrees about the y direction, and x angle degrees about the x direction in that order. If an -i option is included, then the rotations are treated as increments to the previous rotations. MGED must be in the matrix edit mode for this command to be useful. The p command provides a similar capability for primitive editing.

EXAMPLES

The example shows the use of the rotobj command to rotate the currently edited object by a given number of degrees in the x, y, and z directions.

Example 1. Rotate the current object by a specified number of degrees in the x, y, and z directions.

mged> rotobj 0 0 25

Rotates the currently edited object by 25° about the z direction from the original orientation.

AUTHOR

BRL-CAD Team

This software is Copyright (c) 1989-2021 by the United States Government as represented by U.S. Army Research Laboratory.

BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org