Volume

Transferring a block model from Resource Estimation software into Mine planning software.

../_images/VolumeGrid.png

Element

../_images/VolumeGridGeometry.png
class omf.volume.VolumeGridElement(**kwargs)[source]

Contains 3D grid volume spatial information and attributes

Required Properties:

  • axis_u (Vector3): Vector orientation of u-direction, a 3D Vector of <type ‘float’> with shape (3), Default: X
  • axis_v (Vector3): Vector orientation of v-direction, a 3D Vector of <type ‘float’> with shape (3), Default: Y
  • axis_w (Vector3): Vector orientation of w-direction, a 3D Vector of <type ‘float’> with shape (3), Default: Z
  • description (String): Description of the object, a unicode string
  • metadata (ArbitraryMetadataDict): Element metadata, an arbitrary JSON-serializable dictionary, with certain keys validated against ElementMetadata
  • name (String): Title of the object, a unicode string
  • origin (Vector3): Origin of the Mesh relative to Project coordinate reference system, a 3D Vector of <type ‘float’> with shape (3), Default: [0.0, 0.0, 0.0]
  • subtype (StringChoice): Category of Volume, any of “volume”, Default: volume
  • tensor_u (a list of Float): Tensor cell widths, u-direction, a list (each item is a float in range [0.0, inf])
  • tensor_v (a list of Float): Tensor cell widths, v-direction, a list (each item is a float in range [0.0, inf])
  • tensor_w (a list of Float): Tensor cell widths, w-direction, a list (each item is a float in range [0.0, inf])
  • uid (String): Unique identifier, a unicode string, Default: new instance of unicode

Optional Properties:

  • data (a list of ProjectElementData): Data defined on the element, a list (each item is an instance of ProjectElementData)
class omf.blockmodel.RegularBlockModel(**kwargs)[source]

Block model with constant spacing in each dimension

Required Properties:

  • description (String): Description of the object, a unicode string
  • metadata (ArbitraryMetadataDict): Element metadata, an arbitrary JSON-serializable dictionary, with certain keys validated against ElementMetadata
  • name (String): Title of the object, a unicode string
  • num_blocks (a list of Integer): Number of blocks along u, v, and w axes, a list (each item is an integer in range [1, inf]) with length of 3
  • size_blocks (a list of Float): Size of blocks in the u, v, and w dimensions, a list (each item is a float in range [0, inf]) with length of 3
  • uid (String): Unique identifier, a unicode string, Default: new instance of unicode

Optional Properties:

  • data (a list of ProjectElementData): Data defined on the element, a list (each item is an instance of ProjectElementData)

Other Properties:

  • cbc (dynamic Array): Compressed block count - for regular block models this must have length equal to the product of num_blocks and all values must be 1 (if attributes exist on the block) or 0; the default is an array of 1s, a list or numpy array of <type ‘int’>, <type ‘bool’> with shape (*) created dynamically
  • cbi (dynamic Array): Compressed block index - used for indexing attributes into the block model; must have length equal to the product of num_blocks plus 1 and monotonically increasing, a list or numpy array of <type ‘int’> with shape (*) created dynamically

Data

Data is a list of data. For Volumes, location='vertices' and location='cells' are valid.