Standalone mesh->xmesh convertor