Professional Documents
Culture Documents
Geometry Views of this Geomap data can be created in MineSight 3-D (MS3D), and
queried just like any standard object:
Mintec, Inc.
Global
Mining
Software
Solutions
Since
1970
Page 1
Practical Scripts for Daily Work
Problem #2: In order to ensure that important modeling-related functions have the proper
parameters and can only be changed by authorized personnel, the client needed to protect
MineSight Compass™ (MSCompass) multi-runs, but still have them executable by all users.
Solution: The Solutions Group developed a Python™ script to display the multi-run
and it’s variables in a graphical user interface with a password entry field. The multi-run
procedures and variables cannot be changed unless the correct password is entered.
Mintec, Inc.
Global
Mining
Software
Solutions
Since
1970
Multi-run Manager –
Panel #1
Page 2
Practical Scripts for Daily Work
Multi-run Manager –
Panel #2
Mintec, Inc.
Global
Mining
Software
Solutions
Since Multi-run Manager –
Panel #3.
1970
Problem #3: The client had several geologists mapping underground geologic features
with individual tablet PCs. They wanted the combined data stored in one master database
in an office desktop computer. They needed a way to transfer the data from the individual
databases to the master database at the end of each shift. Conversely, they required a
method of transferring the contents of the master database back to the individual databases
Page 3
Practical Scripts for Daily Work
at the start of each shift. This would ensure everyone was working with the most recent data
on any given day.
Solution: The MSPD Briefcase. This Python script uses SQL (Structured Query Language)
to facilitate the easy updating of a master office database with new or modified elements
from a portable notebook database. This includes:
o New IP sets.
o New attribute definitions.
o New/modified attribute values.
o New/modified elements (e.g., polylines, polygons, etc.).
The script also allows the user to overwrite the notebook database with the contents of the
master database. The script was written in a generic style such that it will work with both
Microsoft® Access and SQL Server databases (it is possible to transfer data from one type of
database to another).
Mintec, Inc.
Global
Mining
Software
Solutions
Since
1970
Problem #4: Recent changes to the block model and stope size at a client site highlighted
accuracy issues with the grade/tonnage reporting. The block model is a multiple ore percent
model with ore and waste regions inside each block. If a stope solid does not encompass a
Page 4
Practical Scripts for Daily Work
full block there is no way of knowing if the partial mined is ore or waste (or a combination
of the two). Their existing processes using MineSight Interactive Planner (MSIP) and
Pitres could not provide enough accuracy.
Solution: A “sub-blocking” script was developed which facilitated the creation and coding
of a temporary block model based on the extents of the stope solid. The new block model
can have a smaller, user-defined block size which results in more accurate grades and
tonnages reported on a daily basis. The Python script executes MSCompass procedures to
create the temporary block model [and Project Control File (PCF)].
Problem #5: As part of a client’s geotechnical analysis they needed to compare the actual
pit surface with the original pit design surface. This required the creation of vertical cross-
sections, at five meter intervals, for both surfaces. Four parameters needed to be calculated
for both the actual pit and the pit design:
Mintec, Inc.
Global
Mining
Software
Solutions
Since Pit Design Parameters
1970
Manually calculating these parameters for each section and preparing a comparison became
excessively time-consuming.
Solution: A pit comparison script was developed to perform an analysis of the actual pit
and the pit design. The script works by determining the inflection points of the pit section
(the points at which the polyline changes from a bench to a wall, or vice versa). Once the pit
section could be divided into segments, the calculations are performed and the results are
Page 5
Practical Scripts for Daily Work
presented in a spreadsheet. The script can handle multiple sections at once which increases
the efficiency of the process.
Mintec, Inc.
Global
Mining
Software
Solutions
Since
1970
Page 6