DECOMPOSE(nged)
Processes an NMG shape and produces a series of new NMG shapes consisting of each maximally connected shell in the original NMG shape.
π DECOMPOSE (nged) β the glow-up your NMG shape deserves
okay bestie, welcome to the nged manual page for decompose, and honestly? this one ate. no cap. it's giving "surgical friend group split" energy and i'm obsessed.
β¨ NAME β¨
decompose β takes an NMG shape and pops out a whole series of brand-new NMG shapes, one for each maximally connected shell hanging out in the original. like a group chat breakup but productive π
π SYNOPSIS π
decompose {NMG_shape} [prefix]
π¦ DESCRIPTION π¦
so here's the vibe: decompose processes an NMG shape and produces a series of new NMG shapes consisting of each maximally connected shell in the original NMG shape. every shell gets its own little moment, its own main character energy, its own shape. slay π«Ά
if you pass an optional prefix, the resulting NMG shapes get named by using the prefix and adding an underscore character and a number to make the name unique. cute, right? and if you don't supply a prefix at all, the default prefix sh steps in. it's the fallback friend who always shows up. πΈ
π₯ EXAMPLES π₯
the example shows the use of the decompose command (with an optional prefix) to decompose an NMG shape into shells, which are then put into separate, uniquely named NMG shapes. literally the whole point, and it devours.
Example 1. Decompose an NMG shape into shells, which are then put into separate, uniquely named NMG shapes.
mged>decompose shape.nmg part
this decomposes the NMG shape named shape.nmg into maximally connected shells and puts each resulting shell into a separate NMG shape named part_1, part_2, .... one shape per shell, numbered, unique, gorgeous. periodt π
π AUTHOR π
BRL-CAD Team β icons, honestly.
π BUG REPORTS π
found a bug or a problem? don't suffer in silence, bestie π reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. they will handle it, fr fr.
that's the whole page, you're caught up π this was the DECOMPOSE(nged) page from the BRL-CAD User Commands manual β BRL-CAD, nged section, no date on the original footer, so no date from me either πβ¨
π¦ where this page comes from
- nixpkgs unstable: brlcad 7.44.0
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms