MGED CMD mirror


[edit] mirror

Contents


[edit] Syntax

mirror -x|-y|-z old_object new_object


[edit] Argument(s)

old_object
Valid BRL-CAD Primitive
new_object
Name of new object to be created
-x|-y|-z
Axis to mirror across


[edit] Return Value(s)

No Return Values for this command.


[edit] Description

The "mirror" command creates new_object by duplicating old_object and reflecting it along the indicated axis. If old_object is a primitive shape, then a new shape is created, with parameters adjusted to accomplish the mirror operation. If old_object is a combination, then new_object will simply be a copy of old_object with all of its members’ matrices set to perform the appropriate reflection.


[edit] Example(s)

mged> mirror -x shape1 shape1_mirror
Make a copy of shape1, name it shape1_mirror, and adjust its parameters so that it is a mirror image of shape1 across the yz plane.


[edit] See Also

No related commands.



Page Generated by David Loman on: 10/11/2007 at: 1:52:26 PM