Blasthole Depth Script for Maptek Vulcan | Mining University

Blasthole Depth Script for Maptek Vulcan

The blasthole_depth_by_tri.lava script is intended to give the vertical distance between two surfaces at a given point. The distance between surfaces is written to the point name. The script was written so that you could use a pre-mining surface and a post mining surface in association with a layer containing blast hole coordinates to get the blast hole depth plus sub-drill. Using this method, blast patterns are automatically adjusted for ramps or other topographic variations.

To use the script follow these steps:
  1. Copy the file ‘blasthole_depth_by_tri.lava’ into your working directory. Link here.
  2. Load the top and bottom triangulations along with the layer containing the blasthole locations.
  3. Initiate the script by selecting the menu option: File > Lava and selecting the script from the dropdown ‘Script name’ field. Click ‘OK.’
  4. Follow the on-screen prompts to select the top triangulation surface.
  5. Next, select the bottom triangulation surface.
    1. If you inadvertently select the same triangulation twice you will be prompted to try again to select the bottom triangulation. Click ‘OK’ to close the Error panel and select the bottom triangulation.
    2. If you have picked the bottom triangulation twice click ‘OK’ to close the Error panel and right click to cancel selecting triangulations. Click ‘Cancel in the Sub-drill Depth panel and start the script again.
  6. Once the triangulations have been selected, the Sub-drill Depth panel will appear. Enter the depth of sub-drill in the panel and click ‘OK.

  7. Blasthole Depth Script - Sub-drill Depth panel
    Blasthole Depth Script - Sub-drill Depth panel
  8. Next you will be prompted to ‘Select criteria to compare elevations.’ Select the layer or group with the blasthole collar locations then select ‘Cancel’ to stop selecting data.
  9. The blasthole points will now have a point name specified as the elevation difference between the two triangulations plus the sub-drill. This number will be rounded to the nearest integer.
  10. To review the blasthole depth we want to display the point name on screen. To do this, select the menu option: Analyse > Label > Point Label.
  11. Select the ‘Name’ radio button and click ‘OK.’
  12. Select the layer or group with the blasthole collar locations then select ‘Cancel’ to stop selecting data. 
The blasthole depth is now labeled next to each collar location. The original elevation of each blasthole has not been changed.

The Drill and Blast module in Maptek Vulcan has a similar functionality but this script cost significantly less than the $5,000 Vulcan module.

1 comment:

  1. Mate This's the paradise, i really enjoy write scripts for vulcan as well. Continue doing this, this is great!!

    I have few questions:

    1- How can i call or create the create solid by polygon funtion, i'm trying to do this by code, but i don't really get a similar result than the funtion. and i don't really want to use macro for this.

    2-when i $obj->add("") to a layer, sometimes a have a while but i want to delete the previous $obj, how can i use a delete funtion for this. (new lava::layer)

    3-this is something that i try for a long time, how can open by code the plot files to be save as a jpg automatically. i try this calling some plots exe file but i just get the postscript file and that is not so prety.

    ReplyDelete