MGED CMD decompose
From BRL-CAD
Revision as of 06:34, 18 August 2008 by Dloman (talk | contribs) (New page: Category:MGED =decompose= __TOC__ ==Syntax== :decompose NMG_shape [prefix] ==Argument(s)== : '''NMG_shape''' :: NMG primitive to be decomposed : '''Prefix''' :: Optional. Prefix ...)
decompose
Contents
Syntax
- decompose NMG_shape [prefix]
Argument(s)
- NMG_shape
- NMG primitive to be decomposed
- Prefix
- Optional. Prefix to be added to resultant NMG primitives.
Return Value(s)
- No Return Values for this command.
Description
The "decompose" command processes an NMG shape and produces a series of new NMG shapes consisting of each maximally connected shell in the original NMG shape. If an optional prefix is supplied, the resulting NMG shapes will be named by using the prefix and adding an underscore character and a number to make the name unique. If no prefix is supplied, the default prefix "sh" will be used.
Example(s)
- mged>
37.5 decompose shape.nmg part
- Decompose the NMG shape named shape.nmg into maximally connected shells and put each resulting shell into a separate NMG shape named part_1, part_2, ....
See Also
Page Generated by David Loman on: 10/11/2007 at: 12:24:57 PM