RRT(nged)

Executes the specified program with the provided options and includes the current database name and the list of currently displayed objects on the command line.

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ¦‹ RRT(nged) β€” the glow-up ✨

okay bestie, so this is a BRL-CAD User Command called rrt, and honestly it's giving "personal assistant for your other programs" πŸ’…


🌸 NAME

rrt β€” runs whatever program you point it at with the options you hand it, and automagically tacks the current database name plus the list of currently displayed objects onto the command line. no cap. 🫢


✨ SYNOPSIS

rrt {program} [options]

like… that's it. that's the whole vibe check. πŸŽ€


πŸ’– DESCRIPTION

So here's the tea β˜• β€” rrt executes the program you specify with the options you provide, and then it also slips the current database name and the list of currently displayed objects onto the command line. Basically it's out here executing:

program options database_name objects.

periodt. πŸ’…

But wait, there's more β€” rrt also feeds the current MGED viewing parameters to that program on standard input. iconic. 🧚

A lot of BRL-CAD programs use the -M option to signal "hey, viewing parameters are coming in on standard input," so keep that in mind. iykyk.

You can straight-up simulate the rt command with rrt like this:

rrt /usr/brlcad/bin/rt -M -s50

…which works provided that perspective is not currently being used. ⚠️ lowkey important, don't skip that part.

And honestly? Any executable routine may be run using rrt. any of them. go wild. πŸŽ‰ However β€” and this is the main character caveat β€” it will always be run with the provided options followed by the current database name and the list of currently displayed objects. no exceptions, fr fr. πŸ”₯


πŸŽ€ EXAMPLES

This example shows the use of the rrt command to execute the specified program and list the current database name and currently displayed objects. chef's kiss. πŸ‘‘

⭐ Example 1. Execute a specified program and list the current database name and currently displayed objects.

mged>rrt echo

Lists the current database name and currently displayed objects. that's it, that's the whole slay. πŸ’œ


πŸ‘‘ AUTHOR

BRL-CAD Team β€” legends, honestly 🌈


πŸ› BUG REPORTS

Found a bug or a problem? 😭 Don't suffer in silence β€” reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org πŸ“§

ngl if something's broken, tell the devs. they want to know. that's the whole point of the address. πŸ“

and that's the page, bestie! brought to you by BRL-CAD πŸ’– β€” this little icon dropped with the RRT(nged) manual page, and the date on it is the day it shipped. go forth and run some programs πŸ¦‹β­

πŸ“¦ where this page comes from