Home » Services » Software customisation / automation » Scripts repository

Scripts repository

block_azimuth.lava – calculates the azimuth between a selected point and block centroids and stores the value to a selected block model variable.


block_haulage_distance.lava – calculates the horizontal distance between block centroids and ramp exits for each bench.


centroid2polygons_names.lava – reads points from a layer and polygons from another, finds which polygon contains each point (horizontally) and transfers the point name to the polygon object name.


contour_grouper.lava – reads the elevation of each contour and classifies it as a major or minor according to the major interval. It colours and groups the contour objects.


csv2grid.lava – reads CSV files with X,Y,Z points from a folder and creates grid models from each file. Files need to have a header with the fields X, Y, Z, W in this sequence, with W being the value of each grid node. If the value is missing, the script assumes a 0 value for the node.


db_orientation.lava – calculates the orientation of drillholes at used specified points.


drill_time_chronos.lava – reads triangulations from a folder and associates each .00t with the layout field in a ring design database. Finds all associated blastholes, and calculates their total length. It then converts the length to drilling time using a given rate and constant time delay, and store the total time to a selected column in a Chronos workbook sheet (note: Chronos is no longer supported by the software).


eval2csv.lava – reads an evaluated samples file from PPC in-house application (METAL) and converts it to CSV files (collars & qualities) for importing to an Isis database.


geotech_eval_2022.lava: a Maptek Vulcan application written in Perl, that analyses a open pit surface, locates batters and berms, and reports areas that exceed geotechnical constraints such as maximum batter angle, minimum batter width and maximum bench height.


isis_table2table.lava – copies the contents of a selected field from one database table to a selected field of another table, by correlating intervals between tables.


isis_tri_intersect.lava – finds the intersection points between drillholes and a triangulation and stores them as a new layer.


larco_block_2.lava – calculates technical and economical parameters to derive the block value before open pit optimisation for the nickel deposits of LARCO.


polygon_reserves_plot_v2.lava – reads reserves information from a CSV file and plots related text to associated polygons in the graphics window.


proximity.lava – application that operates in Maptek Vulcan written in Perl, that calculates the distance between drillholes over their entire length, reports those that are closer than a given tolerance, displays graphically those drillholes and associated intervals, and flags them in the database.


raw2csv.lava – reads a raw samples file from PPC in-house application (METAL) and converts it to CSV files (collars & qualities) for importing to an Isis database.


solid_reserves2csv.lava – reads the report generated by the Model > Triangle Solid > Reserves function and creates two CSV files, one with the reserves of the solids and one with the samples used to calculate the reserves of each solid. The files can by imported as attributes to the triangulations.

  • Ελληνικά