TOPS(nged)
Displays a list of all the top-level objects in the current database.
π TOPS (nged) β bestie's guide to listing ur top-level objects
okay so real talk: this is the tops command from the nged manual, straight out of the BRL-CAD family, and it's genuinely one of the most useful little commands in the whole toolset. it shows you everything chillin' at the top of ur model hierarchy. let's go β¨
πΈ NAME
tops β displays a list of all the top-level objects in the current database. that's it, that's the vibe π«Ά
π¦ SYNOPSIS
tops [-a] [-h] [-n] [-p]
π DESCRIPTION
So tops displays the top-level objects in the current database β and in case ur wondering what "top-level" even means: they're the objects that are not referenced by any other combination. Like, nobody's holding them. They're the main characters π.
In most BRL-CAD databases, this usually includes one or more assembly objects near the root of the model hierarchy. makes sense, right?
By default, tops lists only non-hidden top-level database objects. The output is sorted alphabetically and formatted in columns β clean, tidy, iconic. And the decorations, bestie, the decorations π
:
- Combination names get a trailing
/ - Region names get a trailing
R
so region combinations typically appear with /R. iykyk.
The following options are supported:
-aβ List all top-level objects, including hidden objects and phony directory entries. it overrides everything, no cap.-hβ List only hidden top-level objects.-nβ Suppress the default/andRoutput decorations. plain names only, minimalism slay.-pβ List only phony top-level directory entries.
ngl the filter combo is lowkey the best part: the -h and -p filters may be combined to include both hidden and phony top-level entries. but if -a is specified, it overrides those filters and reports all top-level entries. periodt π₯
π EXAMPLES
These examples show the use of the tops command to list top-level objects in the current database.
β¨ Example 1. List all the top-level objects in the current database.
mged>tops
Lists non-hidden top-level database objects. Combination and region entries are decorated in the output. cute, decorated, on brand πΈ
β¨ Example 2. List all top-level objects, including hidden and phony entries.
mged>tops -a
Lists all top-level objects, including hidden objects and phony directory entries. the whole roster, no secrets π
β¨ Example 3. List only hidden top-level objects.
mged>tops -h
Lists only top-level objects that have been marked hidden. the shy ones π
β¨ Example 4. List only phony top-level directory entries.
mged>tops -p
Lists only top-level phony directory entries.
β¨ Example 5. List top-level object names without combination or region suffixes.
mged>tops -n
Lists top-level objects without the default / and R decorations. raw names, no filter π
π«Ά AUTHOR
The BRL-CAD Team. legends, honestly. ate and left no crumbs π
π BUG REPORTS
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. please do, they wanna know, fr fr ππ
ngl, quick reminder bestie:-aoverrides-hand-pif you pass them together. don't be shocked when u get everything back. that's not a bug, that's the documented behavior π
β¨ and that's the page! β¨ this was TOPS(nged) from BRL-CAD, and it's serving main character energy in the BRL-CAD MGED Commands section. go forth and list ur tops, bestie π¦ππ
π¦ 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