ROTOBJ(nged)
Rotates the currently edited object by z angle degrees about the z direction, y angle degrees about the y direction, and x angle degrees about the x direction in that order.
π« NAME π«
rotobj β okay so this is the one that rotates the currently edited object by z-angle degrees about the z direction, then y-angle degrees about the y direction, then x-angle degrees about the x direction, in exactly that order bestie, order matters fr fr π
This is the rotobj page from the BRL-CAD User Commands manual, nged edition, so you know it's the real one π
β¨ SYNOPSIS β¨
rotobj [-i] [x-angle] [y-angle] [z-angle]
That's it, that's the whole vibe check π¦
πΈ DESCRIPTION πΈ
So the way this works: rotobj rotates the currently edited object by z angle degrees about the z direction, by y angle degrees about the y direction, and by x angle degrees about the x direction β in that order, like z then y then x, not a single one of those steps skipped π₯
If you slide an -i option in there, then the rotations get treated as increments to the previous rotations instead of fresh-from-scratch ones. Very "add to cart" of it π
Heads up bestie: MGED must be in the matrix edit mode for this command to be useful. Like, that's non-negotiable. No matrix edit mode, no usefulness. Periodt π
And if you're sitting there thinking "hmm what about primitives," the p command provides a similar capability for primitive editing β so it's giving cousin energy, not twin energy π
π EXAMPLES π
The example shows the use of the rotobj command to rotate the currently edited object by a given number of degrees in the x, y, and z directions. Iconic, honestly.
Example 1. Rotate the current object by a specified number of degrees in the x, y, and z directions.
mged>rotobj 0 0 25
Rotates the currently edited object by 25Β° about the z direction from the original orientation. Look at her go ππ
π AUTHOR π
BRL-CAD Team β the main characters, no cap π
π BUG REPORTS π
Found a bug? A problem? Something lowkey cursed? Reports of bugs or problems should be submitted via electronic mail to:
devs@brlcad.org
They want to hear it, fr fr π«Ά
And that's the page, bestie β ROTOBJ(nged) from the BRL-CAD User Commands manual, brought to you by the BRL-CAD crew. Go rotate something responsibly β¨π
π¦ 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