clean CAD geometry