Variational 3D Mesh Generation of Man-Made Objects