Preparing a digital model for 3D printing