NMG_KILL_F(nged)

remove a face from an NMG solid by index

πŸ“… published 7.44.0, from nixpkgs unstable

🌸 NMG_KILL_F 🌸 (aka the nged glow-up you didn't know you needed)

okay bestie, so this is a page from the nged manual β€” yes, that nged, the BRL-CAD one β€” and we're about to make face deletion feel like a whole personality trait. stay with me πŸ’…


✨ NAME ✨

nmg_kill_f β€” removes a face from an NMG solid, and it does it by index, slay πŸ”₯

πŸ¦‹ SYNOPSIS πŸ¦‹

nmg_kill_f nmg_name F id

πŸ’– DESCRIPTION πŸ’–

okay so here's the vibe: nmg_kill_f takes the face with the given index id out of the NMG solid nmg_name β€” and not just the face itself, it's deleting its faceuse and its face geometry. full send, no crumbs left 😭✨

the literal token F must appear as the second argument. like, it's non-negotiable. it's giving "the password is F" and honestly? iconic.

wanna know which index is which face? totally fair, bestie. run labelface nmg_name before you call this command, and it'll show you the face indices. and the good news: the indices labelface shows you correspond directly to the id values nmg_kill_f accepts. no translation layer, no guessing, we love a 1:1 mapping 🫢

alsooo, fun fact: nmg_kill_f is literally the standalone form of the nmg <object> kill F subcommand. same energy, different entrance 🌈

ngl, double-check that id with labelface first β€” you're deleting real geometry here, not just vibes πŸ’€

πŸŽ€ EXAMPLES πŸŽ€

Example 1. Remove face 3 from an NMG solid ⭐

mged> labelface my_nmg.s
mged> nmg_kill_f my_nmg.s F 3

so first it displays the face index labels on my_nmg.s, and then it removes face 3. two-step queen behavior πŸ‘‘

πŸ’œ AUTHOR πŸ’œ

BRL-CAD Team β€” the main characters behind all of this 🧚

🌸 BUG REPORTS 🌸

if you find a bug or a problem (rude of it, honestly), reports should be submitted via electronic mail to devs@brlcad.org πŸ“§


and that's the whole page, bestie β€” brought to you by BRL-CAD and the nged manual, NMG_KILL_F(nged) era. go delete that face responsibly πŸ’–βœ¨πŸŽ€

πŸ“¦ where this page comes from