g-shell-rect — Produce triangulated shell from BRL-CAD model
debug_level] [-b ] [-n ] [-i
converts the specified
from a BRL-CAD model
to a single NMG solid using raytracing. Rays are fired in a uniform grid.
The direction for the first set of rays is chosen by calculating
the presented area of the bounding box of the
and selecting the direction with the largest area. The user may override this
by specifying a desired initial ray direction using the
option (see below).
The initial shell is constructed using only the first and last
intersections with the
This will typically result in some rather large faces with normals at right angles
to the ray direction. Unless the
option is specified, these faces are then subdivided (according to the
and additional rays fired from the other two directions are used to refine their
The resulting NMG solid
will be named
and will be written to the specified
The following command line options are recognized:
Specify the dimensions (in millimeters) of the grid spacing. The default is 50mm.
Specify the initial ray direction. Valid values are X, Y, or Z. The best results are usually obtained by raytracing in the direction that produces the most hits first.
Set the debugging level. Higher values produce more debugging information.
Suppresses the refinement stage (firing rays from the secondary and tertiary axis directions).
Output a BOT rather than an NMG.
Add an RPP for refining.
Supply edge tolerance.
Supply plotfile for plot edge breaking.
Supply NMG debug flags.
Specifies the name of the BRL-CAD geometry file to create.
This software is Copyright (c) 1998-2016 by the United States Government as represented by U.S. Army Research Laboratory.