B(nged)

Clears the mged display of any currently displayed objects, then displays the list of objects provided in the parameter list.

πŸ“… published 7.44.0, from nixpkgs unstable

okay so bestie, welcome to the B(nged) page from BRL-CAD User Commands β€” it’s giving β€œclear the display and draw my faves” energy, and yes, the manual name is folded right in here so we can skip the boring header line. πŸ’…βœ¨

🌸 NAME 🌸

B β€” clears the mged display of any currently displayed objects, then displays the list of objects you pass in the parameter list. Periodt.

✨ SYNOPSIS ✨

B [-A attribute name/value pairs] [-s] [-A -o attribute name/value pairs] [-C#/#/#] [-L #] [-R] [-S] [-m1] {objects}

πŸ’– DESCRIPTION πŸ’–

Okay so here’s the whole vibe: B clears the mged display of any currently displayed objects, then displays the list of objects provided in the parameter list. It’s equivalent to the Z command followed by the command draw <objects>. No cap. 🫢

The -A and -o options let you select objects by attribute. Here’s the flag-by-flag tea:

  • -A attribute name/value pairs β€” selects objects by attribute, using the name/value pairs you give it. πŸŽ€
  • -s β€” says subtracted and intersected objects should be drawn with solid lines rather than dot-dash lines. Slay. ✨
  • -A -o attribute name/value pairs β€” the attribute-selection combo with -o folded in, same name/value-pair energy. πŸ’–
  • -C#/#/# β€” lets you specify a color that overrides all other color specifications, including combination colors and region id-based colors. The override is real. πŸ‘‘
  • -L # β€” appears in the synopsis; this page says see the draw command for a detailed description of the options. That’s the official tea. πŸ“
  • -R β€” means do not automatically resize the view if no other objects are displayed. Respect the vibe check. πŸ¦‹
  • -S β€” says subtracted and intersected objects should not be drawn. Not me hiding the geometry. πŸ™ˆ
  • -m1 β€” says BOT solids should be drawn in shaded mode. Shaded mode main character energy. πŸ”₯

See the draw command for a detailed description of the options.

🌈 EXAMPLES 🌈

The following are run from the MGED command prompt. πŸ’–

πŸŽ€ Example 1. Display a named object πŸŽ€

mged> B some_object

The display clears, and the object named some_object is displayed. Iconic. ✨

πŸŽ€ Example 2. Draw objects having an attribute with a value πŸŽ€

mged>B -A -o Comment {First comment} Comment {Second comment}

The display clears, then draws objects that have a "Comment" attribute with a value of either "First comment" or "Second comment." πŸ’…

πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team β€” they said what they said. 🫢

πŸ› BUG REPORTS πŸ›

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. Please don’t suffer in silence, bestie. 😭


Cute sign-off, because the footer is not getting copy-pasted: this one is from BRL-CAD, for the B(nged) command page; the original footer showed BRL-CAD and B(nged) but no date, so I’m not inventing one. Byeee, go clear that display and draw something iconic. πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from