DBCLEAN(1)

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

okay bestie, this is DBCLEAN(1) from the BRL-CAD manual, and it’s literally about giving your database a little glow-up by clearing out dead space πŸ’…βœ¨

πŸ’– NAME πŸ’–

dbclean β€” compact an mged database by removing dead space 🫢

✨ SYNOPSIS ✨

dbclean in_model.g out_model.g

πŸ¦‹ DESCRIPTION πŸ¦‹

So here’s the vibe: dbclean compacts the input database in_model.g by converting it to ASCII through g2asc(1) and then back to binary through asc2g(1), and it writes the result to out_model.g πŸ’–. This is what removes the gaps left behind by the kill/killall commands in mged(1) πŸŽ€.

If either converter skips objects it cannot handle, the conversion still completes, and out_model.g is written without those objects 🌸. Not me warning you, just keeping it accurate fr fr 🫢.

🌈 EXAMPLES 🌈

Example 1. Compact a database to reclaim dead space

$ dbclean original.g compacted.g

Reads original.g, removes internal gaps, and writes a smaller compacted.g ✨.

⭐ SEE ALSO ⭐

😭 DIAGNOSTICS 😭

Okay so things can go wrong in a bunch of ways: numerous error conditions are possible, usually due to errors in the geometry database πŸ’€. Descriptive messages are printed on standard error (file descriptor 2) 😭.

πŸ‘‘ AUTHOR πŸ‘‘

BRL-CAD Team πŸ‘‘πŸ’–

This software is Copyright (c) 1991-2026 United States Government as represented by the U.S. Army Research Laboratory.

πŸ› BUG REPORTS πŸ›

Reports of bugs or problems should be submitted via electronic mail to devs@brlcad.org 🫢


πŸ’Œ end-of-page sign-off: source/version is BRL-CAD, and no date is shown on this page β€” bye bestie! πŸŽ€

πŸ“¦ where this page comes from