NMG_MAKE_V(nged)

create one or more vertices in an NMG solid

πŸ“… published 7.44.0, from nixpkgs unstable

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