QRAY(nged)
Gets/sets query ray characteristics.
π
QRAY(nged) β BRL-CAD User Commands π
okay bestie, this is the qray page from the nged manual β a BRL-CAD user command, and yes, she is here to get/set query ray characteristics. β¨
πΈ NAME πΈ
qray β gets/sets query ray characteristics. π
β¨ SYNOPSIS β¨
qray [subcommand]
π¦ DESCRIPTION π¦
Gets/sets query ray characteristics. Without a subcommand, the usage message is printed. The qray command accepts the following subcommands:
varsβ prints a list of all query ray variables. πbasename [str]β ifstris specified, then setbasenametostr. Otherwise, return thebasename. Note that thebasenameis the name used to create the fake shape names corresponding to the query ray. There will be one fake shape for every color used along the ray. πeffects[t|g|b]β sets or gets the type of effects that will occur when firing a query ray. The effects of firing a ray can be eithertfor textual output,gfor graphical output, orbfor both textual and graphical. π₯echo [0|1]β sets or gets the value ofecho. If set to1, the actualnirtcommand used will be echoed to the screen. π£oddcolor [r g b]β sets or gets the color of odd partitions. πevencolor [r g b]β sets or gets the color of even partitions. πΈvoidcolor [r g b]β sets or gets the color of areas where the ray passes through nothing. π«₯overlapcolor [r g b]β sets or gets the color of areas that overlap. π§fmt [r|h|p|f|m|o [str]]β sets or gets the format string(s). See the man page ofnirtfor more details. πscript [str]β sets or gets thenirtscript string. π«Άhelpβ prints the usage message. π
π EXAMPLES π
The four examples show the use of the qray command without a subcommand and with three of the listed subcommands. β
Example 1. Print the usage message.
mged>qray
Prints the usage message.
Example 2. Return the overlap format string.
mged>qray fmt o
Returns the overlap format string.
Example 3. Return the rgb color used to color odd partitions.
mged>qray oddcolor
Returns the rgb color used to color odd partitions.
Example 4. Set the odd partition color to red.
mged>qray oddcolor 255 0 0
Sets the odd partition color to red.
π AUTHOR π
BRL-CAD Team π
π BUG REPORTS π
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org.
okay bestie, thatβs the whole page! π Source/version: BRL-CAD; manual: QRAY(nged); date: the footer didnβt show one, so Iβm not inventing a date π. Byeee! π¦
π¦ 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