fm_as_mesh_3d function

Convert objects to fm_mesh_3d