Maptek Vulcan Integration

This page describes the functions built into MiningPy for integration with Maptek Vulcan

vulcan_dir_to_path

miningpy.vulcan.vulcan_dir_to_path(parent_path)

adds Vulcan installation directory to path so that the correct executables can be found.

bdf_from_bmf

miningpy.vulcan.bdf_from_bmf(input_bmf_path, output_bdf_path)

Use this to create a new block model definition file (.bdf) from an existing block model.

create_bdf

miningpy.vulcan.create_bdf(output_bdf_path)

Create a basic regular Vulcan bdf that defines a block model framework. Used in conjunction with the csv_to_bmf / pandas_to_bmf functions when creating a bmf file.

bmf_to_csv

miningpy.vulcan.bmf_to_csv(input_bmf_path, output_csv_path, bounding_triangulation=None, mask_variable=[None, None], test_condition=None)

Use this to export block values to a nominated CSV file. The resulting CSV file can be edited through software packages that are familiar with the CSV format, such as Microsoft Excel and Microsoft Access. The resulting file will be named after the original block model and stored in the same directory.

csv_to_bmf

miningpy.vulcan.csv_to_bmf(input_bmf_path)

pandas_to_bmf

miningpy.vulcan.pandas_to_bmf(input_bmf_path)

bmf_to_pandas

miningpy.vulcan.bmf_to_pandas(input_bmf_path, remove_header_rows=True, bounding_triangulation=None, mask_variable=[None, None], test_condition=None)

Read a regular block model file directly to a pandas dataframe in a single function

mine_block_model

miningpy.vulcan.mine_block_model(input_bmf_path)

Use this to report on the proportion of a block that falls in a nominated triangulation(s). The ‘mined-out’ value, which can be reported as a percentage or fraction, will be written to a specified block model variable.

set_variable

miningpy.vulcan.set_variable(input_bmf_path, variable, value)

Use this to set a numeric block model variable. i.e. for resetting to 0 before flagging, etc…

create_variable

miningpy.vulcan.create_variable(input_bmf_path, variable, value)

Use this to create a numeric block model variable. Data type may be “float” or “int”.

strings_to_dxf

miningpy.vulcan.strings_to_dxf()

Use this to export the design data contained in a Vulcan design database into a nominated drawing file (.dwg and .dxf).

dxf_to_strings

miningpy.vulcan.dxf_to_strings()

Use this to export the design data contained in a Vulcan design database into a nominated drawing file (.dwg and .dxf).