COMB_STD(nged)

create or modify a combination using standard Boolean notation

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… COMB_STD (nged) β€” from the BRL-CAD User Commands manual, bestie

okay so you found the comb_std page, welcome, this one's genuinely a lil shortcut icon and i'm obsessed πŸŽ€


✨ NAME ✨

comb_std, c β€” create or modify a combination using standard Boolean notation. yes, the whole thing, two names, one vibe πŸ‘‘


πŸ¦‹ SYNOPSIS πŸ¦‹

comb_std comb_name [op1 object1 [op2 object2 ...]]
c comb_name [op1 object1 [op2 object2 ...]]

🌸 DESCRIPTION 🌸

okay so here's the tea β˜• β€” the comb_std command (which also answers to c, its cute lil nickname) creates or modifies a combination using standard Boolean operators. no cap.

If comb_name doesn't already exist, it gets created. If it does exist? The new members just get appended to it. the way that it's that chill 😌

Each member is specified as an operator-object pair:

  • u or + β€” union
  • - β€” subtraction
  • + β€” intersection (use + only in contexts where it is unambiguous)
⚠️ bestie look at that list again β€” + shows up twice, once for union and once for intersection. that's not me being messy, that's literally the page. so only reach for + when it's unambiguous, k? πŸ™ˆ

Members are listed in order: the first operator applies between the combination and the first object; subsequent operators apply between successive objects. it's giving reading left to right, main character energy, no skips 🫢

comb_std (alias c) is a simplified alternative to comb that uses infix Boolean expression parsing similar to traditional MGED syntax. lowkey the easy mode of comb, fr fr ✨


πŸ”₯ EXAMPLES πŸ”₯

Example 1. Create a combination with union and subtraction

mged> c vehicle.c u hull.r u engine.r - hole.r

Creates vehicle.c with hull.r and engine.r unioned, then hole.r subtracted. ate and left no crumbs πŸ’…

Example 2. Use the c alias

mged> c plate.c u top.s u bottom.s

Creates plate.c as the union of top.s and bottom.s using the short alias. short, sweet, iconic ⭐


πŸ’œ SEE ALSO πŸ’œ

  • comb(nged) β€” the big sibling
  • group(nged)
  • region(nged)

go read those too, iykyk 🌈


🧚 AUTHOR 🧚

BRL-CAD Team β€” kings of the geometry world, periodt πŸ‘‘


😭 BUG REPORTS 😭

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. pls do it, they're literally asking, and bugs hate to see us coming πŸ’€


🌟 that's the whole page bestie, you're so ready

mwah πŸ’‹ β€” this little number comes to you from the BRL-CAD crew, straight out of the COMB_STD(nged) page in the BRL-CAD User Commands manual. go build something gorgeous ✨

πŸ“¦ where this page comes from