AUTOVIEW(nged)
Frames objects within the view.
π AUTOVIEW β it frames your stuff, no cap β¨
okay so this is a BRL-CAD user command (nged fam, rise up π«Ά) and it's literally the "make it fit in my window" button. bestie, it's iconic.
πΈ NAME πΈ
autoview β frames objects within the view π
π SYNOPSIS π
autoview [-s scale] [object ...]
β¨ DESCRIPTION β¨
So what it does β and I need you to hear me on this β is it resets the view size and the view center so that the objects you're framing actually end up inside the view. Like, fully inside. Slay. π
With no arguments? It frames all the objects that are currently displayed. That's it, that's the vibe.
But if you hand it a list of object names (or full paths), it does something a little different: the view gets centered and sized to frame only those objects β and here's the cute part, they don't even have to be displayed π. The objects' bounding box is computed directly from the database. No display required, no gatekeeping.
π₯ OPTIONS π₯
-s,βscale_scale_ β sets the view scale, i.e. the model scale relative to the view size. Smaller value = zoom in π, larger value = zoom out π¦. The default is0.5model scale (so the model occupies half the view β half. periodt).
ngl, there's a throwback thing here for backward compatibility: a bare leading numeric argument is also accepted as the scale β but ONLY when-sis not given, and ONLY when there's no object of that name existing. An object with a purely numeric name always takes precedence, bestie. Always. Use-sif you want to avoid that whole ambiguity situation π.
π¦ EXAMPLES π¦
Example 1. Reset the view size and center so that all displayed objects are within the view.
mged> autoview
The view resets so that all objects displayed can be seen.
Example 2. Frame only the named objects.
mged> autoview engine.r wheel.r
The view is centered and sized to frame just engine.r and
wheel.r.
Example 3. Frame the named object using a specific scale.
mged> autoview -s 0.5 engine.r
The view is centered on engine.r and sized using a scale of 0.5.
π AUTHOR π
BRL-CAD Team β the main characters, honestly π
π BUG REPORTS π
Found a bug? A problem? Something cursed? π Send it via electronic mail to devs@brlcad.org and they'll handle it fr fr.
β¨ that's the whole page, you're welcome β¨ β this gorgeous little number comes to you from BRL-CAD, dated AUTOVIEW(nged) π go frame something, bestie π
π¦ 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