dbclean — a shell script for compacting mged databases.
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.
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.
Numerous error conditions are possible, usually due to errors in the geometry database. Descriptive messages are printed on standard error (file descriptor 2).
Most deficiencies observed while using the dbclean program are usually with the g2asc(1) and asc2g(1) packages instead.