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.
π¦ 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
- 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