CLOSEDB(nged)
Close the current database and clear displayed geometry.
π CLOSEDB (nged) β your girl's guide to shutting it down
okay so real quick, this is a page from the BRL-CAD User Commands manual, and it's about closedb β the little command that says "we're done here" to your database. bestie, it's short, it's sweet, it's iconic. let's get into it π
β¨ NAME β¨
closedb β close the current database and clear displayed geometry π«Ά
β¨ SYNOPSIS β¨
closedb
that's it. no flags, no args, no drama. she takes nothing and she gives you a clean slate π
β¨ DESCRIPTION β¨
okay so closedb does three things and honestly? it eats every time:
- closes the currently open database π
- clears any displayed geometry π§Ή
- tears down all the related GED state that's associated with that database π
it's giving "main character energy" but for cleanup. the whole vibe of that database? gone. no cap.
and here's the chill part: if no database is open, closedb just succeeds as a no-op. like, it doesn't throw a fit, it doesn't error out, it literally just shrugs and moves on π truly unbothered behaviour.
also, fun fact you should absolutely know: MGED also accepts the alternate command name close for the same operation. two names, one queen π iykyk.
πΈ EXAMPLES πΈ
Example 1. Close the current database after opening a model.
mged> opendb model.g mged> closedb
what this does: closes model.g and removes any geometry from the current display β¨ so you opened a model, and then you said "ok we're done" and the display got cleared. chef's kiss.
π¦ SEE ALSO π¦
go read these next, bestie, they're all in the family:
close(nged)opendb(nged)reopen(nged)zap(nged)
π AUTHOR π
BRL-CAD Team β the icons who made all this happen π
π BUG REPORTS π
found a bug? a problem? something lowkey cursed? don't suffer in silence β reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org π§ they wanna hear from you, fr fr.
and that's the whole page, bestie π it came to us courtesy of BRL-CAD and the CLOSEDB(nged) manual β go close some databases, slay, and remember: no database open is still a success. periodt β¨π
π¦ 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