Skip to documentation
DocumentationAll documentsEnglish

OED(nged)

NAME

oed - Places MGED directly into the matrix edit mode.

On this page

SYNOPSIS

oed {path_lhs} [{path_rhs}]

DESCRIPTION

Places MGED directly into matrix edit mode.

When only path_lhs is specified, it is the complete path to the object being edited. The matrix immediately above its final component is selected, and the center of that object’s bounding box is used as the editing keypoint.

When path_rhs is specified, it must be a path ending in a primitive shape, and path_lhs must be a path to a combination that includes the first component of path_rhs as one of its members. The edited matrix is the matrix between the final component of path_lhs and the first component of path_rhs. The final component of path_rhs supplies the keypoint during object editing.

Note that for scripting the object to be edited must be in view so a B or draw must be used on the object before using the oed command.

EXAMPLES

The examples show both ways to place MGED into matrix edit mode.

Example 1. Place MGED in matrix edit mode.

mged>oed group1/group2 region1/shapea

Places MGED into matrix edit mode, editing the matrix in group2 that corresponds to region1, using shapea as the reference shape.

Example 2. Use an object’s bounding-box center as the keypoint.

mged>oed group1/group2/region1

Places MGED into matrix edit mode, editing the matrix above region1 and using the center of region1's bounding box as the keypoint.

AUTHOR

BRL-CAD Team

BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org