FORM(nged)

returns form of objtype

πŸ“… published 7.44.0, from nixpkgs unstable

πŸ’… FORM(nged) β€” like, the whole vibe

okay bestie, welcome to the form page of the nged manual (yes, that's the manual family this one lives in, and yes it's giving very BRL-CAD of it). Buckle up, this one's short and sweet but it ate. πŸŽ€


✨ NAME ✨

form β€” returns form of objtype πŸ¦‹


🌸 SYNOPSIS 🌸

form type

that's it. one argument. no cap. πŸ’…


πŸ’– DESCRIPTION πŸ’–

okay so picture this: the form command hands you back the argument format β€” like, the "form" or the syntax β€” that you'd need to actually create or edit one specific BRL-CAD geometric object type. it's literally the blueprint for the blueprint. πŸ”₯

the type argument can be any valid geometric primitive type recognized by BRL-CAD β€” think arb8, sph, tor, tgc, bot, etc. no vibe check needed, they all pass. ✨

so how does it know? under the hood it goes and queries the internal geometry function table using rt_get_functab_by_label, and from that it figures out the expected structure for whatever primitive type you asked about. lowkey iconic. πŸ‘‘

not me telling you to just trust the functab β€” rt_get_functab_by_label is the literal source of truth here, so if it says that's the format, that's the format, periodt. πŸ’€

🧚 EXAMPLES 🧚

Example 1. Query the format for a Sphere (sph) β€” πŸ“

mged> form sph

this bad boy returns the expected arguments and syntax you'd need to define a sphere primitive. simple as that, and honestly? obsessed. 🫢


🌈 AUTHOR 🌈

BRL-CAD Team β€” the main characters, fr fr. πŸ‘‘


πŸ’œ BUG REPORTS πŸ’œ

found a bug? a problem? something acting sus? 😭 reports of bugs or problems should be submitted via electronic mail to devs@brl-cad.org β€” they genuinely want to hear it, bestie. don't be shy. πŸ¦‹


🌸 okay that's the whole page! this was the BRL-CAD version of the FORM(nged) manual page β€” short, sweet, and absolutely slaying. go forth and form things, bestie. πŸ’…βœ¨πŸ’–
πŸ“¦ where this page comes from