Editing MGED CMD mirror

From BRL-CAD

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 1: Line 1:
[[Category:MGED|Mirror]]
+
[[Category:MGED]]
[[Category:MGED object generators|Mirror]]
+
 
 
=mirror=
 
=mirror=
 
__TOC__
 
__TOC__
  
 
==Syntax==
 
==Syntax==
:mirror -x|-y|-z old_object new_object
+
:mirror old_object new_object x|y|z
  
  
Line 15: Line 15:
 
:: Name of new object to be  created
 
:: Name of new object to be  created
  
: '''-x|-y|-z'''
+
: '''x|y|z'''
 
:: Axis to mirror across
 
:: Axis to mirror across
  
Line 24: Line 24:
  
 
==Description==
 
==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.
+
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.
 +
 
  
 
==Example(s)==
 
==Example(s)==
: '''mged>''' mirror -x shape1 shape1_mirror
+
: '''mged>''' mirror shape1 shape1_mirror x
 
:: 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.
 
:: 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.
  

Please note that all contributions to BRL-CAD may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see BRL-CAD:Copyrights for details). Do not submit copyrighted work without permission!

To edit this page, please answer the question that appears below (more info):

Cancel Editing help (opens in new window)