NMG_KILL_V(nged)

remove a vertex from an NMG solid by coordinates

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’– 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