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.

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’« 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