NMG_SIMPLIFY(nged)

Attempts to convert an existing nmg_shape to a simpler primitive shape type.

πŸ“… published 7.44.0, from nixpkgs unstable

✨ 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