FACEDEF(nged)

NAME

facedef - Allows the user to redefine any face of an ARB8 shape.

SYNOPSIS

facedef {####} [[a] | [b] | [c] | [d] | [parameters]]

DESCRIPTION

Allows the user to redefine any face of an ARB8 shape. The user must be in Primitive Edit Mode with an ARB selected for editing. The optional parameters may be omitted, and MGED will prompt for the missing values. The options are as follows:

a

Specify the new location of this face by providing coefficients for its plane equation:

Ax + By + Cz = D

b

Specify the new location of this face using three points.

c

Specify the new location of this face using rotation and fallback angles.

d

Specify the new location of this face by changing the D value in the plane equation.

q

Return to MGED prompt.

EXAMPLES

The first example shows the use of the facedef command with the a option to redefine a specified face so that it is in another plane. The second example shows the use of the facedef command with the b option to redefine a face so that it is in another plane formed by three points.

Example 1. Moving a specified face so that it is in another plane.

mged> facedef 1234 a 1 0 0 20

Moves face 1234 such that it is in the yz plane at x = 20.

Example 2. Moving a specified face so that it is in another plane formed by three points.

mged facedef 5678 b 0 0 10 10 0 10 10 10 10

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).

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