ROT(nged)

Rotates the view or an object by xyz degrees.

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… ROT(nged) β€” bestie edition

okay so real quick: this is rot from the BRL-CAD User Commands manual, section nged, and it's literally the glow-up button for your viewport. let's get into it πŸŽ€


✨ NAME ✨

rot β€” rotates the view or an object by xyz degrees. that's it, that's the whole vibe πŸ¦‹


🌸 SYNOPSIS 🌸

rot {x y z}

three little numbers, one big slay. 🫢


πŸ’« DESCRIPTION πŸ’«

so rot rotates the view or an object by xyz degrees. but here's the tea: exactly what gets rotated and how it gets rotated depends on MGED's current state and on the state of the display manager. it's giving "it depends" energy, ngl 😭

want something similar? peep arot, it does a comparable thing. iykyk πŸ’…


πŸ”₯ EXAMPLES πŸ”₯

the two examples below show rot doing its thing β€” rotating the view or object by a specified number of degrees about the x, y, or z axis. iconic behavior, honestly.

⭐ Example 1

rotate the view or object a specified number of degrees about the z axis.

mged>rot 0 0 45

rotates the view or object 45Β° about the z axis. periodt. πŸ’…

⭐ Example 2

rotate the view or object a specified number of degrees about the y and x axes.

mged>rot 45 45 0

rotates the view or object 45Β° about the y axis, then rotates 45Β° about the x axis. two rotations, one command, main character energy πŸ‘‘


πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team β€” the ones who made it happen 🫢


πŸ› BUG REPORTS πŸ›

found a bug? a problem? something acting sus? 😭 reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org β€” they wanna hear from you fr fr πŸ’Œ


reminder bestie: the <italic>x</italic>, <italic>y</italic> and <italic>z</italic> values go in exactly that order. no cap. πŸ“

🧚 and that's the page!! brought to you by the BRL-CAD gang β€” ROT(nged), BRL-CAD, rot gang forever πŸŒˆβœ¨πŸ’œ

πŸ“¦ where this page comes from