fm_as_mesh_2d function

Convert objects to fm_mesh_2d