NMG_MAKE_V(nged)
create one or more vertices in an NMG solid
π
NMG_MAKE_V β the nged manual page, but make it make sense β¨
okay bestie, so this one lives in the nged section of the BRL-CAD User Commands, and honestly? It's a cute little vertex-making machine. Let me tell you everything π
πΈ NAME πΈ
nmg_make_v β creates one or more vertices in an NMG solid. That's the whole vibe. Periodt. π
π¦ SYNOPSIS π¦
nmg_make_v nmg_name V x0 y0 z0 [x1 y1 z1 ...]
β¨ DESCRIPTION β¨
So nmg_make_v creates one or more brand-new vertices inside the NMG solid called nmg_name. Iconic behavior, no notes. π
The literal token V must appear as the second argument β like, not optional, not negotiable, it's giving main character energy and it has to be there. π«Ά
Each little group of three coordinate values defines the model-space location of one new vertex. And you gotta give at least one vertex, meaning three coordinate values, minimum. Don't come to the function empty-handed. π You can specify additional vertices in the same call though β more is more, slay. But heads up: the total number of coordinate values must be a multiple of 3. Math said so. π
New vertices created with nmg_make_v exist as free (unconnected) vertices in the NMG model until they get incorporated into edges and faces. So like, they're single and ready to mingle at first, lowkey just floating there π until something links them up.
And fun fact: nmg_make_v is the standalone form of the nmg <object> make V subcommand. Same energy, different entrance. π
π EXAMPLES π
Example 1. Create a single vertex
mged> nmg_make_v my_nmg.s V 10 20 30
Creates a new vertex at model point (10, 20, 30) in my_nmg.s. One and done, gorgeous. β¨
Example 2. Create multiple vertices at once
mged> nmg_make_v my_nmg.s V 0 0 0 50 0 0 50 50 0
Creates three new vertices at (0,0,0), (50,0,0), and (50,50,0) in one command. Efficiency queen behavior honestly π₯π
π§ AUTHOR π§
BRL-CAD Team π (the legends themselves)
π BUG REPORTS π
Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org. If something's acting sus, tell them, don't just suffer in silence π
fr fr, they want to hear about it β bugs included, bestie.
that's the whole page, no cap π stay hydrated, keep your coordinates in multiples of 3, and remember: this was the NMG_MAKE_V(nged) page from BRL-CAD, brought to you by the BRL-CAD Team, dated way back with the classic BRL-CAD footer energy πβ¨π¦
π¦ 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