COMB_STD(nged)
create or modify a combination using standard Boolean notation
π 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:
uor+β 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 siblinggroup(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
- 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