MIRROR(nged)
Mirrors a shape or combination across a given axis.
π¦ MIRROR π (nged)
okay bestie so this is a nged manual page and it's literally about the mirror command β the one that flips a shape or combination across an axis. no cap, it's iconic.
β¨ NAME β¨
mirror β mirrors a shape or combination across a given axis πͺ
πΈ SYNOPSIS πΈ
mirror [-p "point"] [-d "dir"] [-x|-y-|-z] [-o offset] {from_object to_object}
(yes, -y- is written exactly like that in the original, don't come for me π β copy it verbatim and you're golden)
π DESCRIPTION π
So here's the vibe: mirror takes an object β could be a shape, could be a combination β and mirrors it across a given axis. and the default axis? x. slay.
- if
from_objectis a shape, it gets copied into a brand new shape namedto_object, and that new one is the mirrored version across whatever axis you picked β¨ - if
from_objectis a combination, a whole new combination namedto_objectgets created, and it contains exactly the same members β the way that it works is transformation matrices are added to mirror it across the axis you requested π
And like, the axis? that's what -x, -y, & -z are for β they tell the command which axis to mirror the object across. π§
Want more control? -p lets you specify a point to mirror about, and -d lets you specify a direction vector to mirror about. π«
Also -h prints usage help β the little lifesaver, honestly π«Ά
π EXAMPLES π
π Example 1. 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 π
π Example 2. 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 β¨ (this is your -o offset moment, iykyk)
π¦ Example 3. 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 π₯
π AUTHOR π
BRL-CAD Team β kings, honestly π
π BUG REPORTS π
Found a bug or a problem? don't suffer in silence bestie β reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org π§
lowkey important: -x is the default axis, and if you're mirroring a combination you get a new combination with the same members plus transformation matrices β it's not editing the original in place. β¨
k that's the whole page, no notes π this was BRL-CAD's mirror page, manual name nged β go mirror something and make it main character energy πͺβ¨π
π¦ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms