3D printing of housings for medical devices