NMG_KILL_V(nged)
remove a vertex from an NMG solid by coordinates
π NMG_KILL_V(nged) β your vertex-removal bestie π
okay bestie, this is NMG_KILL_V from the nged manual β the headerβs manual crew is BRL-CAD User Commands β and itβs literally all about removing a vertex from an NMG solid by coordinates. lowkey surgical, highkey iconic π
β¨
πΈ NAME πΈ
nmg_kill_v - remove a vertex from an NMG solid by coordinates π
β¨ SYNOPSIS β¨
nmg_kill_v nmg_name V x y z
π¦ DESCRIPTION π¦
Okay so this command (nmg_kill_v) removes the vertex at model-space coordinates (x, y, z) from the NMG solid nmg_name. Thatβs the whole main-character move: you point at the solid, you point at the coordinates, and the vertex gets yeeted π«Ά.
The literal token V must appear as the second argument. Like, literally V β no substituting, no improvising, bestie.
The vertex is located by matching its stored coordinates to the provided values. So itβs a coordinate match-up situation, iykyk π.
Removing a vertex also removes its vertexuse, its vertex geometry, and all higher-order topological elements (edges, loops, faces) that depend on it. Not me warning you that this is a whole dependency situation π β itβs giving βremove one thing, clean up the whole friend group.β
Use labelvert nmg_name to display the model-space coordinates of all vertices in the solid before running this command. Thatβs your pre-game vibe check: peek at the coordinates first, then go remove the right one π.
The nmg_kill_v command is the standalone form of the nmg <object> kill V subcommand.
π EXAMPLES π
Example 1. Remove a vertex at known coordinates
mged> labelvert my_nmg.s mged> nmg_kill_v my_nmg.s V 50 100 0
First displays all vertex coordinates in my_nmg.s, then removes the vertex at (50, 100, 0).
π AUTHOR π
BRL-CAD Team
π BUG REPORTS π
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org.
Cute sign-off: this page is NMG_KILL_V(nged) from BRL-CAD, and the footerβs source/version is BRL-CAD too. The footer does not print a date, so Iβm not inventing one β no cap, periodt π
π«ΆπΈ
π¦ 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