Escolar Documentos
Profissional Documentos
Cultura Documentos
Free Download
Contents
1. Getting started
1.1 Launching Gsimple.
1.2 Define the project
1.3 Select coordinates
1.4 Define the block
1.5 Define the part
1.6 Attaching tools
1.7 Make Options
1.8 Saving the project on the hard disk
1.9 Compilation
1.10 Check the G-Code produced
1.11 Report printing
1.12 G-Code downloading
2. GSIMPLE Command List
3. GSIMPLE files
4. G-Codes used by G-Simple
Home
Examples
Contact
1. GETTING STARTED
Generally, you have to follow 12 steps in order to build a GSIMPLE project. Depending on the
project, some of them may be ommited
Step 1: Launch GSIMPLE by double clicking on its icon
Step 2: Define the project details through the Setup/Project menu selection.
Step 3: Select coordinate system (G54,G55 etc)
Step 4: Define the block dimensions, block material and tool-zeroing level.
Step 5: Define your part using Shape, Milling, Modify and Engrave menu selections.
Step 6: Select the tools you will use from the tools library and attach them on the toolholder
Step 7: Select fininshing quality, finishing quality parameters etc
Step 8: Save your project
Step 9: Compile your project
Step 10: Check the G-Code produced by inspecting it and running it on the screen
Step 11: Print out a report with information and instructions for the machinist who will actually
produce the part
Step 12: Download the g-code and run it on your milling machine
Open the General Project Data dialog through the Setup/Project menu.
In order to facilitate the users we have included some additional usefull informations in the Project
Dialog. You may leave them blank if you wish. Fields left blank will not appear in the Report (look at
1.11)
If you ommit this step and do not define G-Code filename and program number, Gsimple will use the
default values.
Default values are defined in the Configuration File (gsimple.cfg) accesible through the Setup/
Configuration menu selection.
X,Y settings will affect only the image on the screen and not the g-code produced. Default values are
set in the configuration file OR the milling machine configuration files.
# Default coordinates. You can also move these lines in the milling machine
# definition file(s)
# COORDINATES G<54,55...> X Y Z [UNITS] (Z is always 0)
# UNITS are either mm or inch. Default is mm
Top
The tool-zero-referance-level is the surface which you will use in order to zero your tools.
In many applications it is a common practice to zero the tools on the top face of the block. In this case
you will have to set Top at 0 (the default value).
Sometimes, you will zero the tools on the table. If the block is fixed directly on the table, top will have
to be set at the same value as Height(Z) (50 in our example).
If you select another object for tool-zeroing (the vice for example) you will have to calculate (or
measure) the distance between the block top face and the face selected for tool-zeroing and set Top
accordingly.
Block Material
Select the block material from the material data base. The material data base is stored in a simple text
(ascii) file (material.dat) which may be edited with Windows Notepad or any other text editor.
Ck45 1.3
In this case, CK45 is the material name and 1.3 the material-group and subgroup to which CK45
belongs.
Gsimple will use this information -the block material group and subgroup- at compilation in order to
select the proper speed and feed rates from the tool data base. You can edit the material.dat file in
order to delete unused materials, use different names etc. Do not delete ST37-2 from the data base!
Default block material is defined in the configuration file (gsimple.cfg) with the configuration command
MATERIAL.
Example: the following line in the configuration file (gsimple.cfg) will make CK45 the default block
material.
MATERIAL CK45
If you do not select a default material in the configuration file, gsimple will use ST37-2
Bulges
Pockets
Drills
Threads
Engravings
A Bulge has a positive volume. It may have any (producable) shape. In order to facilitate the user
GSIMPLE includes dialogs for three common bulge types -rectangular, cylindrical and polygonal. Use
the Shape/Odd-Shapped Bulge menu selection to defined an arbitrary shaped bulge.
A Pocket has a negative volume. It may have any (producable) shape. In order to facilitate the user
GSIMPLE includes dialogs for three common pocket types -rectangular (with rounded edges),
cylindrical and longholes. Use the Shape/Odd-Shapped Pocket menu selection to defined an arbitrary
shaped pocket.
Drills and Threads are just that -common drills and threads.
Engravings include lines, arcs, circles and text. The font used for text engravings is selected with the
FONT configuration-command in gsimple configuration (gsimple.cfg) file.
Object Attachment
A part is defined through the attachment of objects of predifined object-types. You can attach objects
directly on the block. For example, if you want to drill a hole (please look at the first example at http://
www.gsimple.eu/ex1/ex1.html) on a metal plate, you just attach a drill on the block.
If you use bulges you must attach the lower bulge on the block -otherwise GSIMPLE will not know
where you have placed it.
Bulges may be attached on the block or on any other bulge.
Pockets, Drills, Threads and Engravings may be attached on the block, a bulge or a pocket (but not
on pockets defined as a Longhole which is a special kind of pocket). Current GSIMPLE version will not
accept the attachment of a bulge on a pocket (an island).
Levels
A level is a group of one or more bulges attached on the same level. The first level (level 0) is the block
remaing top face. Bulges belonging to the same level have always the same height.
You will have to split your object in levels manualy in order to produce more complicated objects.
In order to be able to attach a tool in the toolholder the tool must have been properly defined in the
Tool Data Base.
Tools are devided in 11 tool-types:
A. Center Drills
B. Drills
C. Taps
D. Thread mills
E. Rough end mills
F. Fine end mills
G. Rough face mills
H. Fine face mills
For every tool the data base stores two sets of data:
1. Geometry data (diameter, length, number of flutes, pitch (taps anjd thread cuts, etc)
2. Milling data (tools speeds, vertical and horizontall feed rates, cutting depth etc). Since these data are
material dependend, the data base is able to store a set of milling data for every material group/
subgroup.
The above screenshot shows the speed, horizontal milling (fxy) and Vertical milling (plunging, fz) feed
rates for tool named EM14R2 (a rough end mill) for Material group 1, subgroup 3 (*)
If no tool-milling-data have been defined for the block-material-group, you will get a UNSUITABLE
TOOL message in the toolholder dialog.
Unsuitable tools will be ignored by the automatic tool selection compilation procces. If you select an
unsuitable tool manualy for a specific job, compilation will be terminated with an error message such us
(*) Material Groups and Subgroups are defined in amg.dat file. This is a plain text (ascii) file editable
with any text editor such as Notepad. The original file (the one you have downloaded) follows the
common division made by the most tool manufacturers. Our suggestion is to leave it as it is.
Option are divided in 5 sections. Only the non obvious options are discussed below.
1. General.
Fast block approch height is used in drilling and taping and is the equivalent of the R-Plane
in G-Code. For example, if Fast block approach heigth is 3 the drilling outup command will
become
G81 R3.000 Z-25.000 F85.000
Go X,Y at tool change will be used with large object to avoid a colision between the tool and
the object during toolchange. Gsimple will fisrt move to the ordered x,y position and then change
tool
2. Shape and pocket milling.
Horizontal overlap will affect the distance between sunsequent milling lines. 0% means a
distance equal to tool diameter. 50% a distance equal to half the tool diameter etc.(*)
Filter-out out-of-block paths is a powerfull filter which will eliminate from the G-Code slow
running G01 paths, which are placed out of the block. This is very usefull if you just want to
mashine just one part of an object (for example round the left edge of a long plate)
No filtering
Gsimple projects have the .gsi extension. The .gsi files are plain text files, ie you can open them with
any text editor such as notepad.
$64 65918042
$65 www.gsimple.eu
$66 1.09
...
$50 AUTO
$11 1 CD3.15 0 0.00000 0.00000
$11 4 DHSS08 0 0.00000 0.00000
$11 6 EM05R2 0 0.00000 0.00000
$11 7 EM08FS4 0 0.00000 0.00000
$11 10 FM25R4 0 0.00000 0.00000
$3 1 145.00000 60.00000 20.00000 0.00000 0.00000 0.00000 0 0 -1
$4 ST37-2
$28 0.00000 0
...
Do not edit!
If everything goes ok Gsimple will give you a report indicating the tools that have actually been used
and the estimated milling time
Important Note
Gsimple will not look at the back side of the tool when generating a path. This means that it will
damage your part if, for example you place two bulges one next to the other, in a distance smaller than
the tool diameter.
You can see this problem, during run-time (animation) as a path intersection. In this case you will
have to select a smaller tool and assign it to this job manualy.
# Author: S.Kontogiannis #
# Last Modified: 6/4/2007 #
# #
# NOTICE: #
# Configuration file is parsed only on program start up #
# Changes will not be effective until program restart #
# #
# Lines starting with # are comments #
##############################################################
# Company Name and User. Change these settings with your company and name
USER S.Kontogiannis
COMPANY Polaris Engineering SA
# You may add your logo and a logo-image, to be used on the printed report
# COMPANY_LOGO CAD-CAM DEPARTMENT
COMPANY_IMG c:\My Documenets\logo.jpg
Menu
File
Command
Toolbar
Icon
Function
New
Clears current project (if changes have not been saved it will
ask for confirmation) and opens a blank machine table
Open
Clears current project (if changes have not been saved it will
ask for confirmation) and opens a new, selected through a
standart file selection dialog
Save
Setup
Save As
Print report
Open Drawing
Import DXF
Exit
Exits GSIMPLE (if changes have not been saved it will ask
for confirmation).
Project
Block
View
Coordinates
User
Coordinates
Tool holder
Fixture
Configuration
Top View
Objects may be selected and deselected only in this viewmode. Current view-mode remains active until another is
selectec.
Isometric SW
Isometric SE
Axonometric
View Options
Draw
Shape
Draw Line
Draw Arc
Draw Circle
Draw
Rectangle
Draw Text
Snap Settings
Group
Ungroup
Topface
Rectangular
Bulge
Milling
Modify
Cylindrical
Bulge
Polygonal
Bulge
Odd shaped
Bulge
Rectangular
Pocket
Cylindrical
Pocket
Odd shaped
Pocket
Drill
Thread
Longhole
Delete
Move
Copy
Turn
Turn selected objects around a center point. Use the rightclick menu to preselect center point. Bulges and pockets will
be exploded
Mirror
Mirror selected objects horizontally or vertically. Use the rightclick menu to preselect axis.Texts cannot be mirrored
Attach
Edit
Milling
Parameters
Explode
Declare a rectangular, polygonal or cylindrical bulge oddshapped; declare a rectangular o cylibdrical pocket oddshaped in order to be able to edit them with the odd-shaped
editor.
NOTE: Turning or mirroring a non odd-shapped bulge or
pocket will automatically make them odd-shapped
Compose
Compose
Bulge
Compose
Pocket
Engrave
Tools
Comppse Drill
Comppse
Thread
Compose
engraving
Decompose
Line
Arc
Circle
Text
Text engraving.
Center Drills
Drills
Threads
End Mills
Face Mills
G-Code
Other
Special
Meterials
Material list. You can change this list by editing (for example
with Notepad) the material.dat file
Make
Help
View G-Code
Edit G-Code
Transfer GCode
Make Options
Make Report
Animation
Help
Get Help
About
3. GSIMPLE FILES
File
Type
Details
GSimple.exe
Binary, executable
CopyTo.exe
Binary, executable
amg.dat
Threads.dat
Material.dat
Tool.dat
Toolmat.dat
Gsimple.cfg
Stdfont.cfg
haas_vf0.cfg
haas_vf4.cfg
Archive (zip)
Archive (zip)
Gsimple.ex~
Gsinstal.exe
Executable
Installation program
Agree.txt
G00
Rapid move
G01
Linear move
G02
Circular move(***)
G03
Circular move(***)
G04
Dwell (delay)
G20
Select inch
G21
Select mm
G28
G43/G44
G54 G59
G74
G80
G81
Simple drilling
G83
Peck drilling
G84
G90
Some machines require a G00 command before G43/G44. You can turn this feature ON with the configuration
command
USE G00_BEFORE_TOOL_COMP ON
The default setting for both USE G44 and USE G00_BEFORE_TOOL_COMP is OFF
(***)
Starting with version 1.09 Gsimple is using the G02/G03 X Y Z I J F syntax for arcs and circles. Older versions
used G02/G03 X Y Z I J F only for a full circle and G02/G03 X Y Z R F for arcs. You can use the old syntax with the
M00
Program pause
M03
M04
M05
Stop spindle
M08
Start cooland
M09
Stop cooland
M30
M88
M89
Features
Free Download
Home
Documentation
FAQ
Contact
Examples
1: A simple drill
2: Use of bulges
3: An odd-shaped pocket
4: Mill down block
5: Using DXF files
6: Multiple threads
7: Defining a new tool
8: Engraving
Examples for downloading
G-Simple is distributed free of any charge
www.gsimple.eu
Features
Free Download
Documentation
Home
Contact
The block is drawn in green. The gray line represents the travel limit. The red lines the G54 coodrinates
Turn the mouse wheel to zoom or press it down and move the mouse to pan
Select the block for attaching the drill by left-clicking anywhere on it.
Its color will change from green to red, indicationg that it is selected as "parent"
Alternatively you can use the right-button and the menu opened
Select G-Code/View G-Code to see the code using your browser, or G-Code/Edit G-Code to View/Edit it using Notepad
Congratulations!
You have made your first object with GSimple
You can download the file 100.nc on your milling machine and execute it!
G-Simple is freeware
www.gsimple.eu
Features
Free Download
Documentation
Home
Contact
Setup
Open GSimple
Define your project using Setup/Project
Define the block using Setup/Block. Tools will be zeroed on block top face, so leave "Top" at 0
Save your project using File/Save as "ex2.gsi"
Select Setup/User Coordinates and set them at the center of the block (X=37.5, Y=37.5)
The center (as all X,Y settings) are in user coordinates, so we set it at X=0, Y=0
Leave, for the moment, all other settings (tools, surface quality, chamfer etc) at their default values
Attach a polygonal bulge
Select the cylindrical bulge you have just drawn as parent (left click it or use the right-click menu)
The cylinder will now be colored red
Compile!
Select G-Code/Make
Now we are ready to view the code, run it on the screen and download it on our machine for production!
Print report
The last step is to print a report for the shop floor. Gsimple will produce it in HTML format and invoke your browser for
viewing and printing
Select File/Print Report
A final note
Is our object realy ready? The answer is no! We have milled it to shape but it is still "stuck" on the remaining part of
the block. The next step would be to turn it up-side down and mill it down. You can do this very easily with GSIMPLE just look at the Example 4.
Polaris Engineering SA
www.polaris.com.gr
Features
Free Download
Documentation
Home
Contact
Now we will draw the 25 mm radius arc. GSIMPLE will not handle arcs greater that 180 deg, so we will have to split it into two
parts. One starting at X=80, Y=-12.5 and ending at X=80, Y=-12.5+25+25=37.5 and
a second starting at X=80, Y=37.5 and ending at X=55, Y=12.5
Now Select Draw/Draw Arc to draw the first part.
You don't have to retype the starting point -GSIMPLE has set it automatically for you (indicated with a red dot on the screen)
Now enter the correct values for the endpoint, the radious and the direction
Go on to draw the second part, that is
a CCW arc to X=55, Y=12.5, R=25
a line to X=0, Y=12.5
a CCW arc to X=0, Y=-12.5, R=12.5
The final drawing should look like this:
2. Select one after the other all the lines and arcs of the drawing, by left clicking on them with the SHIFT key pressed in a
Counter Clockwise Way. Alternatively, you can right click on them and select them through the popup menu. They will be
collored blue
Inspect in 3D view
Select View/Isometric from the main menu
The G-Code is ready! Now we are ready to view the code, run it on the screen and download it on our machine for production!
Center drilling and predrilling for end mill insertion have been done automatically by GSimple!
What would happen if we did not attach a 10 mm drill?
The answer is, we would get an error message at compilation
Try out detaching the fine end mill. You will get following message
And if we do not want any finishing? Well GSimple lets you choose the finishing quality and much else. We will discuss these in
the next examples
Polaris Engineering SA
www.polaris.com.gr
Features
Free Download
Documentation
Home
Contact
Setup
Open GSimple
Define your project using Setup/Project
Define the block using Setup/Block. Tools will be zeroed on block top face, so leave "Top" at 0
Save your project using File/Saveas "ex4.gsi"
Now your screen will look something like this
The G-Code is ready! Now we are ready to view the code, run it on the screen and download it on our machine for production.
Polaris Engineering SA
www.polaris.com.gr
Features
Free Download
Documentation
Home
Contact
Setup
Open GSimple
Define your project using Setup/Project
Define the block using Setup/Block. Tools will be zeroed on block top face, so leave "Top" at 0
Save your project using File/Saveas "ex5.gsi"
Import drawing
Draw the object using your CAD using 1 drawing point as 1 mm and Save/Export the drawing as "ex5.dxf"
Use File/Import DXF to import the drawing
Select the file and press open
In most cases the reference point (x=0, y=0) in the dxf drawing will not be known, so we will leave the entry point coordinates
at 0,0 and move the drawing to the right position afterwards.
The scale factor drawing unit/mm will be left to 1 (its default value)
Now your screen will look something like this
Compose a bulge
Reminder: a bulge is the oposite of a pocket
Select the block as parent by clicking on it. Its color will change from green to red. Alternatively you can use the mouse right
button menu "Parent" selection.
Select the lines and arcs which will be turned into a bulge one by one in a counterclockwise order by clicking on them with the
shift key pressed down. Alternatively you can use the mouse right button menu to select them. They will be colored blue.
Select Modify/Compose/Bulge from the main menu
and set height at 10 mm. Leave all other settings at their default values.
Now your drawing has been converted into an object (a bulge in this case) and colored white.
Select finishing quality, tools and compile
Finishing
In this example we do not need any finishing. Go to GCode/Make Options and deselect all three finishing check boxes (Fine
finish vertical surfaces, Rough finish horizontal surfaces and Fine finish horizontal surfaces).
Tools
We will use a 25 mm dia Face Mill
Select Setup/Toolholder and attach a 25mm dia face mill at position T1
The G-Code is ready! Now we are ready to view the code, run it on the screen and download it on our machine for production.
Polaris Engineering SA
www.polaris.com.gr
Features
Free Download
Documentation
Diameter: 12.7 mm
Drilling length: 50 mm
Predrilling: not needed
Type: Harvey Tools, 15332-C1
Home
Contact
Each tool must have a unique name in GSimple. You can choose any name you like. Blanks are allowed in the name. Do not
use underscores, since they will be converted into blanks! (Actually blanks are internally converted into underscores and
converted back into spaces at view time). Names are restricted to 39 characters.
Try to use meaningfull names, otherwise you will get lost.
We will name our drill DHSS1/2" (Acronym for Drill HSS 1/2 inch)
Fill in the requested data (diameter 12.7 mm, legth 50 mm, predriling diameter 0 mm) and press Enter.
Milling parameters
Milling parameters (tool speed, cuting depth and feed rates) are material dependent. The tool manufacturers supply data,
formulas and software tools to calculate them.
Materials are normally grouped together in Groups and Subgroups. Generally a tool is suitable for some of these materialgroups and unsuitable for others.
The tool-data-base is able to store a set of milling parameters for every material group and subgroup. GSimple will look for the
appropriate set (the block material is defined with the Setup/Block menu selection) whenever you attach a new tool on the tool
holder. If no milling parameters set is found in the data base for the block material the tool will be market as UNSUITABLE.
There are only two milling parameters assosiated with a drill: speed and feed rate.
For material group 1.3(Plain carbon steel) our driil needs 540 RPM and a feed rate of 160 mm/min.
Select the new drill from the list and press the Mat.Data button.
Press the Add button
www.polaris.com.gr
Features
Free Download
Documentation
Home
Example 8: Engraving
Job description
Make an old fashioned GSIMPLE name-plate
Setup
Open GSimple
Define your project using Setup/Project
Define the block using Setup/Block. Tools will be zeroed on block top face, so leave "Top" at 0
Save your project using File/Saveas "ex8.gsi"
Now your screen will look something like this
Contact
and insert the text, the requested letter height, the engraving width and depth and the starting point (left,down corner).
Now we are ready for compilation (G-Code/Make), code inspection, (G-Code/View) code testing,
www.gsimple.eu
Features
Free Download
Home
Documentation
FAQ
Example 9
Example 10
Contact
Example 11
Example 12
Example 13
Back to the examples main page
G-Simple is distributed free of any charge
www.gsimple.eu
Features
Free Download
Documentation
Home
Contact
Setup
Open GSimple
Define your project using Setup/Project
Define the block using Setup/Block. Tools will be zeroed on block top face, so leave "Top" at 0
Save your project using File/Save as "ex6.gsi"
Define first thread
Select the block "as parent" (left click on it or use the right-mouse-button menu). It will be colored in red
Open Milling/Thread and define the first thread at x=10 and y=10
Select the thread by left clicking on it. Alternatively you can use the right-mouse-button menu
G54 is drawn in red
The block in green (or red if it is still selected as parent)
The thread is grey
Machine limits (not visible in the picture) in grey
Copy thread
Open Modify/Copy
and make 4 copies of the selected thread, placing each 20 mm in the X axis away from the other
Your screen should look now something like this
or View/Axonometric to view the object from a "higher" position. You can do almost everything in 3D (including animation).
The only exception is object selection and point setting (GSimple cannot know the position of your cursor in 3D).
Select tools
We will select a Center Drill (any will do), a 6.8mm Dia drill and a M8 tap
The G-Code is ready! Now we are ready to view the code, run it on the screen, and download it on our machine for production.
Polaris Engineering SA
www.polaris.com.gr