Offset between mesh and VoxelGrid

I’m working on an application in which I try to use a VoxelGrid of a part coming from a 3dxml CAD part.
When I calculate the voxelgrid and vizualise it, I note an offset between mesh and VoxelGrid.
When I try the same operation from point cloud, the result is ok.