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