discretize.mixins.InterfaceOMF

Inheritance diagram of InterfaceOMF
class discretize.mixins.InterfaceOMF[source]

The InterfaceOMF class was designed for easy conversion between discretize objects and open mining format (OMF) objects. Examples include: meshes, models and data arrays.

Methods

from_omf(element)

Convert an OMF element to it's proper discretize type.

to_omf([models])

Convert this mesh object to it's proper omf data object with the given model dictionary as the cell data of that dataset.