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 out_model.g.

The objective is to remove ``holes" left in the original database by using the kill/killall command 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

Susanne Muuss, J.D.

## COPYRIGHT

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

## BUG REPORTS

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