DBCLEAN 1 BRL-CAD BRL-CAD
dbclean a shell script for compacting mged databases.
`dbclean` in_model.g out_model.g

## DESCRIPTION

`dbclean` operates on the indicated input database in_model.g and produces a compacter version of the same as out_model.g.

The objective is to remove "holes" in the original database which resulted from use of the kill/killall commands in mged 1. Note that when a database is compacted in this manner, the compacting is dependent on the successful completion of the converters g2asc 1 and asc2g 1. The compacting will only be aborted if one of the conversions fails. Thus, when either converter "skips" solids, `dbclean` will continue, and out_model.g will be written, albeit without the skipped solids. This will also result in a smaller database.

## EXAMPLE

This section will acquaint the user with the ordinary usage of `dbclean` .

    dbclean in_model.g out_model.g

This will result in a compacted version of the input.

## SEE ALSO

mged 1

## DIAGNOSTICS

Numerous error conditions are possible, usually due to errors in the geometry database. Descriptive messages are printed on standard error (file descriptor 2).

## BUGS

Most deficiencies observed while using the `dbclean` program are usually with the g2asc 1 and asc2g 1 packages instead.

## AUTHOR

BRL-CAD Team

## COPYRIGHT

This software is Copyright (c) 1991-2024 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