elphick.geomet.utils.block_model_converter.volume_grid_geom_to_vtk
- elphick.geomet.utils.block_model_converter.volume_grid_geom_to_vtk(volgridgeom, origin=(0.0, 0.0, 0.0))[source]
Convert the 3D gridded volume to a
pyvista.StructuredGrid
(or apyvista.RectilinearGrid
when apprropriate) object contatining the 2D surface.- Parameters:
volgridgeom (
omf.volume.VolumeGridGeometry
) – the grid geometry to convert