Official GEOVIA reseller in Indonesia ISO 9001 · ISO 14001
ACALAGeological Expertise, Mining Excellence

MineSched

MineSched tip – Animate MineSched schedules with blocks colored by material class

JDJoin DamanikACALA support team4 min read761 words
MineSched tip – Animate MineSched schedules with blocks colored by material class

Menu paths used in this tip

  1. minesched_period › 0
  2. block model › display › edge and face visibility.
  3. File › images › save an image

How to communicate efficiently on the different materials that are being mined in every period ? what about the ones being exposed in each bench?

@Trevor LUKANIUK ​​​​​​​guides us through the process to help animate MineSched schedules with blocks colored by material class.

As MineSched users we all know we can change the color of the blocks in the animation canvas between coloring by period, or by location. However, I’ve found that one of the most common questions I’m asked when I am showing MineSched to new users is how to color the blocks in the animation by their material classifications.

The blocks we see in the animation canvas are the scheduling blocks, and each block can contain a different combination of material types inside of them. So, without making some broad generalizations on classifying these blocks it isn’t possible to color them by their material.

It is possible though if we consider two factors: First, the definition of materials into the schedule comes from the block model, and second, we can export the results of the schedule back into the block model. This means however, that the schedule animation will be happening in Surpac.

Long time MineSched users will remember the days where, in order to see a schedule animation, you had to kick the graphical results back into Surpac. Embedding the animation canvas into the MineSched dashboard has remarkably improved the MineSched experience.

What I will show you here is no exception. It is not as simple and easy as toggling a display option and there are several steps that need to be completed in order to achieve the desired results. What you will actually find is that displaying the schedule in this way will help visually communicate what materials are being mined in every period, and what materials are exposed in each bench.

In my example we will start with the assumption that you already have a schedule prepared in MineSched, and are ready to export the results.

MineSched tip - Animate MineSched schedules with blocks colored by material class

STEP 1: Take note of the material classes that are setup in the block model for MineSched. It is also helpful here to remain consistent with your coloring scheme.

MineSched tip - Animate MineSched schedules with blocks colored by material class (2)

STEP 2: In the Publish Results ribbon choose the Model Updates tab. You can select a name for the new attribute it will create in the block model, or use the default minesched_period. Make sure option for Clear attribute is checked on, this will eliminate any risk of combining the results of multiple exports to the block model. Hit the button to Update Block Models.

MineSched tip - Animate MineSched schedules with blocks colored by material class (3)

STEP 3: Open the block model in Surpac. *if the block model was already open in Surpac, you will need to close and re-open since MineSched has changed the mdl file.*

STEP 4: In Surpac, open any additional data to supplement the animations like surfaces, solids, or drill-holes. In my example, I am using an aerial photo draped onto the topography surface, and two pit designs.

MineSched tip - Animate MineSched schedules with blocks colored by material class (4)

STEP 5: Now to display the block model. The block model attribute we created earlier in MineSched, minesched_period, has a background value of -999, so if we use a block type constraint for minesched_period›0this will show all of the block model blocks that will be mined in the schedule.

MineSched tip - Animate MineSched schedules with blocks colored by material class (5)
MineSched tip - Animate MineSched schedules with blocks colored by material class (6)

STEP 6: Now we can color the block model to match the material classifications in MineSched.

MineSched tip - Animate MineSched schedules with blocks colored by material class (7)

My preference for displaying the model is to also toggle off the block edges. A simple way to do this is to use the function block model›display›edge and face visibility.

MineSched tip - Animate MineSched schedules with blocks colored by material class (8)

STEP 7: Finally, we can take a snapshot of the starting point for our animation. For this, I will use function File›images›save an image which simply saves a .gif or .png of the current view. I put this first snapshot into an empty folder and flagged the file as period 0.

MineSched tip - Animate MineSched schedules with blocks colored by material class (9)

The gif file created can be opened and viewed in your favorite image viewing application.

MineSched tip - Animate MineSched schedules with blocks colored by material class (10)

STEP 8: To create the image for the first period we simply need to update the constraint with the next period number and take another snapshot. These tasks can be repeated for every period in which you would like to capture an image.

MineSched tip - Animate MineSched schedules with blocks colored by material class (11)
MineSched tip - Animate MineSched schedules with blocks colored by material class (12)

Repetitive processes like this are very easy to speed up and automate using TCL and this a very easy macro to put together. The macro below uses a for loop to repeat the process for all of our schedule periods.

MineSched tip - Animate MineSched schedules with blocks colored by material class (13)

STEP 9: After creating all of the images needed, they can be viewed in order to watch the progression of mining.

MineSched tip - Animate MineSched schedules with blocks colored by material class (14)

Next step

Want your team to work this way every day?

Our courses teach these workflows in GEOVIA Surpac, Whittle and MineSched, and our support team answers the questions that come up afterwards.