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

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

nmg_collapse
nmg_simplify
facetize

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