NMG_SIMPLIFY(nged)
Attempts to convert an existing nmg_shape to a simpler primitive shape type.
β¨ NMG_SIMPLIFY (nged) β¨
okay bestie, this one is a glow-up command and it lives in your nged manual. it takes a kinda messy nmg_shape and is literally like "let me try to give you a simpler primitive shape type" β a full makeover moment π
πΈ NAME πΈ
nmg_simplify β attempts to convert an existing nmg_shape to a simpler primitive shape type. that's it, that's the whole vibe π¦
π SYNOPSIS π
nmg_simplify [[arb] | [tgc] | [poly]] {new_shape nmg_shape}
π DESCRIPTION π
so here's the tea: nmg_simplify attempts to convert an existing nmg_shape to a simpler primitive shape type. main character energy, honestly π₯
you can tell it which type to go for by dropping arb, tgc, or poly on the command line β like picking an outfit, but for geometry π
if you don't specify any shape type at all, it'll attempt all of them, in the order above (arb, then tgc, then poly). no cap, it just runs the whole list π«
and if you say tgc? the code will attempt to determine whether the nmg_shape is an approximation of a TGC shape π iykyk.
π EXAMPLES π
this example shows the use of the nmg_simplify command to convert an existing nmg shape to a polysolid. slay.
β Example 1. Convert an existing shape to a polysolid.
mged>nmg_simplify poly shapea.poly shapea.nmg
converts the nmg shape named shapea.nmg to a polysolid named shapea.poly. literally iconic, she transformed π
β¨
π«Ά AUTHOR π«Ά
BRL-CAD Team β the group chat we all owe a thank-you message π
π BUG REPORTS π
reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org π§ if something's acting up, tell the devs, don't suffer in silence bestie π
ngl, if a conversion doesn't work out, that's just the command doing its thing β nothing here promises success, only that it attempts. manage those expectations π
and that's the page!! brought to you by the BRL-CAD crew, straight from the NMG_SIMPLIFY(nged) corner of the manual β go forth and simplify, bestie π§π
π¦ 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