BEV(nged)
Performs the operations indicated in the Boolean_formula and stores the result in new_obj.
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
- 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