Using 2D CT images to directly design and print 3D parametric porous medical models