HOW(nged)
returns how an object is being displayed
π HOW(nged) β nged manual, bestie edition β¨
okay so this is how, one of the BRL-CAD User Commands, and honestly? it's giving "detective but make it a one-liner" π΅οΈββοΈπ
β¨ NAME β¨
how β returns how an object is being displayed π
π SYNOPSIS π
how [-b] object
π¦ DESCRIPTION π¦
So here's the vibe: the how command goes and queries the display list to figure out how the object you named is currently being drawn in the display. main character energy, fr fr π
It hands you back a numerical code that represents the object's current display mode β think wireframe, shaded, hidden-line, etc. π And if the object you asked about isn't currently displayed at all? Big sad, it returns -1 ππ
Now, if you pass the -b ("both") flag, it gets extra and returns two space-separated values: the numerical display mode and the object's floating-point transparency value. two for the price of one, we love to see it π«Ά
πΈ EXAMPLES πΈ
Example 1. Determine an object's display mode and transparency β
mged> how -b my_region.r
Returns output similar to 2 0.5, indicating that my_region.r is drawn with display mode 2 and a transparency of 0.5 β¨ If the object was not displayed, it would return -1. no cap, that's the whole thing π
π AUTHOR π
BRL-CAD Team π
π BUG REPORTS π
Reports of bugs or problems should be submitted via electronic mail to devs@brl-cad.org π¬ (bestie please actually report them, don't just suffer in silence π)
reminder that -1 means "not displayed" β don't come for me, that's just what the manpage says π
and that's a wrap, bestie! π§ this little number comes to you straight from BRL-CAD, filed under HOW(nged) β go forth and query your display list with confidence π₯π
π¦ 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