NMG_KILL_F(nged)
remove a face from an NMG solid by index
πΈ 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 thatidwithlabelfacefirst β 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
- 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