'\" t
.\"     Title: XPUSH
.\"    Author: [see the "AUTHOR" section]
.\" Generator: DocBook XSL-NS Stylesheets v1.76.1 <http://docbook.sf.net/>
.\"      Date: 08/28/2023
.\"    Manual: BRL-CAD MGED Commands
.\"    Source: BRL-CAD
.\"  Language: English
.\"
.TH "XPUSH" "nged" "08/28/2023" "BRL\-CAD" "BRL\-CAD MGED 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"
xpush \- Pushes the effects of transformation matrices in the paths, from the specified \fIobject\fR to the primitive shapes, into the shapes and replaces all the transformation matrices with identity matrices\&.
.SH "SYNOPSIS"
.HP \w'\fBxpush\fR\ 'u
\fBxpush\fR {\fIobject\fR}
.SH "DESCRIPTION"
.PP
Pushes the effects of transformation matrices in the paths, from the specified
\fIobject\fR
to the primitive shapes, into the shapes and replaces all the transformation matrices with identity matrices\&. The
\fBpush\fR
command performs a similar function, but will refuse to make any changes if any shape needs to be transformed into more than one location/orientation/scale\&. The
\fBxpush\fR
command will recognize such situations and create extra copies of such shapes to accept the different transformation effects\&. New shapes created by this command will have a suffix appended to the original name to make the new name unique\&. Combinations referring to the new shape will also be modified to reflect the name change\&. The
\fBpush\fR
command performs the same function but will refuse to make any changes if it cannot accomplish the push without creating any new shapes\&.
.SH "EXAMPLES"
.PP
The example shows the use of the
\fBxpush\fR
command to move all the effects of the transformation matrices in a tree rooted at an object down to the shape level(creating new shapes if needed)\&.
.PP
\fBExample\ \&1.\ \&Move effects of transformation matrices in a tree rooted at an object to the shape level.\fR
.PP

mged>\fBxpush group1\fR
.PP
Moves all the effects of the transformation matrices in the tree rooted at
\fIgroup1\fR
down to the shape level (creating new shapes if needed)\&.
.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
