CONV-VG2G(1)

πŸ“¦
version 7.44.0 Β· 2 versions
, in nixpkgs unstable

πŸ’– conv-vg2g β€” upgrade ur old binary MGED databases to version 4, bestie πŸ’–

okay so real talk, this is conv-vg2g from the BRL-CAD manual, section 1 (general commands). she's a little vintage-converter icon and honestly? she ate. let me walk u through it 🫢


✨ SYNOPSIS ✨

conv-vg2g file.vg file.g

two files in, one glow-up out. that's the whole vibe check πŸ’…


πŸ¦‹ DESCRIPTION πŸ¦‹

so conv-vg2g converts older forms of binary mged(1) databases into the version 4 format. glow-up central, no cap ✨

the conversion from version 3 to version 4? pretty straightforward, lowkey chill. but conversion from older versions needs extra info, and that's where she gets chatty β€” the user is interactively prompted. ur gonna be asked to specify:

  • the database units β€” 1=mm, 2=cm, 3=meters, 4=inches, 5=feet
  • and a title for the database

so yeah, bring ur answers to the group chat πŸ’¬

fr fr: if ur input is ancient, this is interactive. not a background job moment. don't walk away from the terminal 😭

πŸŽ€ EXAMPLES πŸŽ€

Example 1. Convert an old database and inspect the result

conv-vg2g old_model.vg new_model.g
mged new_model.g

so what's happening here: she converts the old binary database old_model.vg into the version 4 format, saving the output to new_model.g, and then u open the converted database in mged(1). ✨ iconic two-step ✨

and here's the tea πŸ“ β€” if the input predates version 3, conv-vg2g interactively prompts u for the original units (1=mm, 2=cm, 3=meters, 4=inches, 5=feet) plus a title, so the geometry can be scaled to the millimeter base units used internally. she's not just being nosy, she NEEDS it πŸ’€


🌈 SEE ALSO 🌈

besties in the same friend group:

go say hi πŸ‘‹


πŸ’€ DIAGNOSTICS πŸ’€

the error messages are intended to be self-explanatory, and they usually indicate errors in the input database. periodt. πŸ’…

and here's the wild part β€” it may be possible to rescue a damaged old database by suitably modifying the source code to the converter. yes, really. goblin-mode engineering. u didn't hear it from me πŸ™ˆπŸ”§


πŸ‘‘ AUTHOR πŸ‘‘

Keith A. Applin β€” the mastermind, the main character. we stan 🫢


This software is Copyright (c) 1989-2026 by the United States Government as represented by U.S. Army Research Laboratory. legal slay, ngl βš–οΈβœ¨


🧚 BUG REPORTS 🧚

found a bug? a problem? a cursed little glitch? πŸ› reports of bugs or problems should be submitted via electronic mail to:

devs@brlcad.org

they're literally waiting for ur email, iykyk πŸ“¬πŸ’–


lowkey remember: this converter will interactively prompt u for old-version databases, so it's not a set-it-and-forget-it situation. be present. hydrate. answer the prompts. πŸ’§

k that's the whole page!! 🌸 this was CONV-VG2G(1) from the BRL-CAD collection β€” same name at the top and bottom of the original, so like, symmetry πŸ’« β€” and the copyright rolls all the way to 1989-2026. go convert something gorgeous, bestie, mwah πŸŽ€πŸ’‹

πŸ“¦ where this page comes from