'\" t
.\"     Title: ARCED
.\"    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 "ARCED" "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"
arced \- Provides a means for directly editing transformation matrices of Boolean tree leaves\&.
.SH "SYNOPSIS"
.HP \w'\fBarced\fR\ 'u
\fBarced\fR {\fIcomb/memb\fR} {\fIanim_command\fR}
.SH "DESCRIPTION"
.PP
The objects in a BRL\-CAD model are stored as Boolean combinations of primitive shapes and/or other combinations\&. These combinations are stored as Boolean trees, with each leaf of the tree including a corresponding transformation matrix\&. The
\fBarced\fR
command provides a means for directly editing these matrices\&. The first argument to the
\fBarced\fR
command must identify the combination and which member\*(Aqs matrix is to be edited\&. The
\fIcomb/memb\fR
argument indicates that member
\fImemb\fR
of combination
\fIcomb\fR
has the matrix to be edited\&. The remainder of the
\fBarced\fRcommand line consists of an animation command to be applied to that matrix\&. The available animation commands are:
.PP
\fBmatrix rarc <xlate|rot> matrix elements\fR
.RS 4
Replace the members matrix with the given matrix\&.
.RE
.PP
\fBmatrix lmul <xlate|rot> matrix elements\fR
.RS 4
Left multiply the members matrix with the given matrix\&.
.RE
.PP
\fBmatrix rmul <xlate|rot> matrix elements\fR
.RS 4
Right multiply the members matrix with the given matrix\&.
.RE
.SH "EXAMPLES"
.PP
\fBExample\ \&1.\ \&Rotate body/head 45 degrees about Z axis\fR
.PP

mged>\fBarced body/head matrix rot 0 0 45\fR
.PP
Rotates member head (in combination body) about the
\fIz\fR
axis through a 45\(de angle\&. By default, the
\fBmatrix\fR
commands expect a list of 16 matrix elements to define a matrix\&. The
\fIxlate\fR
option may be used along with three translation distances in the
\fIx\fR,
\fIy\fR, and
\fIz\fR
directions (in mm) as a shorthand notation for a matrix that is pure translation\&. Similarly, the
\fIrot\fR
option along with rotation angles (degrees) about the
\fIx\fR,
\fIy\fR, and
\fIz\fR
axes may be used as shorthand for a matrix that is pure rotation\&.
.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
