Constrained free form deformation as a tool for rapid manufacturing