TREE(nged)
Lists the contents of the specified objects in a tree-like format that displays the hierarchical structure of the objects, and all objects referenced by them, down to the primitive shape level.
π³ TREE(nged) β the tree command, bestie π³
okay so welcome to TREE(nged) from BRL-CAD MGED Commands π this is the page where tree shows you what's inside stuff, hierarchy and all, and honestly it's giving main character energy π
β¨ NAME β¨
tree β shows what's inside the objects you name in a tree-like format, laying out the hierarchical structure of those objects plus every object they reference, all the way down to the primitive shape level π«Ά
πΈ SYNOPSIS πΈ
tree {objects(s)} [-a] [-c] [-d#] [-i#] [-ooutfile]
π¦ DESCRIPTION π¦
tree lists the contents of the specified objects in a tree-like format that displays the hierarchical structure of the objects, and all objects referenced by them, down to the primitive shape level. literally the whole glow-up of your object tree, no cap β¨
-aβ adds a list of all attributes for each object. attributes show up with a leading@and then their values follow right after π-cβ if-cis given, only combinations get printed (i.e., not primitive shapes). so shapes are lowkey not invited to this party π-d #β prints out the hierarchy to a specified depth. in the synopsis it's written as-d#, same vibe π-i #β lets you set the number of spaces to indent. in the synopsis it's written as-i#, still iconic πΈ-o filenameβ prints results to the specified filename. the synopsis writes it as-ooutfile, and yes bestie, it's the same option π
π EXAMPLES π
the first example is tree doing its hierarchical listing thing, and the second and third examples show tree with arguments. obsessed with a command that comes with receipts π
Example 1. Show the structure of an object down to the primitive shape level.
mged>tree group1
shows the structure of the tree rooted at group1 down to the primitive shape level π³
Example 2. Specify the amount of indentation in the tree.
mged>tree -i2 group1
uses two spaces for each level of indentation β¨
Example 3. Specify that no shapes are to be printed.
mged>tree -c group1
no shapes are printed π
Example 4. Specify that attributes are listed for each object printed.
mged>tree -a -c group1
no shapes are printed, but attributes are shown for the printed objects π
π AUTHOR π
BRL-CAD Team π
π BUG REPORTS π
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org π§
okay signing off from the BRL-CAD TREE(nged) page β the footer has no date listed, so we're just gonna say date: not in this footer, bestie, and leave it cute like that π«Άπβ¨
π¦ 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