PRINT(nged)
print a summary of the current view parameters
π PRINT(nged) β like, the whole vibe of your current view, summarized
okay bestie, so this is print, a BRL-CAD user command, and it's genuinely one of the girlies who has her life together. She gives you a formatted summary of five core view parameters for the current view. that's it. that's the whole job. and she ate β¨
π SYNOPSIS π
print
no flags. no arguments. no drama. just print. periodt.
πΈ DESCRIPTION πΈ
The print command displays a formatted summary of five core view parameters for the current view. five. count 'em. π
The intended usage is with no arguments. here's the tea on how it actually works under the hood: internally, the same argument list gets forwarded unmodified to each of the five underlying view parameter functions β ae, viewdir, center, eye, and size β in sequence. with no arguments, each function just returns its current value, and the results get assembled into the combined output. slay, no notes. π«Ά
but if you DO pass arguments, bestie, listen β each sub-function will interpret them independently, and that can produce inconsistent results, because each command has a totally different argument syntax. like, they're not even speaking the same language: -aeexpects azimuth and elevation -sizeexpects a single scalar -eyeexpects three coordinates so passing any argument set that satisfies one function's setter syntax may silently modify that view parameter while causing the others to report errors. not me accidentally changing my view and getting yelled at by four other functions ππ
The output format is:
ae: <azimuth> <elevation>
dir: <<dx> <dy> <dz>>
center: (<cx> <cy> <cz>)
eye: (<ex> <ey> <ez>)
size: <view_size>
Where:
aeβ the current azimuth and elevation angles (in degrees). angles, bestie. πdirβ the view direction vector. where you're looking πcenterβ the model-space coordinates of the view center. the main character of the view, lowkey π―eyeβ the model-space coordinates of the eye point. that's you. you're the eye. main character energy πsizeβ the current view size in local units. how zoomed-in the vibe is π
To inspect or set individual parameters independently, use the dedicated commands: ae, center, eye, size, and viewdir. they each do one thing and they do it well. no cap. π
β¨ EXAMPLES β¨
Example 1. Print current view parameters
mged> print
ae: 35 25
dir: <-0.573576 -0.462910 0.675590>
center: (0 0 0)
eye: (305.267 246.784 359.713)
size: 649.519
Displays the azimuth/elevation, view direction vector, center point, eye position, and view size for the current view. look at that gorgeous little block of numbers. it's giving organized. it's giving I know where I am in 3D space. iconic. π¦
π AUTHOR π
BRL-CAD Team β the legends themselves π
π BUG REPORTS π
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. if something's acting sus, tell the devs, don't suffer in silence bestie ππ
πΈπ okay that's the whole page!! this one comes from BRL-CAD (that's the source/version, mwah) and it's the PRINT(nged) page β go print your view and feel gorgeous about it πβ¨π«Ά
π¦ 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