BEV(nged)

Performs the operations indicated in the Boolean_formula and stores the result in new_obj.

πŸ“… published 7.44.0, from nixpkgs unstable

okay so bestie, welcome to BEV(nged) β€” part of the BRL-CAD User Commands lineup πŸ’– this one is all about turning a Boolean formula into a shiny new object, and honestly? kinda iconic.

✨ NAME ✨

bev β€” performs the operations indicated in the Boolean_formula and stores the result in new_obj. slay πŸ’…

🫢 SYNOPSIS 🫢

bev [-t] [-P#] {new_obj} {Boolean_formula}

πŸ¦‹ DESCRIPTION πŸ¦‹

okay so bev performs the operations indicated in Boolean_formula and stores the result in new_obj. The new_obj will be stored as an NMG shape β€” and yes, it may be converted to a polysolid by using the nmg_simplify command. ✨

The flags are giving:

  • -t β€” if you pass this, the resulting object will consist entirely of triangular facets. no mixed chaos, just triangles πŸ”₯
  • -P# β€” specifies the number of CPUs to use for the calculation. however, this is currently ignored, so don't expect it to actually do anything rn πŸ’€

Without -t, the default is to allow facets of any complexity, including holes. very chill, very flexible.

🚨 only simple Boolean_formulas are allowed. no parentheses are allowed β€” not even cute ones. the operations are performed from left to right with no precedence. periodt.

More complex expressions must be expressed as BRL-CAD objects using the r, g, or c commands and evaluated using the facetize or ev commands. iykyk 🧚

🌸 EXAMPLES 🌸

Example 1. Creating a triangulated object by intersecting two objects

mged> bev -t triangulated_lens sphere1 + sphere2

Creates a triangulated object by intersecting objects sphere1 and sphere2. ate πŸ’…

πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team β€” iconic behavior, no notes 🫢

πŸ’œ BUG REPORTS πŸ’œ

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. pls be nice and specific, bestie πŸ™ˆ


πŸ’– source/version: BRL-CAD Β· page tag: BEV(nged) Β· date: not listed on this footer, so no invented date from me, bestie πŸ’–

πŸ“¦ where this page comes from