AROT(nged)
Performs a rotation about the specified axis (x y z) using screen units (-2048 to +2048).
β¨ NAME β¨
arot β spins stuff around an axis you pick (that's x y z), measured in screen units from -2048 to +2048 π«
π SYNOPSIS π
arot {x} {y} {z} {angle}
π DESCRIPTION π
okay so arot does a rotation around whatever axis you hand it β the axis is x y z, and it uses screen units, which go from -2048 to +2048. that's the range, bestie, no cap π
the amount of spin is set by angle, and angle is in degrees (not radians, don't come at me).
now here's the spicy part β exactly what gets rotated, and how it rotates, depends on MGED's state and on the state of the display manager. like, it's giving "it depends" energy and that's just how it is. for example:
- in normal viewing mode, it literally just rotates the view π
- but in primitive edit mode, it rotates the shape being edited β¨
same command, different main character depending on the vibe check. iykyk π
π¦ EXAMPLES π¦
this example shows arot doing its thing to a view or a shape, spinning it about the z axis.
Example 1. Rotating a view or shape 10 degrees about the z axis.
mged>arot 0 0 1 10
the view or shape gets rotated 10 degrees about the z axis. slay π₯
π AUTHOR π
BRL-CAD Team π«Ά (genuinely iconic of them)
π BUG REPORTS π
if you find a bug or a problem, bestie, please submit it via electronic mail to devs@brlcad.org β they wanna know, fr fr π
and that's the whole page π it's from the BRL-CAD crew, filed under the manual name AROT(nged) β go rotate something beautiful, mwah ππ·
π¦ 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