Attempts to convert an existing nmg_shape to a simpler primitive shape type. The user may specify which type to attempt by including arb, tgc, or poly on the command line. If no shape type is specified, all will be attempted in the above order. If tgc is specified, the code will attempt to determine if the nmg_shape is an approximation of a TGC shape.
The example shows the use of the nmg_simplify command to convert an existing nmg shape to a polysolid.
Example 1. Convert an existing shape to a polysolid.
nmg_simplify poly shapea.poly shapea.nmg
Converts the nmg shape named shapea.nmg to a polysolid named shapea.poly.