QRAY(nged)

Gets/sets query ray characteristics.

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… 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] β€” if str is specified, then set basename to str. Otherwise, return the basename. Note that the basename is 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 either t for textual output, g for graphical output, or b for both textual and graphical. πŸ”₯
  • echo [0|1] β€” sets or gets the value of echo. If set to 1, the actual nirt command 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 of nirt for more details. πŸ“
  • script [str] β€” sets or gets the nirt script 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