'\" t
.\"     Title: ROTOBJ
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 08/28/2023
.\"    Manual: BRL-CAD User Commands
.\"    Source: BRL-CAD
.\"  Language: English
.\"
.TH "ROTOBJ" "nged" "08/28/2023" "BRL\-CAD" "BRL\-CAD User Commands"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
rotobj \- Rotates the currently edited object by \fIz\fR angle degrees about the \fIz\fR direction, \fIy\fR angle degrees about the \fIy\fR direction, and \fIx\fR angle degrees about the \fIx\fR direction in that order\&.
.SH "SYNOPSIS"
.HP \w'\fBrotobj\fR\ 'u
\fBrotobj\fR [\-i] [\fIx\-angle\fR] [\fIy\-angle\fR] [\fIz\-angle\fR]
.SH "DESCRIPTION"
.PP
Rotates the currently edited object by
\fIz\fR
angle degrees about the
\fIz\fR
direction,
\fIy\fR
angle degrees about the
\fIy\fR
direction, and
\fIx\fR
angle degrees about the
\fIx\fR
direction in that order\&. If an
\fI\-i\fR
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
\fBp\fR
command provides a similar capability for primitive editing\&.
.SH "EXAMPLES"
.PP
The example shows the use of the
\fBrotobj\fR
command to rotate the currently edited object by a given number of degrees in the
\fIx\fR,
\fIy\fR, and
\fIz\fR
directions\&.
.PP
\fBExample\ \&1.\ \&Rotate the current object by a specified number of degrees in the \fIx, y,\fR and \fIz\fR directions.\fR
.PP

mged>\fBrotobj 0 0 25\fR
.PP
Rotates the currently edited object by 25\(de about the
\fIz\fR
direction from the original orientation\&.
.SH "AUTHOR"
.PP
BRL\-CAD Team
.SH "BUG REPORTS"
.PP
Reports of bugs or problems should be submitted via electronic mail to
devs@brlcad\&.org
