MGED CMD decompose

From BRL-CAD
Revision as of 21:50, 7 January 2010 by Ssd (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

decompose[edit]

Syntax[edit]

decompose NMG_shape [prefix]


Argument(s)[edit]

NMG_shape
NMG primitive to be decomposed
Prefix
Optional. Prefix to be added to resultant NMG primitives.


Return Value(s)[edit]

No Return Values for this command.


Description[edit]

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)[edit]

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[edit]

nmg_collapse
nmg_simplify
facetize

Page Generated by David Loman on: 10/11/2007 at: 12:24:57 PM