|
Example 5: Using DXF files
|
|
Job description
A smooth edged triangle shaped object, according to drawing
End object will be 10 mm high.
Block dimensions (LxWxH): 100 mm x 100 mm x 20 mm
G-Code file: 105.nc
G-Code program: O105
Customer: Gsimple Tutorial
Part Number: EX5
CNC Machine: Haas VF0
Project file: ex5.gsi
|
|
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
G54 is drawn in red
User Coord. in dark yellow
The block in green
The drawing is yellow
Machine limits (not visible in the picture) in grey
|
|
Move drawing in block
Select the drawing by clicking an any line or arc. The selected line or arc will be colored in blue and the remaining
lines and arcs in dark grey. GSimple will "group" together any lines and arcs belonging to the same CAD "layer". A selected group
may be deleted, copied, moved, turned or mirrored as if it were one single object. You can resolve a group through the
Draw/Ungroup command. You can turn a selected set of lines and arcs into a group through the Draw/Group command.
Now select Modify/Move
and move "group 1" by 15,15 mm
|
|
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
Now we are ready for compilation
Select G-Code/Make from the 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.
|