Professional Documents
Culture Documents
This software and documentation is proprietary to Gemcom and, except where expressly provided
otherwise, does not form part of any contract. Changes may be made in products or services at
any time without notice.
Gemcom publishes this documentation for the sole use of Gemcom licensees. Without written
permission you may not sell, reproduce, store in a retrieval system, or transmit any part of the
documentation. For such permission, or to obtain extra copies please contact your local Gemcom
office or visit www.gemcomsoftware.com.
While every precaution has been taken in the preparation of this manual, we assume no
responsibility for errors or omissions. Neither is any liability assumed for damage resulting from the
use of the information contained herein.
Gemcom Software International Inc. Gemcom, the Gemcom logo, combinations thereof, and
Whittle, Surpac, GEMS, Minex, Gemcom InSite and PCBC are trademarks of Gemcom Software
International Inc. or its wholly-owned subsidiaries.
Product
Gemcom Surpac v6.1
Table of Contents
Introduction 9
Overview 9
Requirements 9
Document Conventions 9
Typographical Conventions 9
Keyboard Conventions 9
Menu Conventions 10
Mouse Conventions 10
Forms 11
Elements of Forms 12
Getting Started 13
Installing Surpac v6.2 from a CD 13
Activity: Install Surpac 13
Starting Surpac 14
Activity: Start Surpac 14
Licencing Surpac 14
Activity: Licence Surpac 14
Setting the Work Directory 16
Activity: Set the Work Directory (Windows XP) 16
Activity: Set the Work Directory (Windows Vista or Windows 7) 17
Exiting Surpac 17
Activity: Exit Surpac 17
Modifying the Surpac Desktop Icon 18
Activity: Modify the Surpac Icon to Set the Work Directory Automatically 18
Switches 19
Review 21
Questions 21
Exercises 21
Surpac Concepts 22
Overview 22
Surpac Data Types 22
Function-centric vs Data-centric Operations 23
Function-centric 23
Data-centric 23
Review 24
Questions 24
Exercises 24
The Surpac Interface 26
Menus 27
Activity: Open a File Using the Menu 27
Toolbars 28
Activity: Use the Reset Graphics Button from the Toolbar 28
Navigator 28
Activity: Open a File from the Navigator 28
Preview Pane 30
Activity: Display a String File in the Preview Pane 30
Legend Pane 30
Graphics 31
Activity: Display and View Data in Graphics 31
Properties Pane 31
Layers Pane 32
Status Bar 32
Activity: View Changes to the Status Area 32
Message Window 32
Activity: Clear the Message Window 32
Multiple Viewports 33
Activity: Work with Multiple Viewports 33
Using and Creating Profiles 37
Activity: Select the geology_database Profile 37
Activity: Saving your Customisations to a Profile 38
Activity: Restoring the Default Profile 39
Review 39
Questions 39
Exercises 39
Advanced Interface Operations 41
Menu Bars, Menus and Commands 41
Displaying and Customising Menu Bars 41
Activity: Create a Customised Menu Bar 42
Customising Toolbars and Buttons 44
Activity: Display Toolbars and Create a Customised Toolbar 44
Activity: Creating a Custom Button to Put on a Toolbar 46
Using the Function Chooser 47
Activity: Run Two Functions from the Function Chooser 47
Working with Forms 47
Last value if blank 49
Last value 49
Constant.. 49
Application 49
Configuring Windows and Panes in the Interface 49
Toggle floating 49
Toggle auto-hide 49
Close 50
Default Preferences 51
Task: Changing setting in Defaults Preferences 52
Review 54
Questions 54
Exercises 54
Getting Help 55
Field Help and Form Help 55
Activity: Access Field Help and Form Help 55
Online Help 57
Activity: Access Online Help from a Form 57
Activity: Access Help from the Help Menu 58
Activity: Use the Index to Search for Information 59
Activity: Search the Online help 60
Tutorials 62
Activity: Access the Tutorials Profile 63
Support 64
Activity: Find Support Office Contact Details 64
Software Request 65
Activity: Log a software request 65
Review 67
Questions 67
Exercises 68
Managing Data in Layers 69
Layers and the Surpac Work Area 69
Creating Layers 69
Activity: Create Layers 69
Appending Data to a Layer 75
Activity: Append Data to a Layer with the Navigator 75
Activity: Append Data to a Layer with the Open File Command 77
Replacing Data in a Layer 80
Activity: Replace Data in a Layer with the Navigator 80
Activity: Replace Data in a Layer Using the Open File Command 82
Saving Workspace Settings 84
Activity: Save a Workspace 84
Review 87
Questions 87
Exercises 87
Strings 89
String Data Hierarchy 89
Types of Strings 90
Description Fields 90
Data Numbering 90
Data Ranges 90
String File Names 91
String Directions 91
Viewing String Data 92
Activity: View String Data 92
String File Structure 95
Activity: View String Data in a Text Editor 95
Review 96
Questions 96
Exercises 96
Viewing and Saving Data 98
Attributes and Styles Files 98
Activity: Change Display Style 98
Activity: View Point Properties 104
Activity: View Segment Properties 105
Activity: Determine Bearing and Distance Between Two Points 106
Saving Data 108
Activity: Save a File 108
The Display Menu 109
Task: Using the Display Menu 111
Viewing and Saving Data Review 112
Questions 112
Exercises 112
Editing Data 114
Orbit Mode 114
Activity: Use Orbit Mode to Rotate Data 114
Selection Modes 114
Activity: Change Selection Modes 114
Activity: Use Point/Triangle Mode to Delete Points 116
Activity: Use Segment/Trisolation Mode to Reverse Segments 117
Activity: Use Select Mode to Break, Join, and Renumber Segments 119
Activity: Use String/Object Mode to Delete and Clean Strings 127
The Move Tool 129
Activity: Move Data Along an Axis 129
Activity: Move Data in a Plane 131
Activity: Move Data in Three Dimensions 132
The Edit Menu 134
String Maths 135
Activity: Convert Ore Zone Interpretations from Section Coordinates to Plan (Real-World)
Coordinates 136
Activity: Move a Pit 200 Metres North to Correct Survey Station Error 139
Activity: Create a Cut Off Grade 140
Further Examples of String maths functions 146
Review 147
Questions 147
Exercises 147
Creating Data 148
The Create Menu 148
Snap Mode 148
Simple Underground Mine Design 151
Task: To Create an Underground decline centreline with cross-cuts 151
Create a Simple Pit Design 153
Activity: Create a Simple Pit Design 153
Review 165
Questions 165
Exercises 165
File Tools 167
Applying a Boundary String 167
Activity: Apply a Boundary String to a Soil Sampling File 167
Classifying Strings 169
Activity: Display Soil Samples using String Classification 169
Transforming data 173
2D Transformations 173
Activity: Transform a Pit to a Different Coordinate System 173
Polygon Intersection 176
Activity: Intersect Polygons to Calculate the Area of an Ore Body within a Pit Boundary 176
Activity: Clip Ore Blocks Inside a Pit 180
Review 182
Questions 182
Exercises 182
Triangulated Surfaces 184
Surface Modelling Concepts 184
Naming Conventions 185
DTM Conventions 185
Breaklines and Spot Heights 185
DTM Data Preparation 186
Cleaning Data 186
Normalising Data 187
Smoothing Data 187
Graphical vs File-based options 188
Creating a DTM Surface 189
Activity: Create a DTM Graphics based Method 189
Activity: Create a DTM File Based Method 191
Viewing a DTM Surface 194
Activity: View a DTM in Graphics 194
Viewing Transparent Surfaces 195
Calculate The Volume Between Two DTMs. 197
Creating a Boundary String Between Two DTM Surfaces 202
Activity: Create a Boundary String - File-based Method 202
Activity: Create a Boundary String - Graphics-based Method 204
Calculating Cut and Fill Volume Using DTM Surfaces 205
Activity: Calculate Cut and Fill Volumes Between Two DTMs 205
Solids 206
Activity: View a Solid Model 206
Activity: Create and Validate a Solid Model 207
Activity: Calculate a Volume for a Solid Model 216
Review 218
Questions 218
Exercises 219
Plotting with Autoplot 220
Activity: Produce a Plot of a Pit Using Autoplot 220
Review 222
Questions 222
Exercises 223
More Surpac Functions 224
Drillhole Database 224
Activity: Open a Database, Display the Drill Holes and Create Sections 224
Block Models 228
Activity: Display, Constrain, and Report a Block Model 228
References 237
Introduction Typographical Conventions
Introduction
Overview
This document is designed to help new or prospective users install Surpac and start using the
software. More detailed training information is available within the software and from your local
support office.
Requirements
Before proceeding with this tutorial, ensure you have the following items:
Document Conventions
Typographical Conventions
Some text in this manual has special formatting to identify it as a particular element of information.
The following list describes the different formats and their meanings:
Text Format Meaning
Text or data that varies with each input is shown in italic font and enclosed in angle brackets.
Some examples are installation directories, dates, names and passwords. When you substitute
<Bold Italic>
the text for the variable, do not include the brackets. For example: <password> requires you to
substitute a password in place of <password>.
A word or phrase to which the author wants to give emphasis. For example: you must select an
Italics
item from the list to continue.
This typeface indicates one of the following:
For example: Drag and drop the file pit1.str into graphics.
Keyboard Conventions
Key Combination Meaning
Press and hold down the first key, then press the second key. For example: CTRL+Z
<key>+<key>
means hold the CTRL key down, then press Z.
Page 9 of 237
Introduction Menu Conventions
Menu Conventions
In this documentation, the following example demonstrates the syntax used for menus and
submenus:
Choose File > Open > Block model.
This means click the File menu, move the cursor over the Open command and then select Block
model on the submenu.
Mouse Conventions
Action Description
Click Quickly press and release the left mouse button without moving the mouse.
Right-click Press and release the right mouse button without moving the mouse.
Double-click Without moving the mouse, click the left button twice rapidly.
With the cursor over the object, press and hold down the left mouse button to select the
Drag and drop <an
object. Move the mouse until the cursor is in the position you want and then release the
object>
mouse button.
Press and hold down the left mouse button. Then move the mouse in the direction that
Drag
the text specifies.
Press and hold down the right mouse button. Then move the mouse in the direction that
Right drag
the text specifies.
Use your finger to make the wheel button roll. Move it forward, that is in a clockwise
Rotate
direction, or backward, that is in an anticlockwise direction.
Page 10 of 237
Introduction Forms
Forms
Forms contain several components that you will use to provide information to Surpac:
1. Title 4. Combo box or Drop-down list 7. Help
2. Tab 5. Radio button or Option button 8. Check box
3. Text box 6. Label 9. Button
Page 11 of 237
Introduction Elements of Forms
Elements of Forms
Forms can contain the following elements:
Page 12 of 237
Getting Started Activity: Install Surpac
Getting Started
Installing Surpac v6.2 from a CD
Activity: Install Surpac
1. Insert the CD into your computers CD-ROM drive and the installation menu will appear.
Note: If the installation menu does not appear, use Windows Explorer to navigate to
the CD and double-click Autorun.exe. You will see the following page:
2. Click Next.
3. When you are prompted to click Next, do so.
4. When you are prompted to accept the licence agreement, click Accept, and then click
Next.
Note: You must accept the terms of the license agreement or the installation will not
continue.
5. When prompted to choose an installation directory, select the default installation direc-
tories.
Note: Although you can use the Change option to select other destination folders for
the program, it is recommended that you use the default locations.
6. When prompted to enter a product, ensure that Surpac is selected, and click Next.
7. Click Install, and then click Finish when the Finish button becomes available.
Note: There is no limit on the number of computers on which you can install Surpac. There are
certain functions which can be performed without a license (mostly opening and displaying data),
but the majority of functions (any which produce some sort of output) require a valid license.
Page 13 of 237
Getting Started Activity: Start Surpac
Starting Surpac
Activity: Start Surpac
Start Surpac, using either of these methods:
Licencing Surpac
The instructions below are for installing a single user licence. In order to proceed, you will need:
If you do not have all of these, please contact your local support office.
Activity: Licence Surpac
1. Insert the sentinel into a USB or parallel port as appropriate.
2. Start Surpac.
If the Surpac interface is displayed, you already have a valid licence. Proceed to step 6.
If you see the form below, a valid licence does not exist.
Page 14 of 237
Getting Started Activity: Licence Surpac
5. Click Apply.
To review licence details, or enter a new token number:
a. Choose File > Licencing > Change/Inspect licence.
b. After reviewing or updating the licence details, click Apply.
Page 15 of 237
Getting Started Activity: Set the Work Directory (Windows XP)
The name of the work directory is displayed in the title bar of the Surpac window.
Page 16 of 237
Getting Started Activity: Set the Work Directory (Windows Vista or Windows 7)
The name of the work directory is displayed in the title bar of the Surpac window.
Exiting Surpac
Activity: Exit Surpac
Exit Surpac, using either of these two methods:
Page 17 of 237
Getting Started Activity: Modify the Surpac Icon to Set the Work Directory Automatically
Page 18 of 237
Getting Started Activity: Modify the Surpac Icon to Set the Work Directory Automatically
6. Click OK.
7. Right-click the icon you have just modified and select Rename.
Alternatively, the F2 key can be used as a shortcut.
8. Type Surpac Surveying and press ENTER.
The icon will appear with the new name:
Switches
Various switches can be added to the end of the Target line in the Desktop icon to control how
Surpac operates, for example to change the profile (screen setup with menus & toolbars) you can
add a profile as follows:
Page 19 of 237
Getting Started Activity: Modify the Surpac Icon to Set the Work Directory Automatically
3. Click OK.
The profile switch is very useful after you have set up your own profiles.
More advanced settings to be aware of are:
Switch Description
-trans followed by a nominated
Will allow Surpac to start with a particular Translation file.
translation file.
This will start Surpac and only search for a local sentinel. (lm stands for
-lm **local**
licence manager).
-lm <ip address> This will start Surpac and only search for a server with that ip address.
This will start Surpac and run examplemacro.tcl in the startup directory
Examplemacro.tcl arg1 arg2
with two variables.
Page 20 of 237
Getting Started Questions
Review
Questions
1. What is a working directory?
2. What does modifing the 'Start in:' line in the Surpac icon properties do?
3. Why would you want to have multiple desktop icons for the same version of Surpac?
4. Does Surpac need a valid surpac dongle/network license to run?
5. On how many computers can Surpac be installed?
6. What is needed to run a licensed copy of Surpac?
Exercises
1. Determine if your copy of Surpac is licensed for a particular module.
A. Start Surpac.
B. Choose File>Licencing>Change /Inspect Licence.
C. View the current licensing details.
Question:
i. Is your copy of Surpac licensed to use the Autoplot module?
2. Run Surpac without a license.
A. Start Surpac.
B. Choose File>Licencing>Change /Inspect Licence.
C. When the License Request form is displayed, select none.
D. In the function chooser, type: FUNCTION LIST, and press Enter.
E. In the current working directory, open the file surpac2.txt.
All of the functions available without a licence are listed under the none mod-
ule.
Questions:
Use the file surpac2.txt to answer the following questions.
i. Can you display a 2D grid without a Surpac license?
ii. Can you run Autoplot without a license?
Page 21 of 237
Surpac Concepts Exercises
Surpac Concepts
Overview
In this chapter, you will learn about:
Page 22 of 237
Surpac Concepts Function-centric
You can perform nearly all operations using the function-centric approach. For non-graphical
operations, this is often the only option.
For example, to calculate volumes between two DTM surfaces, you must use the function-centric
approach, such as by selecting Cut and Fill between DTMs from the Volumes menu.
Data-centric
When you select data first, and then specify the function to be applied to the data, you are
performing a data centric operation.
For example, when you right-click a file, a popup menu is displayed. You then choose the operation
to be performed such as Open.
Page 23 of 237
Surpac Concepts Questions
Many graphical operations are quicker and easier to perform using the data-centric approach.
For example, you can select data in a string file, and then right-click to display functions that Surpac
can perform on the data.
Review
Questions
1. What is a function-centric operation?
2. How are functions accessed in a data-centric operation?
3. How many different surpac file types can you name?
Exercises
For these exercises, set the Work Directory to /demo_data/tutorials/introduction.
l DTM File
Page 24 of 237
Surpac Concepts Exercises
Block Model
l
Geological Database.
l
Page 25 of 237
The Surpac Interface Exercises
1. Menus
2. Toolbars
3. Navigator
4. Preview pane
5. Legend pane
6. Graphics
7. Properties pane
8. Layers pane
9. Status bar
10. Message window
Page 26 of 237
The Surpac Interface Activity: Open a File Using the Menu
Menus
The menus group functions from a particular module, such as the Block Model module.
Activity: Open a File Using the Menu
1. Choose File > Open > String/DTM file.
2. Enter the information as shown, and then click Apply.
Page 27 of 237
The Surpac Interface Activity: Use the Reset Graphics Button from the Toolbar
Toolbars
A toolbar is a collection of icons that have related functions. Toolbars allow you to access commonly
used functions directly, without the need to search through the menus.
Activity: Use the Reset Graphics Button from the Toolbar
1. Open pit1.str in graphics.
2. Click the Reset graphics icon .
This function removes all the data that is displayed in graphics.
If data has been modified, Surpac will display a form to allow you to save the file. This is
described in detail in the chapter Viewing and Saving Data.
Navigator
The Navigator works like Windows Explorer. Using the Navigator, you can manage your files and
directories by creating new folders, cutting, copying, pasting, and deleting files and folders.
Activity: Open a File from the Navigator
1. Using File Filter drop down in the Navigator, select Surpac Files (.mdl,.dtm,.str).
2. Right-click the file bench105.str in the Navigator.
3. From the popup menu, select Open.
bench105.str is displayed.
Page 28 of 237
The Surpac Interface Activity: Open a File from the Navigator
Page 29 of 237
The Surpac Interface Activity: Display a String File in the Preview Pane
Preview Pane
The Preview pane displays string data without the need to load it into graphics.
Activity: Display a String File in the Preview Pane
1. If the Preview pane is not displayed, click the Preview button at the top of the Navigator.
2. Click pit1.str in the Navigator.
3. Click and drag in the Preview pane to rotate the data, as shown.
Legend Pane
This is the area where you can see the legends for data in graphics.
Page 30 of 237
The Surpac Interface Activity: Display and View Data in Graphics
Graphics
Known as the graphics area, or simply graphics, this is the area where you perform most of the work
in Surpac. The graphics area is a three-dimensional work area. Any file loaded into graphics has Y, X,
and Z coordinates.
Activity: Display and View Data in Graphics
Properties Pane
This is the area where you see:
Page 31 of 237
The Surpac Interface Activity: View Changes to the Status Area
Layers Pane
This is the area where you manage your data in layers. This is described in detail in the chapter
Managing Data in Layers.
Status Bar
The Status bar shows the coordinate position of the mouse cursor as well as the string number and
design gradient. The Status bar also shows whether a database or block model is loaded into
memory.
Activity: View Changes to the Status Area
1. Drag and drop surpac.ddb (a geological database) into graphics.
2. Drag and drop block_model.mdl (a block model) into graphics.
Notice that two buttons have been added to the status area, indicating that a database
named surpac and a block model named block_model are loaded:
Message Window
The Message window shows the information, warnings, and error messages that Surpac produces
while it is executing functions.
Tip: Sometimes the message window also contains information such as coordinates of selected
points or properties of files in graphics. You can copy this information and paste it into text files or
documents.
Page 32 of 237
The Surpac Interface Activity: Work with Multiple Viewports
Multiple Viewports
You can view data in different ways using multiple viewports.
Activity: Work with Multiple Viewports
1. Drag and drop pit_design1.str into graphics.
2. Right-click in graphics to display a popup menu.
Page 33 of 237
The Surpac Interface Activity: Work with Multiple Viewports
Each viewport now displays the same view of the same data.
6. Right-click the left viewport, and then choose Viewport > Split horizontally.
Page 34 of 237
The Surpac Interface Activity: Work with Multiple Viewports
7. Right-click the right viewport, and then choose Viewport > Split horizontally.
Page 35 of 237
The Surpac Interface Activity: Work with Multiple Viewports
8. Click and drag in the top left viewport to rotate the data.
The data is shown in an oblique view.
9. Click in the bottom left viewport.
Page 36 of 237
The Surpac Interface Activity: Select the geology_database Profile
Page 37 of 237
The Surpac Interface Activity: Saving your Customisations to a Profile
The interface now contains a new set of menus and toolbars that cover the functionality for
processing data from a geological database.
Profiles allow you easy access to all of your customisations.
Activity: Saving your Customisations to a Profile
If you are an experienced Surpac user, you might wish to create your own profile to get faster access
to the toolbars, menus and commands that you need for your work.
1. Make sure that Surpac is displaying the menu bars and toolbars that you use frequently
and that the menu bars and toolbars that you do not need are hidden.
2. Right-click in the empty space at the top of the Surpac window.
3. From the Profiles menu, click Save.
Page 38 of 237
The Surpac Interface Activity: Restoring the Default Profile
When you open Surpac again, you can choose your profile which will reload your customised
settings for menus, toolbars and buttons and will automatically configure your workspace.
Activity: Restoring the Default Profile
1. Right-click the empty space beside the toolbars at the top of the Surpac window.
2. Click Restore.
Review
Questions
1. Name four panes on the Graphics interface.
2. What are profiles?
3. What does the Navigator do?
4. How do you change profile?
5. How many viewports can there be?
6. How is a second viewport created?
7. How can you unhide hidden panes?
8. What information can be displayed on the status bar?
Exercises
1. Changing profiles, menus and toolbars.
A. Reset graphics .
B. Right click in the empty menu space and choose the Minedesign Profile.
C. Add the Solids Menu.
D. Remove the Macro Toolbar.
Questions:
i. Would you want all the menus open on graphics? Why?
ii. How many menus/toolbars can you add/remove at a time?
Page 39 of 237
The Surpac Interface Exercises
Page 40 of 237
Advanced Interface Operations Exercises
Each menu contains commands (or menu items, which means the same thing). The commands are
located on the menu or on a submenu. For example, the Plotting menu contains the Autoplot,
Plotting window, Plotting sheet setup window and Print plot file commands, and it also contains
the Entity, Map, Process,and Plotting contours submenus. Each submenu contains more
commands.
Page 41 of 237
Advanced Interface Operations Activity: Create a Customised Menu Bar
You can click on a menu bar to switch between displaying and hiding it.
You can also create your own customised menu bars or toolbars to group together the functions
that you use frequently, or to group together all the functions that you need to use to do a specific
task.
Activity: Create a Customised Menu Bar
1. Choose Customise > Customise menus/toolbars.
Page 42 of 237
Advanced Interface Operations Activity: Create a Customised Menu Bar
2. To create a new menu bar, right-click on Menubars under User Menus/Toolbars and
select New from the list.
Page 43 of 237
Advanced Interface Operations Activity: Display Toolbars and Create a Customised Toolbar
b. Hold down CTRL and select the Pit Design, Expand segment and Expand
string folders.
c. Click Copy.
d. Select the new pit_design menu bar.
e. Click Paste.
5. Enter pit_design in the Save Profile As field.
6. Click Apply.
Note: The new pit_design menu bar floats above the Surpac window.
7. Drag the pit_design menu bar to a location where there is some space at the top of the
Surpac window.
Page 44 of 237
Advanced Interface Operations Activity: Display Toolbars and Create a Customised Toolbar
Page 45 of 237
Advanced Interface Operations Activity: Creating a Custom Button to Put on a Toolbar
8. Hold down CTRL and select several of the surface design commands as shown.
9. Click Copy.
10. Select the new pit_design toolbar and click Paste.
Note: To fill in the Command field you will have to click the Ellipsis button and
navigate to a TCL file. Similarly, to fill in the Image field, you must click the Ellipsis button
and navigate to an icon file in the icons folder.
Note: The full path to the TCL command scripts folder is:
C:/Users/Public/Gemcom/Surpac/62/share/resource/scripts/toolbars/
4. In the Modify menus and toolbars form, Click Apply.
5. Right-click in an empty area near the toolbars.
6. From the Toolbars menu, select pit_design.
7. Drag the pit_design toolbar to a location where you can clearly see it.
8. Move the cursor over the icon on the right of the toolbar to see its Tool Tip.
Page 46 of 237
Advanced Interface Operations Activity: Run Two Functions from the Function Chooser
Note: The function chooser field is located in the lower part of the Surpac window.
Note: You can find a complete list of aliases in the files SSI_ETC:short.ssi and SSI_ETC:Surpac.mst.
Page 47 of 237
Advanced Interface Operations Activity: Run Two Functions from the Function Chooser
By clicking once to highlight a field on a form, and then right clicking, you see options to help you fill
in the form.
Page 48 of 237
Advanced Interface Operations Activity: Run Two Functions from the Function Chooser
l Toggle floating.
l Toggle auto-hide.
l Close.
Toggle floating
The Toggle floating button enables you to "dock" or "undock" the pane. When the pane is docked it
is fixed to an area of the Surpac window. When it is undocked it floats so you can move it to any part
of the Surpac window. You can also dock the pane by moving it to one of the edges of the screen, or
to an existing pane.
To restore the pane to its original position, click again on the Toggle floating button or right-click on
the top part of the pane and click Floating.
Toggle auto-hide
The Toggle auto-hide button enables you to hide the pane so that you have more workspace for
other panes.
Page 49 of 237
Advanced Interface Operations Activity: Run Two Functions from the Function Chooser
When you click Toggle auto-hide, the pane is minimised and attached to the side of the Surpac
window. The following image shows the Properties pane attached to the side of the Surpac window.
To show the pane when it is minimised, move the cursor over the minimised pane. To restore the
pane to its original position, click Toggle auto-hide again.
Close
To close a pane, click the X button in the top right corner.
To restore a pane that you have closed, select View > Dockable windows and click on the pane that
you want to restore.
In the example below, the Tools properties pane was closed, so it is not selected as a dockable
window. By clicking on Tool properties, you can restore the pane to its original position.
Page 50 of 237
Advanced Interface Operations Activity: Run Two Functions from the Function Chooser
To restore the whole interface to its original state, right-click an empty area in the toolbar region, and
click Restore.
Default Preferences
The Default Preferences menu option allows you to manage user settings. You can change the
system to customise it.
Here are some useful examples:
Page 51 of 237
Advanced Interface Operations Task: Changing setting in Defaults Preferences
These are the optimal settings for Surpac BUT if there are problems with your graphics
card, try changing some of these settings.
a. Change the Processor Affinity on a dual core machine to 1 instead of all.
b. Change the graphics display driver from Open GL, some graphics cards work
better on direct 3d and give graphics problems with Open GL.
c. Change the Hidden Surface removal algorithm.
3. Customise>Default preferences>Lighting>Directional lights.
Page 52 of 237
Advanced Interface Operations Task: Changing setting in Defaults Preferences
Taking the centre of the graphics area being 0,0,0 with the screen area going -2 to 2 (x), -1
to 1 (y) and -1 to 1 being above or below the screen, setting up lights in 3 directions
ensures any surface or solid will be properly illuminated when rotated on the screen.
You can setup your own shortcut key file as above my_alias.alias and store it in the same
directory.
Page 53 of 237
Advanced Interface Operations Questions
shortcut in double quoted followed by white space followed by the full command name in double
quotes.
You can use an existing shortcut as well as the full command name.
If an existing shortcut is used, that last to be loaded will overwrite the function of the first ( ie.Alias 3
will overwrite alias 1 and 2), so check that you are creating a NEW shortcut.
form is to click the icon in the toolbar.
Review
Questions
1. Where is the option to create a personalised toolbar?
2. Name three ways to run a function in Surpac.
3. What are the two files which contain function chooser shortcuts, and where are they
stored?
4. How can hidden panes be redisplayed?
5. Where can the graphics settings for Surpac be found?
6. Where can the paths for the customisable directories Surpac is pointing to, be found?
Exercises
1. Setting form defaults.
A. Choose File>Open>String/DTM file.
B. Click Rescale display.
C. Right click, choose Constant.
D. Clear, and then clickApply.
Question:
i. What different behaviour can be seen in opening a file between dragging it
into graphics or using this form to open the file?
2. Create a personalised toolbar.
A. Choose Customise>Customise menus/toolbars.
B. Create a new toolbar named 'TEST'.
C. Copy and paste Open file and Undo functions from the Surpac toolbar to the
user toolbar TEST.
D. Add the following new item to the toolbar:
The Type is Script, the Command is 02a_change_display_styles.tcl, the Image
and Tool Tip is whatever you wish.
E. Run this script from the new toolbar.
3. Change the screen colour.
A. Choose Customise>Defaults preferences>Graphics colours.
B. Set the background to pale yellow.
C. Set the text to dark blue.
D. View the results in Graphics.
Page 54 of 237
Getting Help Activity: Access Field Help and Form Help
Getting Help
There are a number of resources to assist you whether you are trying to solve a problem, to
understand how a function works, or to enter data into a form.
Page 55 of 237
Getting Help Activity: Access Field Help and Form Help
Page 56 of 237
Getting Help Activity: Access Online Help from a Form
Online Help
Online help contains more detailed information than form help and field help, as well as examples
and troubleshooting assistance.
Activity: Access Online Help from a Form
1. Choose Display > 2D Grid.
2. Click the button at the lower left corner of the form.
Page 57 of 237
Getting Help Activity: Access Help from the Help Menu
2. In the table of contents, expand Modules, then Licence Manager, then Network Licence
Manager, and then Introduction.
Page 58 of 237
Getting Help Activity: Use the Index to Search for Information
Page 59 of 237
Getting Help Activity: Search the Online help
Page 60 of 237
Getting Help Activity: Search the Online help
4. Click the topic that is ranked 1 at the top of the list, DTM Maths.
Page 61 of 237
Getting Help Activity: Search the Online help
Tutorials
Tutorials are designed to teach you how specific functions work within a practical, task-based
environment, by working through exercises using a specific dataset.
Surpac tutorials are available via the tutorials profile. When you install the software from the CD, the
tutorials are installed into directories under:
<installation directory>\demo_data\tutorials
where <installation directory> is the folder where Surpac is installed.
Each directory contains a tutorial in PDF format, as well as a data directory containing the files
required to perform the exercises outlined in the tutorial.
Page 62 of 237
Getting Help Activity: Access the Tutorials Profile
To view the tutorials or run the macros for the tutorial, you must first click on the menu item to
change the directory to your chosen tutorial.
You can then either view the tutorial document as a PDF or run the macros that appear in the
tutorial.
Internet download
You can also download the complete set of tutorials.
Note: You will need log in credentials to enter the Gemcom Support site. Contact your local
support office if you do not have this information.
Tip: The information offered on this page may be more recent than those from the CD installation.
Page 63 of 237
Getting Help Activity: Find Support Office Contact Details
Support
You can contact your local support office by phone or email.
Activity: Find Support Office Contact Details
1. Choose Help > Table of Contents.
2. Expand the Support menu item to find your local support office from the listed locations.
3. Click on the required location. Alternatively, you can click on the map of locations or
select the location from a list.
Page 64 of 237
Getting Help Activity: Log a software request
The contact details are displayed. For example, the contact details of the Australian office
are as shown:
Software Request
The final type of help is where you log a software request by email.
Activity: Log a software request
1. Choose Help > Log a request.
Page 65 of 237
Getting Help Activity: Log a software request
Page 66 of 237
Getting Help Questions
Review
Questions
1. Name the three ways of accessing Help in Surpac.
2. What is the effect of putting quotation marks around text in the Surpac help search?
Page 67 of 237
Getting Help Exercises
Exercises
1. Accessing the Help while in Graphics.
A. Choose Edit>Layer>Maths.
B. Click on any field, then right click and choose field help.
C. Move from field to field and read the field help.
D. Click the question mark in the lower left of the form.
Questions:
i. What happens next?
ii. How does this help differ from the field help?
2. Using the Surpac Help.
A. Choose Help>Table of Contents.
B. In the Search pane type, including quotation marks, "desktop icon".
Questions:
i. How many titles appear?
ii. Now remove the quotation marks and see how many titles appear.
iii. What is the effect of using quotation marks?
3. Log Request.
A. Choose Help>Log a Request
B. Fill out an enhancement request that more than one menu/toolbar can be
activated /deactivated at a time.
Questions:
i. What is the name of the file produced?
ii. Where should this file be sent?
Page 68 of 237
Managing Data in Layers Activity: Create Layers
All layers in the SWA are displayed in the Layers pane, at the lower left corner of the Surpac window,
these display as shown below.
Creating Layers
By dragging a file from the Navigator to graphics, you create a new layer with the same name as the
file. You can also create a new layer using the New button on the Layer pane.
Activity: Create Layers
Page 69 of 237
Managing Data in Layers Activity: Create Layers
Notice that the Layers pane now shows two layers, the main graphics layer and a new
layer called pit1.str which becomes the active layer.
3. Drag and drop the file map1.str into graphics from the Navigator.
Notice that the Layers pane now shows three layers, and map1.str is the active layer.
Page 70 of 237
Managing Data in Layers Activity: Create Layers
Next, you will create a circular area delineating the boundary of a waste dump, and save
the data to a separate file. As part of this process, you will create a new layer where the
data will be stored.
Page 71 of 237
Managing Data in Layers Activity: Create Layers
Page 72 of 237
Managing Data in Layers Activity: Create Layers
Page 73 of 237
Managing Data in Layers Activity: Create Layers
Page 74 of 237
Managing Data in Layers Activity: Append Data to a Layer with the Navigator
3. Hold the CTRL key down, then drag and drop the file map1.str into graphics from the Navi-
gator.
After releasing the mouse, notice that the Layers pane still only shows one layer, the
main graphics layer.
Page 75 of 237
Managing Data in Layers Activity: Append Data to a Layer with the Navigator
Next, you will save the data from both files to a new file.
4. Choose File > Save > String/DTM file.
5. Enter the information as shown, and then click Apply.
The file map_and_pit.str contains all data from pit1.str as well as all data from map1.str.
Page 76 of 237
Managing Data in Layers Activity: Append Data to a Layer with the Open File Command
Notice that by setting String Range to 2, only string 2 from pit1.str is opened in the main
graphics layer.
Page 77 of 237
Managing Data in Layers Activity: Append Data to a Layer with the Open File Command
Notice that by setting String Range to 2;12;52, only those strings have been opened.
Also, because Replace current data was not selected, the data is appended to the main
graphics layer.
Page 78 of 237
Managing Data in Layers Activity: Append Data to a Layer with the Open File Command
The file pit_and_buildings.str now contains string 2 from pit1.str as well as string 2, string
12, and string 52 from map1.str.
Page 79 of 237
Managing Data in Layers Activity: Replace Data in a Layer with the Navigator
displayed with an X.
After releasing the mouse button, notice that the Layers pane still shows both layers.
Page 80 of 237
Managing Data in Layers Activity: Replace Data in a Layer with the Navigator
However, the contents of the map1.str layer have been replaced by the data in the file
pit1.str:
Page 81 of 237
Managing Data in Layers Activity: Replace Data in a Layer Using the Open File Command
Notice that all the data in pit1.str is open in the main graphics layer.
Page 82 of 237
Managing Data in Layers Activity: Replace Data in a Layer Using the Open File Command
Notice that all data in the main graphics layer is replaced by the data in map1.str.
Page 83 of 237
Managing Data in Layers Activity: Save a Workspace
Page 84 of 237
Managing Data in Layers Activity: Save a Workspace
Page 85 of 237
Managing Data in Layers Activity: Save a Workspace
13. Drag and drop ore_pit_topo.swa into graphics from the Navigator.
Notice that you have restored the layers in the Layers pane, as well as the lighting settings
and the view direction.
Note: SWA files are text files which store information about other files. If you want to
open a SWA file on another computer, you must ensure that the files that the SWA file
references are available using the same directory structure.
14. Choose View > Surface view options > Lighting options.
15. Enter the following information, and then click Apply.
Page 86 of 237
Managing Data in Layers Questions
Review
Questions
1. What do the three symbols to the left of the layer name mean?
2. What are the three ways a new layer can be created?
3. How many active layers can there be?
4. What effect does clicking the Reset graphics icon have on the Layers Pane?
5. How can a file be imported into an existing layer?
6. What is an swa file?
7. What effect does holding down the ALT key while dragging and dropping a file into the
Surpac work area have?
Exercises
1. Working with layers.
A. Reset graphics.
B. Create a new layer called 'Design'.
C. Open Waste_dump.dtm and Pit_design1.dtm into the Design layer.
D. Open Topo1.str and Bench105.str into separate layers.
E. Make Design the active layer.
F. Make Topo1.str unselectable.
G. Save the Graphics Workspace as Design_a.swa.
Questions:
i. How many layers are in the layer pane?
ii. What does the swa file icon look like?
Page 87 of 237
Managing Data in Layers Exercises
Page 88 of 237
Strings Exercises
Strings
The most common file format used for storing information in Surpac is a string file. A string file
contains coordinate information for one or more points, as well as optional descriptive information
for each point. It is important to understand how Surpac organises and uses data stored within a
string file; this will enable you to work more efficiently with strings.
l Points.
l Segments.
l Strings.
All points in a string file are grouped into segments, which are further grouped into strings.
The example below shows conceptually how a string file contains strings, which contain segments,
which contain points.
Page 89 of 237
Strings Exercises
Types of Strings
There are three types of strings:
l Open.
l Closed.
l Spot Height.
Description Fields
Points, strings, and segments can have one or more pieces of descriptive information associated
with them. This information is stored in a description field. Description fields are named according to
the order they appear. Description fields are named in the format D<incremental number>, such as
D1,D2,D3.
For example, a closed segment representing an ore zone could have the gold grade, silver grade, and
specific gravity stored in separate description fields. If the information is stored in that order, they
could be assigned as follows:
D1: gold grade
D2: silver grade
D3: specific gravity
Data Numbering
Strings, segments, and points are identified by unique numbers. You can assign string numbers to
represent particular features, such as string 1 for toes in a pit, string 2 for crests, and string 99 for
spot heights. Surpac automatically assigns segment numbers and point numbers.
Data Ranges
You can use a range to refer to groups of data numbers, such as strings, segments, and points.
The comma ( , ) is used for a range which includes a start, an end, and optionally an increment. You
use the following format to specify such a range in Surpac:
<start>,<end>,<increment>
Note: When the increment is 1, you can use <start>,<end> without specifying the increment.
The semicolon ( ; ) is used to identify unique values, or to separate multiple comma ranges.
Page 90 of 237
Strings Exercises
Spaces in file names are not recommended. In some situations, Surpac may not work correctly when
you are using a file that has a space in the file name.
You can use ranges to refer to the ID of filenames. For example, you can refer to the files:
geo130.str, geo140.str, geo150.str, geo160.str, geo170.str
using the following syntax:
Location: geoID: 130,170,10
String Directions
When you view closed strings in the XY plane, the points have an order that is either clockwise or
anticlockwise. This direction is important when calculating areas and volumes.
Page 91 of 237
Strings Activity: View String Data
Page 92 of 237
Strings Activity: View String Data
The data in this file represents a horizontal view, also known as a plan view, of a pit
design, the survey stations, and the geology for one level in a pit.
The data is organised as follows.
Segment
String number Data Type D1 D2 D3
number
1 1 Low grade ore Closed Gold (g/t) Silver (g/t) SG
2 1 Medium grade ore Closed Gold (g/t) Silver (g/t) SG
3 1 High grade ore Closed Gold (g/t) Silver (g/t) SG
8 1 Footwall trace Open footwall
8 2 Hangingwall trace Open hangingwall
30005 30005 Pit design toe Closed
30008 30008 Survey stations Spot height Station name
Notice that the order of points for string 1 is clockwise in the XY plane.
Page 93 of 237
Strings Activity: View String Data
Note: To see all of the steps performed in this task, run 01a_viewing_string_data.tcl. You will need
to click Apply on any forms presented.
Page 94 of 237
Strings Activity: View String Data in a Text Editor
l The first line is known as the header record, and contains these items: file
name, date modified, purpose (which is empty in this example), styles file.
l The second line contains the axis record, This is a two-point line used in
some sectioning functions. For many string files this is not required; when it
is not required, values of zero are used for all coordinates. The Y, X, and Z
values of each of the two end points of the axis are stored in the following
order:
l The third line is the start of string data, and is stored as String number, Y, X,
Z, D1, D2, D3, D100.
l A null record indicates the end of a segment.
l String 1 is closed, because the first point and the last point are the same.
l When the file was created, the following values were chosen: D1 = gold (g/t),
D2 = silver (g/t), and D3 = SG. String 1 outlines an area of low grade ore with:
l a gold value of 1.23 grams/tonne.
Page 95 of 237
Strings Questions
lString 8 is open, since the first and last points are different.
l String 8 consists of two segments.
l String 30005 is closed, since the first and last points are the same.
l String 30008 is a spot height string with the survey station name in the D1
field.
3. Exit the editor without saving any changes.
Note: Manually editing string files is not recommended. If the format becomes
corrupted, Surpac may not work correctly when using the file.
Review
Questions
1. What is the hierarchy of a string file?
2. What directions are possible in a string file?
3. How many description fields can a string file have?
4. What is a Surpac data range?
5. In a text editor, how can you tell if a string has more than one segment?
6. If the following string range is typed on a display form, what strings will be displayed
1,10,4;25;30,40?
Exercises
1. String segments.
A. Copy file ore1.str to test1.str.
B. Open test1.str in Graphics.
C. Choose Display>Strings>With string and segment numbers (DSEG).
D. Edit test1.str in a text editor, remove first 0.00 line.
E. Choose Display>Strings>With string and segment numbers (DSEG).
Questions:
Page 96 of 237
Strings Exercises
Page 97 of 237
Viewing and Saving Data Activity: Change Display Style
The points have been classified into four levels of concentration, each represented by a
separate string.
Page 98 of 237
Viewing and Saving Data Activity: Change Display Style
A point whose arsenic concentration is 350 parts per million (ppm), for example, forms
part of string 3.
In this task, you will display the strings as spot heights to show the areas that have the
highest concentration of arsenic.
2. Click the Legend tab to show the Legend pane.
3. In the Legend pane, click on the "+" sign next to Strings under the file samp_clas-
sified.str.
The legend shows that string 1 is black, string 2 is blue, string 3 is blue-green, and string 4
is green.
Page 99 of 237
Viewing and Saving Data Activity: Change Display Style
Specifically, do the following steps for each of the Custom Styles rows 1 to 4:
a. Type marker,d1 in the Drawing Method cell.
Note: marker,d1 instructs Surpac to draw a marker for each point, using
the d1 field as a label.
b. Select the line colour by clicking the line in the line cell and selecting Prop-
erties.
c. Click Edit.
d. Select the colour blue, green, orange and red for each of the four rows
respectively.
Note: You can use any of the four colour tabs shown below to select the
colour of the markers and the d1 field labels.
g. Click in the Text cell, select Properties, and then enter oru for the Units and
8.5 for the Size.
h. Click Apply.
With object relative units (oru), the size of the text is set to the same units as
the object. In our example, the text size for range 1 is set to 8.5 oru. The text
size will be equivalent to an object that is 8.5 metres high and so will appear
larger when you zoom in and smaller when you zoom out.
Note: For more information on choosing text sizes, see the Online
Reference Manual.
6. Click the check box in the lower left part of the form and in the Filename text box, type
ssi_styles:marker.ssi.
7. Click Apply.
The styles are now stored in the file marker.ssi in the styles directory.
The Set Drawing Styles form will now look like the following.
A sample of the points is displayed below. By looking at the colours, you can quickly see
the areas of lowest arsenic concentration (blue), intermediate concentration (green and
orange) and highest concentration (red).
Note: If you want to see all of the steps performed in this task, run 02a_change_display_styles.tcl.
You will need to click Apply on any forms presented.
Activity: View Point Properties
The Point properties function displays point attribute information including string, segment and
point numbers, y,x,z coordinates, and description fields.
4. Select any four points by holding down the CTRL key and clicking on the points.
Note: To see all of the steps performed in this task, run 02d_bearing_and_distance.tcl. You will
need to click Apply on any forms presented.
Saving Data
There are two ways to save a file: text or binary.
In most cases you will save strings as text files. However, if the text string files are very large (more
than 5 MB), it may be worth saving them as binary files to reduce the time it takes to load the data
into graphics.
Typically, you can expect a saving of up to 15% in the size of the string file and up to 30% in the time
to load the data into graphics.
Activity: Save a File
The Save function saves the contents of the active layer to a file.
Tip: An alternative method to show the Save File form is to click the icon in the
toolbar.
Note: To see all of the steps performed in this task, run 02e_saving_data.tcl. You will need to click
Apply on any forms presented.
With Strings, there are the options to display them just as lines or with string and/or segment
numbers.
Points can be displayed as just markers, point number from the string file or one of the attributes
stored in the description fields.
Data that is hidden using the Display functions is only removed from view, not removed from
memory.
Exercises
For these exercises make the Tutorials>Introduction directory your Working Directory.
Editing Data
Orbit Mode
Orbit mode is the default graphics mode, where you can rotate data in three dimensions. When you
are using the orbit tool, Surpac operates in function-centric mode.
Activity: Use Orbit Mode to Rotate Data
Selection Modes
There are several ways of selecting data:
l Select mode.
l Point/Triangle mode.
l Segment/Trisolation mode.
l String/Object mode.
l Box selection.
When any of theses selection tools are used, Surpac will operate in data centric mode.
Activity: Change Selection Modes
The Select tool icon, now displays the Point/Triangle selection mode: .
Notice that the Tools toolbar now displays Select selection mode:
.
9. Right-click anywhere in the Graphics Viewport to display a popup menu.
10. At the bottom of the popup menu, click the Orbit view tool icon.
Notice that the Tools toolbar now displays Orbit view mode: .
11. From the Tools toolbar, click the Select tool icon .
7. Hold down the CTRL key, and then click the points as shown.
8. Click DELETE.
The points are deleted.
2. Hold down the CTRL key, and then click the segments as shown.
It is not necessary to display point numbers. This is only done here to clearly identify
points which you will select in the following steps.
3. From the Selection drop-down menu on the Tools toolbar, click Select.
7. Click at a location between the two points on the segment to be deleted, as shown.
9. Hold the CTRL key down, and select two points to be joined (105 and 216).
Note: If two segments of different string numbers are connected, the string number of
the first point selected is used for the result. In the preceding example, if point 105 is
selected first, then the resulting string number will be 1. If point 216 was selected first, the
resulting string number will be 2.
10. Right-click and select Connect points from the popup menu.
11. Hold the CTRL key down, and select two points to be joined (130 and 25).
13. Repeat steps 4 to 12 for other locations, until the final result is as shown.
Next, you will use the select tool to select and renumber all segments of string 2 to string
1.
16. Click at a location between two points on a segment that you will renumber.
17. Right-click and choose Select strings from the popup menu.
4. Hold the CTRL key down and click the two points as shown.
Before After
Notice that the status bar displays coordinate values as well as the movement.
Notice that only the X and Z values in the status bar change as you move the segment.
5. From the Selection drop-down menu on the Tools toolbar, click Select String/Object.
7. Right-click and then select the Move Tool from the popup menu.
8. Click inside the yellow square at the intersection of the three axes and move the string as
shown.
Notice that all three coordinates in the status bar change as you move the string.
String Maths
String maths allows you to manipulate string file data mathematically.
Some of the uses of this function are:
Next, you will convert some geological ore zone interpretations from section coordinates to plan
(real-world) coordinates.
Activity: Convert Ore Zone Interpretations from Section Coordinates to Plan (Real-
World) Coordinates
Next, you will convert this data to plan view, also known as real world coordinates.
5. Choose File tools > String maths.
6. Enter the information as shown, and then click Apply.
Note: To see all of the steps performed in this task, run 05a_string_maths1.tcl. You will need to
click Apply on any forms presented.
Activity: Move a Pit 200 Metres North to Correct Survey Station Error
5. Open the files pit_new.str and pit_design1.str in graphics and move the images around
to see the difference between them.
The original pit is displayed next to a new repositioned pit.
Note: To see all of the steps performed in this task, run 05b_string_maths2.tcl. You will need to
click Apply on any forms presented.
7. From the Navigator, right click kbb_new135.str, and then select Edit.
The file opens in your text editor.
Notice that a new column has been added to the existing D1 and D2 columns. This is the
D3 field that stores the cut off grade from the above process.
8. Drag and drop kbb_new135.str into graphics.
9. Choose Display > Point > Attributes.
10. Enter the information as shown, and then click Apply.
The D3 values for each point are displayed in each cell, as given below.
Notice that some of the values have 2 or 3 decimal places while others don't have any.
Next, you will standardise the number of decimal places to two.
12. Exit the editor without saving any changes.
13. Click Reset graphics
14. Choose File tools > String maths.
15. Enter the information as shown, and then click Apply.
16. When the following prompt is displayed, click Apply ,and then click Yes on the next
prompt.
17. From the Navigator, right click kbb_new135.str, and then select Edit.
The file opens in your text editor.
Notice that a fourth column has been added to the existing D1, D2 and D3 columns. This
is the D4 field that stores the formatted value of D3 field, from the above process.
The next part of the task demonstrates how to concatenate / attach text to existing
descriptive field values in the string files.
18. Exit the editor without saving any changes.
22. When the following prompt is displayed, click Apply , and then click Yes on the next
prompt.
23. From the Navigator, right click kbb_new135.str, and then select Edit.
The file opens in your text editor.
Notice that a fifth column has been added to the existing D1 to D4 columns. This is the D5
field and it stores a D1 field value along with the text "Au g/t" added to it.
24. Exit the editor without saving any changes.
Review
Questions
1. What is the default graphics mode?
2. Using a selection mode, what are the five different ways to select data?
3. How does the move tool work?
4. Having selected data, how is a data centric menu displayed?
5. How can all the expressions that can be used for the MATHS function be found?
Exercises
1. Using editing tools.
A. Opn Ore150.str and Pit150b.str in separate graphics layers.
B. Make Pit150b.str the active layer.
C. Smooth the pit contour string.
D. Remove duplicate points within 3m.
E. Make the Z value 145m.
F. Renumber the string to 145.
G. Move points to create a ramp access onto the ore.
2. The clip/trim function.
A. Reset graphics.
B. Open soil1.str into Graphics.
C. Open bdy100.str into Graphics.
D. Make soil1.str the active layer.
E. Display point markers(pm).
F. Choose Edit>Trim>Clip by selected segment.
G. Select the bdy100 string.
Question:
i. What effect does this function have?
H. Undo .
I. Choose Edit>Trim>Trim by selected segment, delete partially inside segment.
Questions:
i. What effect does this function have?
ii. Give an example of how one of these functions might be used.
4. String editing using menus / toolbars.
A. Open LEV100.str.
B. Display strings with segment numbers.
C. Using Segment>Join, join segment 1.1 to 1.2.
D. Close segment 1.1.
E. Move the first point on string 2 to the other side of string 1, using
Edit>Point>Move.
F. Renumber string 2 to string 1.
G. Using the Display functions, choose Edit>Display>Point>Numbers.
H. Using Edit>Segment>Break, break the string after point 12.
I. Display strings with segment numbers.
J. Using Edit>Segment>Join, join string 1.1 to 1.6, then 1.1 to 1.2.
K. Now display point numbers again and see how they have been re-numbered
to reflect the new order of the string.
Creating Data
Overview
In this chapter you will learn about:
Snap Mode
When you are creating new data, it is important to know which point mode is activated.
The following example shows a string consisting of two points, to which a third is added using the
three different mode settings.
The default is ADD Mode, as ticked above, any new points created will be added after the last point.
INSERT mode should be ticked for inserting between existing points. Here the new point is inserted
as point 2, and point 2 is renumbered to 3.
POINT Mode can be used while editing. In this case the coordinated of point 2 are changed to the
new point coordinates.
On the STATUS Bar, you can set the design string number, and Design Gradient.
You can set the gradient as a ratio, percentage or angle, and this will determine the RL of the points
you create subsequently.
5. Create additional points using Create>Points>By bearing, using a bearing of 300deg. & a
distance of 100m.
6. Change the point mode to INSERT, to create a start point for cross-cuts coming off the
decline, using Create>Points>In line between adjacent points.
7. Set a new Design string (string 501) and set the Gradient to 1 in 50.
8. First digitise the point just created on the decline.
This is what the above decline looks like in three views, Plan, Section and Long Section.
l Numbers 1, 2 and 3 will not be displayed in the graphics. They are shown on
the images so you know the order in which to create the points.
8. Click three points at the northern end of the segment as shown, to create points 4, 5, and
6.
Note: When you create closed segments in the XY plane (plan view), you will usually
create them in a clockwise direction. Clockwise segments are regarded as an area of
inclusion, and give expected results when you intersect them with other clockwise
segments.
13. Choose File > Save > string/DTM.
14. Enter the information as shown, and then click Apply.
Next, you will delete some points to make the outline more convex.
19. Set the selection mode to Select Point/Triangle.
20. Hold the CTRL key down and click several points as shown.
The Design grade button displays the current design gradient. Next, you will
set the string number for the top of the pit.
Note: This step is optional.
24. From the Status Bar at the bottom of the Surpac window, click the Design string button.
The Design string button displays the current design string number .
Next, you will expand the segment horizontally by a distance of 100. At an angle of 45
degrees, this will create a pit crest 100 meters above the base, at an elevation of 250.
26. Choose Edit > Segment > Expand/Contract.
27. Click anywhere in graphics to select the segment for expanding.
28. Enter the information as shown, and then click Apply.
30. Hold down the right mouse key and drag down or to the left to zoom out.
31. Choose Display > 2D Grid.
32. Enter the information as shown, and then click Apply.
This procedure can be useful for determining the limits of a block model. Next, you will
create a DTM from this data.
33. Choose Surfaces > Create DTM from Layer.
34. Enter the information as shown, and then click Apply.
35. If you see a break line error and some lines that cross in the pit crest, delete some points
where the lines cross:
36. Choose Surfaces > Create DTM from Layer, and then click Apply.
37. Choose Display > 3D Grid.
38. Enter the information as shown, and then click Apply.
Review
Questions
1. When digitising, what is the difference between select a point and digitise a point?
2. When designing data, how is a gradient set?
3. How many point modes are there? When are they used?
Exercises
1. Create a dump.
A. Create a new layer called 'Dump'.
B. Set the design string to 500.
C. Create a rectangle, starting at coordinates 100N,100E,100mRl, 200m long and
120 wide.
D. Create a new segment by contracting that string by 10m.
E. Using Segment Maths, increase Rl of contracted Seg by 5m.
F. Set the design string to 501.
G. Digitize 2 points near the center with Rls of 110m.
H. Save Dump100.str.
Questions:
i. What is the area of the base of the dump?
ii. What is the bearing and distance between the points on string 501?
File Tools
The File tools module is a collection of functions for manipulating and creating string files. These
functions give you a high level of flexibility when using Surpac.
The boundary line is in a separate layer to soil1.str. The preceding image gives you a good
view of the files that you will be processing with the Apply boundary strings function.
Note: Because this function is a File tools function, you do not have to show the files
in graphics for Surpac to process the data. However, by showing the files in graphics, it
might help you understand what is happening.
4. Choose File tools > Apply boundary string.
5. Enter the information as shown, and then click Apply.
Note: To see all of the steps performed in this task, run 05d_apply_boundary.tcl. You will need to
click Apply on any forms presented.
Classifying Strings
It is often useful to classify the strings in a file, based on the value contained in a specific field. This
value may be an elevation, or a numeric attribute, for example an assay grade value. You can classify
strings based on the Y, X, Z fields or the description fields D1 to D100.
By classifying the data, you will create a separate string, which you can then plot with different
attributes such as different colours or line thicknesses.
The following example uses the Classify strings by numbers function to classify the file samp1.str
based on the value in the D1 field which represents arsenic concentrations in ppm.
Activity: Display Soil Samples using String Classification
1. Open samp1.str which contains soil sample data.
2. Choose Display > Point > Attributes.
3. Enter the information as shown, and then click Apply.
The points with attribute values for arsenic concentration are displayed.
You will see that the points are coloured according to the classification that you specified.
Note: To see all of the steps performed in this task, run 05e_classify_strings.tcl. You will need to
click Apply on any forms presented.
Transforming data
2D Transformations
2D transformations are useful when you have to transform coordinates from one coordinate system
to another, for example from the Map Grid of Australia (MGA) system to a local mine grid. The
example demonstrated here is the transformation of an open pit file into the Australian national
coordinate system.
Another example of where you might want to use 2D transformations is where survey data has been
entered using an incorrect backsight. You can then correct the data by transforming the coordinate
system onto the backsight that was originally used.
The function is also useful for transforming oblique sections that have been taken through a DTM or
string file using an axis. In this case, the resulting section string files have coordinates relating to the
axis used. You can transform them back to real-world coordinates using the 2D Transformation
function.
In the following task you will transform pit_as_built1.dtm into the MGA zone 50 using 2D
transformation.
Activity: Transform a Pit to a Different Coordinate System
Note:
l Old points are the coordinates in the mine coordinate system. New points
are the coordinates in the national coordinate system.
l You have entered a Z correction of -950 here because the mine grid is +950
If the grids are plane metric grids, the scale factor should be 1.000, or very near 1.000. Any
variation represents an error.
Note: By default the rotation is displayed in DDD.MMSS format.
Shift Y is the difference between Y1 (old) and Y1 (new) as entered on the first form.
Shift X is the difference in easting between X1 (old) and X1 (new).
In other words, the shifts are the difference in northing and easting between the
coordinates of the first point in the two systems.
Note:
l Old pointsare the coordinates in the mine coordinate system; New points
are the coordinates in the national coordinate system.
l You have entered a Z correction of -950 here because the mine grid is +950
Note: To see all of the steps performed in this task, run 05f_2d_transform.tcl. You will need to
click Apply on any forms presented.
Polygon Intersection
In Surpac, you can use the Intersect polygons function to calculate the area of an ore zone within, or
outside of, a pit boundary.
This function creates a new closed shape from two existing closed shapes by performing an
intersection, outersection, or union operation.
Operation Example of Usage
Determining the area which is common to two closed strings. By intersecting two closed
Intersection strings you produce a string which has one or more segments which represent the area
common to the two strings.
Determining the material which might remain after an excavation is completed, for example
Outersection
the excavation of an open pit.
Joining two strings together to represent the total area of both strings, for example to
Union
represent the shape which will remain after two intersecting pits are excavated.
In the polygon intersection process, one of the closed strings is the intersecting string and the other
is the intersected string. In outersection operations, the order in which you specify the strings affects
the resultant string.
Activity: Intersect Polygons to Calculate the Area of an Ore Body within a Pit Bound-
ary
When you know the area of an ore body in a bench you can do other useful calculations, such as an
ore volume calculation.
bench105.str is displayed.
Note: By filling in the form as shown above, you have identified string 30005 as the
intersecting polygon and strings 1, 2 and 3 as the intersected polygons.
Surpac creates a new file, int_bench105.str, which shows the areas of the ore bodies that
are within the pit.
7. Click Reset graphics .
8. Open int_bench105.str.
The orebodies clipped to the boundary string are displayed.
9. From the Selection drop-down menu on the Tools toolbar, click Select Seg-
ment/Trisolation.
10. For each ore body, select the segment that represents it in graphics.
The area is shown in the Properties pane.
Note: To see all of the steps performed in this task, run 05g_intersect_polygons.tcl. You will need
to click Apply on any forms presented.
Note: String range 1,5 specifies that the pit boundary will intersect with all strings
numbered from 1 to 5 (there are 5 strings in kbb135.str that collectively represent the ore
blocks).
6. Click Reset graphics .
7. Open kbi135.str.
8. Open con135.str.
Note: To see all of the steps performed in this task, run 05h_clip_ore_blocks.tcl. You will need to
click Apply on any forms presented.
Review
Questions
1. What effect does the data in the active layer have on a file tools function?
2. What is the advantage of using file based rather than graphics functions?
3. Using the APPLY BOUNDARY STRING function, what effect does an anticlockwise bound-
ary string have?
4. Why would a spot height string be specified in the APPLY BOUNDARY STRING function?
5. Give a reason for classifying points into different string numbers.?
Exercises
1. Data transformations.
A. Choose File tools>Transformations>2D transformations of string file.
B. Transform the file Pit_design1.str to Pit_newgrid.str.
C. Using the following points from both grids add an elevation correction of
800m.
Questions:
i. What is the rotation?
ii. What is the Scale adjustment?
Triangulated Surfaces
Surpac supports two types of triangulated surfaces: DTM surfaces and three-dimensional solid
models (3DMs). A DTM surface is a set of triangles which represent a surface, such as topography or
a pit design. A solid model is a set of triangles which represents a three-dimensional shape, such as
an ore zone or an underground mine design.
Surfaces are used in Surpac for such things as 3D visualization and for calculating volumes. Almost
any surface can be modelled as a DTM, including natural topography, lithological contacts,
bedrock/overburden contact, or water tables.
DTMs are made of triangles, with each point of each triangle matched to a point in the original string
file. Consequently DTM files are not valid without the original string files.That is, a DTM file cannot be
opened if the original string file of the same name is not accessible.
DTMs cannot fold back on themselves. That is, a DTM cannot have multiple Z values for a given X, Y
coordinate. It is not possible to model overhanging or vertical surfaces with a DTM surface.
Naming Conventions
The objects you create in Surpac are numbered by a system similar to that of string and string
segment numbers:
String => Object
Segment => Trisolation
Point => Triangle
When you define an object, you explicitly assign it both an object number and a trisolation number.
Surpac refers to the object by the object and trisolation number that you assigned. The object
number must be an integer in the range of 1 to 32000. The trisolation number must be a positive
integer.
DTM Conventions
l DTMs cannot model overhangs or vertical surfaces.
l When creating a DTM, strings identified as spot heights are interpreted differently to
strings identified as breaklines.
This chapter describes using strings to act as break lines. A breakline string is a string that represents
physical features you can see in the real world, such as a crest of a pit, a fault in a geological model, or
a contour in a pit. Spot height strings contain random points which, when connected by a string line,
do not represent any physical feature. Examples are randomly surveyed points, or borehole collars.
Breaklines and Spot Heights
Breakline strings are those which represent linear physical features that you can see in the real world
e.g. crest of a pit, a fault in a geological model, a contour in a pit.
Spot height strings contain points which represent non-linear or point features, such as hill peaks,
surface low points, gridded points, borehole collars etc. The lines connecting the points in the spot
height string in graphics do not infer a physical line.
It can be useful with files that are generated with a huge number of points, such as CMS pickups, to
have Surpac automatically reduce duplicate points within a trap distance.
Normalising Data
Another useful function when preparing files for triangulation is the Edit>Segment>Normalise
segments function:
In situations that might cause Geometry problems where there are not enough points for Surpac to
correctly form triangles, extra points are inserted along a line.
Smoothing Data
Another method of increasing the number of points defining a shape is to use the
Edit>String>Smooth function. This increases the number of points in a string without necessarily
retaining the original points as you can see from the following example.
It must be stressed, however, that any smoothing technique generates new data points
mathematically, and these may not exactly honour the original data as do the original strings.
Graphical vs File-based options
A DTM can be created in two ways to best suit the data you wish to model.
Graphical DTM operations allow you to view your results immediately. However, for large data files,
the processing time may be prohibitive. The file-based tools allow you to perform DTM operations
directly on the file data, saving both memory usage and creation time.
For example, to create a DTM graphically, you would use:
The string file contours and the DTM of the topography are displayed.
4. Choose File > Save > string/DTM file to save the DTM file.
5. Enter the information as shown, and then click Apply.
6. Click Yes.
Note: To see all of the steps performed in this task, run 03a_create_dtm_graphics.tcl. You will
need to click Apply on any forms presented.
Activity: Create a DTM File Based Method
You will now create a DTM from the string file pit_design1.str using the file-based DTM creation
option. You will use this function to demonstrate the impact of using strings as breaklines.
1. Choose Surfaces > DTM File functions > Create DTM from string file.
2. Enter the information as shown, and then click Apply.
Note: This time the Strings to act as break lines check box is not ticked.
3. Open pit_design1.dtm.
Notice that there are several triangles in the DTM that do not reflect the results we desire.
You will now repeat the procedure, but using the Strings to act as breaklines option.
4. Choose Surfaces > DTM File functions > Create DTM from string file.
This time ensure that the Strings to act as break lines check box is selected.
5. Enter the information as shown, and then click Apply.
The message window informs you of the processing as the DTM is created. When
processing is finished, a new window displays a log file, which is a report containing
information about your DTM.
6. Close the log file window.
The DTM file is saved automatically as pit_design1.dtm.
7. Open pit_design1.dtm.
The pit is displayed.
Note: To see all of the steps performed in this task, run 03b_create_dtm_file_based.tcl. You will
need to click Apply on any forms presented.
2. Select Display > Strings > With String Numbers, fill in the form as shown below and click
Apply.
3. Open dhc2.dtm.
4. Right-click to the right of the menus, move the cursor to Toolbars, and then click Scale
and transparency.
Note: String 2 of pit1.str is used as the boundary string for the volume calculation.
4. Open dhc2.dtm.
The DTMs are displayed as shown.
Note: To see all of the steps performed in this task, run 05i_calculate_volume_between_
2dtms.tcl. You will need to click Apply on any forms presented.
There are two methods of creating the boundary string in Surpac: a file-based method and a
graphics-based method. In the file-based method, there is no need to display the DTMs and the
boundary string is automatically saved to the nominated file. In the graphics-based method, the
DTMs must be displayed in graphics and the boundary string is not automatically saved but is simply
displayed in its own graphics layer. You must save your boundary string to a file after it is generated.
Activity: Create a Boundary String - File-based Method
Firstly, you will use the file-based method. In this example, you will show only the DTMs for clarity.
3. Choose Surfaces > DTM File functions > Line of intersection between two DTMs.
4. Enter the information as shown, and then click Apply.
This outputs the same result as the file-based function, but you can select the fields
graphically. In the graphics-based method, you must save the string in the intersection
layer to a string file.
1. Choose Surfaces > Volumes > Cut and fill between DTMs.
2. Enter the information as shown, and then click Apply.
3. Open cfill_volume.not.
The report is displayed.
Note: To see all of the steps performed in this task, run 03c_cut_and_fill_volume.tcl.You will need
to click Apply on any forms presented.
Solids
Activity: View a Solid Model
1. Drag and drop solid_model.dtm into graphics.
The solid is displayed.
2. Use the cursor to view the ore body from different angles.
Notice that the 3DM or solid is a closed shape that represents a closed structure.
Note: Triangulation will occur using segment numbers. This means that segment 1 will
triangulate to segment 2, segment 2 will triangulate to segment 3, and so on.
4. Choose View > Zoom > Out.
5. Click Box Select Points on the Tools toolbar.
6. Click and drag a box that contains all of the segments.
7. Right-click in graphics and choose Select segments.
9. Hold the ALT key down, then click and drag in graphics to rotate the data to the view
shown below.
Notice that the solid is not closed.
10. Move the cursor near the end segment and click so that one point is selected.
13. Hold the ALT key down, then click and drag in graphics to rotate the data to expose the
other end of the object.
14. Move the cursor near the end segment and click so that one point is selected.
Note: To see all of the steps performed in this task, run 04a_create_and_validate_solid.tcl. You
will need to click Apply on any forms presented.
Activity: Calculate a Volume for a Solid Model
Note: To see all of the steps performed in this task, run 04b_solid_volume.tcl. You will need to
click Apply on any forms presented.
Review
Questions
1. In surface creation, what is the relevance of Breakline and Spot Height strings?
2. What kinds of data can a surface model?
3. What happens to a DTM when you edit its String file?
4. When dealing with DTMs, what is the equivalent of point, segment, string?
5. What is the difference between surfaces and solids?
6. Why does Surpac refer to 3DMs?
Exercises
1. Setting styles for DTMs.
A. Choose Display > Display properties > DTMs and 3DMs.
B. Change the colour for object 1 to dark blue. Select the Transparency box and
set the colour to dark blue.
C. Change the colour for object 2 to dark green. Select the Transparency box and
set the colour to dark green.
D. Save the styles file when the form is applied.
E. Open Topo_dump1.dtm in Graphics.
F. Choose Surfaces > Object renumber, and renumber object to 2.
G. Save file.
H. Open Dump1.dtm in Graphics.
Questions:
i.
Are the surfaces opaque?
ii.
Vary the transparency colour, what effects are seen?
iii.
When the topography .dtm file is saved, what warning appears and why?
iv.
What is the difference between setting transparency this way, or using the
Scale and Transparency toolbar?
2. Merging DTMs.
A. Open Topo_dump1.dtm and Dump1.dtm in Graphics.
B. Choose Surfaces > Clip or intersect DTMs > Upper triangles of 2 DTMs.
C. Save the file asDump_in_topo.dtm.
Questions:
i. What kind of string file do you get from this function?
ii. How useful is it?
3. Extracting contours from a surface.
A. Open Dump_in_topo.dtm (or Topo_dump1.dtm) into Graphics.
B. Choose Surfaces > Contouring > Contour DTM in layer.
C. Extract contours every 5m from -175mRl ( or 10mRl ).
Question:
i. What happens to the contours you have just created if you Reset graphics
now?
4. Draping data onto a surface.
A. Open Topo1.dtm and Dhcollar1.str in Graphics.
Dhcollar1.str must be the active layer.
B. Choose Surfaces > Drape string over DTM.
C. Do not Interpolate new points.
Question:
i. What happens if Interpolate new points is selected?
l Autoplot is a module that produces plot files from information displayed in graphics.
l The Advanced plotting module allows you to produce more complex plots or batch
plots.
5. On the following form, enter the title block text, and then click Apply.
A box representing the page size appears around the data in graphics.
The plot is displayed in the plot preview window. You can now edit or add information to
the plot using the Edit and Create menus.
Note: To see all of the steps performed in this task, run 06c_plotting_with_autoplot.tcl. You will
need to click Apply on any forms presented.
Review
Questions
1. What are the two methods of creating plots through Surpac?
2. What function does the F2 key have when plotting?
Exercises
1. Plotting rendered surfaces.
A. Open topo1.dtm and Pit_design1.dtm in Graphics.
B. Choose Plotting>Autoplot.
C. Create a plotfile called Pit_topo.
D. Use an A0 sheet at 1:1000 scale using Raster data with an XY Grid and no title
block.
Questions:
i. What is the minimum scale to fit all the data on an A0 sheet?
ii. What happens if vector data is chosen for this data?
iii. What happens when the data is not on plane (plan / section)?
2. Create a Plotfile
A. Reset Graphics.
B. Open Pit_design1.str and Int_bench105.str in Graphics.
C. Choose Display>Display Properties>Strings and points.
D. Display strings 1,2 and 3 as polygons.
E. Choose Display>Point>Attributes.
F. Display the D1 field as a centroid.
G. Autoplot on A1 at 1:500, XY grid every 100m with an NMA0 title block.
H. Save the plot file asOre_105.dwf.
3. Edit a Plotfile
A. Open Ore_105.dwf in Graphics.
B. Use the selection tool to choose an item to edit. First that section of items
have to be ungrouped .
C. Select the ore polygons and, using the selection properties box on the left,
change their colour to a light colour.
D. Select the polygon centroids, change their colour and set them to bold.
E. Use the move tool to move the centroids fully inside their polygon.
F. Choose Create>Text to plot the text 'Ore in Pit' at 1.2cm high in the centre of
the plot.
G. Save plot file asOre_105_edited.dwf.
Note: The drill holes are displayed with labels for gold levels. The labels will appear on
the right side of the drill holes when displayed in section view, with the formatting that
you have specified.
Notice that different sample values are displayed using different colours. These colours
are controlled by a styles table in the database.
11. Click the Surpac icon at the bottom of the screen, and then click Drillhole display styles.
12. Expand the sample tree and the gold field to see the display attributes for gold.
Note: To see all of the steps performed in this task, run 06a_display_drillholes_and_create_
sections.tcl.You will need to click Apply on any forms presented.
Block Models
The block model is a powerful dataset that contains 3D spatial information such as grade values,
geological units, geophysical attributes, geotechnical information, optimisation values, design data,
scheduling information, and haulage distances.
The data is stored in blocks of a pre-defined size and spatial area. The number of attributes included
in a block model is unlimited, and the type of information stored is diverse.
Activity: Display, Constrain, and Report a Block Model
Next, you will remove the outer blocks from view to show only the ore body.
5. Click the Block model icon, and then select New constraint.
Constraints are a powerful way to define related parts of a block model, such as blocks
inside an ore zone. Constraints can help you visualise ore bodies and produce reports
and resource estimates.
6. Select constraint type BLOCK and then fill in the three input boxes below so that the con-
straint is gold > 0.
The model displays only those blocks that contain gold. Next, you will colour the blocks
by their gold values.
8. Click the Block model icon, and then select Colour by attribute.
9. Select gold for the Attribute to colour by.
10. Select Apply transition when scanning.
11. Click Scan.
This loads a palette of default colours that Surpac will use to colour the blocks.
13. Choose Block Model > Display > Edge and face visibility.
15. Choose Block Model > Attributes > View attribute for one block.
Note: In this case you have chosen CSV output because you can easily import a CSV file
into a spreadsheet for further processing.
20. Enter the information as shown, and then click Apply.
Note: To add a new report attribute row, right-click below the row and select Add.
The report format you have specified is stored in the file rformat1.bmr so you can easily
produce future reports of this type.
This report shows a gold by Average measurement (g/t) and also a gold by Aggregate
measurement that shows total grams contained.
21. Enter the information as shown, and then click Apply.
A report is produced that shows the volume, tonnes and gold values for each grade
range.
Note: To see all of the steps performed in this task, run 06b_block_model.tcl. You will need to click
Apply on any forms presented.
References
For more information, go to Gemcom's Customer Support website: www.gemcomsupport.com