QUERY_RAY(nged)

Runs the NIRT program that is distributed with BRL-CAD to intersect a single ray with the displayed objects.

πŸ“… published 7.44.0, from nixpkgs unstable

✨ NAME ✨

query_ray β€” runs the NIRT program that is distributed with BRL-CAD to intersect a single ray with the displayed objects πŸ’…


πŸ¦‹ SYNOPSIS πŸ¦‹

query_ray [nirt_args]

πŸ’– DESCRIPTION πŸ’–

okay so bestie, this is a page from the nged manual β€” BRL-CAD User Commands energy, periodt. query_ray runs the NIRT program that is distributed with BRL-CAD to intersect a single ray with the displayed objects. No cap.

By default, NIRT is run using:

  • the current database πŸ—„οΈ
  • the currently displayed objects πŸ‘€
  • the current eye point as the ray start point πŸ‘οΈ
  • the current viewing direction as the ray direction ➑️

So it effectively fires a ray at the center of the MGED display, which is honestly iconic. The resulting list of intersections between the ray and the objects is given. ✨

Additional arguments may be supplied on the NIRT command line. See the man page of nirt for more details β€” iykyk.


🌸 EXAMPLES 🌸

The example shows the use of the query_ray command to fire a single ray through the center of the MGED display.

Example 1. Fire a ray through the center of the MGED display.

mged>query_ray

Fires a single ray through the center of the MGED display. slay. πŸ”₯


πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team


πŸ’Œ BUG REPORTS πŸ’Œ

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org.

ngl bestie, if something's busted, email the team β€” they wanna know 🫢

mwah πŸ’‹ this has been query_ray(nged) from BRL-CAD β€” catch you in the next man page, bestie πŸ§šβ€β™€οΈπŸ’œ

πŸ“¦ where this page comes from