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.

πŸ“… published 7.44.0, from nixpkgs unstable

🌳 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 -c is 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