'\" t
.\"     Title: FACEDEF
.\"    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 "FACEDEF" "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"
facedef \- Allows the user to redefine any face of an ARB8 shape\&.
.SH "SYNOPSIS"
.HP \w'\fBfacedef\fR\ 'u
\fBfacedef\fR {\fI####\fR} [[a] | [b] | [c] | [d] | [\fIparameters\fR]]
.SH "DESCRIPTION"
.PP
Allows the user to redefine any face of an ARB8 shape\&. The user must be in Primitive Edit Mode with an
\fIARB\fR
selected for editing\&. The optional parameters may be omitted, and MGED will prompt for the missing values\&. The options are as follows:
.PP
\fIa\fR
.RS 4
Specify the new location of this face by providing coefficients for its plane equation:
Ax + By + Cz = D
.RE
.PP
\fIb\fR
.RS 4
Specify the new location of this face using three points\&.
.RE
.PP
\fIc\fR
.RS 4
Specify the new location of this face using rotation and fallback angles\&.
.RE
.PP
\fId\fR
.RS 4
Specify the new location of this face by changing the
\fID\fR
value in the plane equation\&.
.RE
.PP
\fIq\fR
.RS 4
Return to MGED prompt\&.
.RE
.SH "EXAMPLES"
.PP
The first example shows the use of the
\fBfacedef\fR
command with the
\fIa \fR
option to redefine a specified face so that it is in another plane\&. The second example shows the use of the
\fBfacedef\fR
command with the
\fIb\fR
option to redefine a face so that it is in another plane formed by three points\&.
.PP
\fBExample\ \&1.\ \&Moving a specified face so that it is in another plane.\fR
.PP
mged> \fBfacedef 1234 a 1 0 0 20\fR
.RS 4
Moves face 1234 such that it is in the
\fIyz\fR
plane at
\fIx\fR= 20\&.
.RE
.PP
\fBExample\ \&2.\ \& Moving a specified face so that it is in another plane formed by three points.\fR
.PP
mged\fBfacedef 5678 b 0 0 10 10 0 10 10 10 10\fR
.RS 4
Moves face 5678 such that it is in the plane formed by the three points (0 0 10), (10 0 10), and (10 10 10)\&.
.RE
.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
