ISIZE(nged)
return the inverse of the current view size
π ISIZE (nged) π
okay bestie, welcome to the <pink>nged</pink> corner of the BRL-CAD user commands manual. this one's short, sweet, and does exactly one (1) thing. let's get into it π
β¨ NAME β¨
isize β returns the inverse of the current view size, that's it, that's the whole gig π«Ά
πΈ SYNOPSIS πΈ
isize
π¦ DESCRIPTION π¦
so the isize command returns the reciprocal of the current view size, in your current working units. it's a read-only getter, meaning it just hands you a number and vibes β no arguments are accepted, so don't even try it π
the inverse view size is related to your current zoom level, lowkey math-coded. it equals 1 / view_size, where view_size is whatever the size command gave you. so:
- a larger
isizevalue = a more zoomed-in view (smaller view size) - a smaller
isizevalue = a more zoomed-out view
this value is primarily useful in scripts that compute view-space to model-space scaling factors. so if you're out here scripting, this is your girl π
π₯ EXAMPLES π₯
Example 1. Get the inverse view size
mged> isize
returns the reciprocal of the current view size in working units β for example: 0.001 when the view size is 1000 mm. slay β¨
Example 2. Use isize in a calculation
mged> set inv [isize]
mged> set sz [size]
mged> expr {$inv * $sz}
this retrieves both isize and size and verifies their product equals 1.0. math checks out, periodt π
π SEE ALSO π
size(nged)zoom(nged)
π AUTHOR π
BRL-CAD Team β icons, honestly π
π BUG REPORTS π
found a bug? don't suffer in silence bestie π β reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org
and that's the whole page, bb π this was brought to you by BRL-CAD and the <purple>ISIZE(nged)</purple> manual page itself β go zoom around 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