AROT(nged)

Performs a rotation about the specified axis (x y z) using screen units (-2048 to +2048).

πŸ“… published 7.44.0, from nixpkgs unstable

✨ 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