'\" t
.\"     Title: ROT
.\"    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 "ROT" "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"
rot \- Rotates the view or an object by \fIxyz\fR degrees\&.
.SH "SYNOPSIS"
.HP \w'\fBrot\fR\ 'u
\fBrot\fR {\fIx\ y\ z\fR}
.SH "DESCRIPTION"
.PP
Rotates the view or an object by
\fIxyz\fR
degrees\&. Exactly what and how it is rotated are dependent on MGEDs state as well as the state of the display manager\&. See
\fBarot\fR
for a similar capability\&.
.SH "EXAMPLES"
.PP
The two examples show the use of the
\fBrot\fR
command to rotate the view or object by a specified number of degrees about the
\fIx, y,\fR
or
\fIz\fR
axis\&.
.PP
\fBExample\ \&1.\ \&Rotate the view or object a specified number of degrees about the \fIz \fR axis.\fR
.PP

mged>\fBrot 0 0 45\fR
.PP
Rotates the view or object 45\(de about the
\fIz\fR
axis\&.
.PP
\fBExample\ \&2.\ \&Rotate the view or object a specified number of degrees about the \fIy \fR and \fIx\fR axes.\fR
.PP

mged>\fBrot 45 45 0\fR
.PP
Rotates the view or object 45\(de about the
\fIy\fR
axis, then rotates 45\(de about the
\fIx\fR
axis\&.
.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
