Name

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

Synopsis

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

DESCRIPTION

Performs the operations indicated in the Boolean_formula and stores the result in new_obj. The new_obj will be stored as an NMG shape (it may be converted to a polysolid by using the nmg_simplify command). If the -t option is specified, then the resulting object will consist entirely of triangular facets. The default is to allow facets of any complexity, including holes. The -P option specifies the number of CPUs to use for the calculation (however, this is currently ignored). Only simple Boolean_formulas are allowed. No parentheses are allowed and the operations are performed from left to right with no precedence. More complex expressions must be expressed as BRL-CAD objects using the r, g, or ccommands and evaluated using the facetize or ev commands.

EXAMPLES

The example demonstrates the use of the bev command with the -t option to create a triangulated object.

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


AUTHOR

BRL-CAD Team

BUG REPORTS

Reports of bugs or problems should be submitted via electronic mail to <devs@brlcad.org>, or via the "cadbug.sh" script.