From 7d5f14b233297ab7a825fd20876851ab99362f3a Mon Sep 17 00:00:00 2001 From: joshbaker22 <141415098+joshbaker22@users.noreply.github.com> Date: Mon, 14 Aug 2023 14:52:43 -0400 Subject: [PATCH] Create mirror.xml --- doc/docbook/system/mann/mirror.xml | 87 ++++++++++++++++++++++++++++++ 1 file changed, 87 insertions(+) create mode 100644 doc/docbook/system/mann/mirror.xml diff --git a/doc/docbook/system/mann/mirror.xml b/doc/docbook/system/mann/mirror.xml new file mode 100644 index 0000000000..75720bd93e --- /dev/null +++ b/doc/docbook/system/mann/mirror.xml @@ -0,0 +1,87 @@ + + + + MIRROR + nged + BRL-CAD + BRL-CAD User Commands + + + + mirror + Mirrors a shape or combination across a given axis. + + + + + + + mirror + -p "point" + -d "dir" + -x|-y-|-z + -o offset + from_object to_object + + + +DESCRIPTION + + Mirrors an object (shape or combination) across a given axis (x by default). + If from_object is a shape, then it is copied to a new shape named + to_object that is mirrored across the given axis. If from_object + is a combination, then a new combination is created that contains exactly the same members naned to_object. + Transformation matrices are added to mirror it across the requested axis. The -x, -y, & -z options tell the + command which axis to mirror the object. The -p can be used to specify a point to mirror about, and + the -d can be used to specify a direction vector to mirror about. + + + +EXAMPLES + + The example shows the use of the mirror command to mirror an object across the y axis. + + Mirror an object across an axis. + + + mged> mirror -y solid.s mir_solid.s + + Creates a copy of solid.s that is mirrored across the y axis and named mir_solid.s + + + + The example shows the use of the mirror command to mirror an object across a plane of x=100. + + Mirror an object across an plane parallel to an axis. + + + mged> mirror -x -o 100 solid.s mir_solid.s + + Creates a copy of solid.s that is mirrored across a plane parallel to the x axis at x=100 and named mir_solid.s + + + + The example shows the use of the mirror command to mirror an object about a given point. + + Mirror an object about a given point. + + + mged> mirror -p "0 1000 0" -y solid.s mir_solid.s + + Creates a copy of solid.s that is mirrored across a plane parallel to the y axis at the point 0, 1000, 0 and named mir_solid.s + + + + + + +AUTHORBRL-CAD Team + +BUG REPORTS + + + Reports of bugs or problems should be submitted via electronic + mail to devs@brlcad.org + + +