Vous êtes sur la page 1sur 34

GGCad, fast and easy CNC.

User manual
V1.5.4 - 20/06/2010

GGCad

1/34

Index
1.Introduction.........................................................................................................3 2.Interface.............................................................................................................3 3.Tool strips............................................................................................................4 4.Keyboard short-cuts..............................................................................................7 5.Document............................................................................................................7 6.Preferences........................................................................................................10 7.G-Code and Ninos post-processor.........................................................................12 8.DXF and HPGL Post-processor...............................................................................13 9.Shapes..............................................................................................................13 10.My first project.................................................................................................15 11.Tools database..................................................................................................16 12.Free drawing....................................................................................................17 13.Pocketing tool path............................................................................................18 14.Text path.........................................................................................................18 15.Pocketing tool path with island selection...............................................................19 16.Contour path....................................................................................................20 17.Document........................................................................................................20 18.Drawing tools...................................................................................................21 19.Special functions...............................................................................................21 20.External tools...................................................................................................22 21.Custom tool path commands..............................................................................23 22.File import.......................................................................................................24 23.4th axe............................................................................................................25 24.Special menu....................................................................................................27 25.Modification of the post-pocessor commands........................................................31 26.Electron, laser and other simple post-processor....................................................32

GGCad

2/34

1. Introduction
GGCad is a software for g-code ( or iso ) generation. It is designed to be user friendly. Its simplicity, compared to other software, renders it indispensable. You will control it fastly either in its CAD mode (Computer aided design) or in its CAM mode (Computer aided manufacturing). With its advanced CAD module, GGCad offers you traditional drawing tools that you can find in most of industrial softwares. You will thus be able to draw different shapes such as points, lines, circles, arcs, ellipses, text and splines. Moreover, you will have the transformation tools such as rotation, symmetry, scale, translation. Its flexibility will allow your drawings to be managed easily and rapidly. With its CAM module, you are able to create simple tool paths as well as complex tool paths (contours and pocketing). Its importing and exporting capabilities, such as DXF and HPGL, allow you to work on your files that are already designed. GGCad has support for any type of font and writing, left to right, right to left as well as Asian fonts.

2. Interface
The user interface is organised in three parts. On the top left hand corner, there is a tree that represents levels, shapes and tool paths. On the bottom left hand corner, a property window gives access to level and shape parameters. The right side of the screen is the space designed for drawing.

GGCad

3/34

3. Tool strips
The horizontal tool strip bar contains general tools. New document Open document Save document Cut Copy Paste New level Reverse shape direction Move up level or shape process order Move down level or shape process order Run the post-processor Undo Redo Zoom area Zoom 1:1 Zoom in the display area Delete shape or level Enable/disable mouse magnet Display grid Display arrows representing moving direction Select current level shapes Open special selection dialogue box Convert a text in splines (curves ) Display only the current level Display all levels Open the machining calculator

GGCad

4/34

The vertical tool strip contents for CAD and CAM tools. Selection mode Point Drill Line Tangent Circle from centre Circle from 3 points Arc from centre Arc from 3 points Ellipse from centre Ellipse from 3 points Curve polygon Text Pocketing tool path Pocketing tool path, Island manual selection Inside contour tool path Outside contour tool path Bull nose Bevelled edge Vertical distance Horizontal distance Joint next Divide Symmetry Rotation Polar duplication Scale Offset Recursive offset Translation

GGCad

5/34

Organise path Reverse path Close paths Move origin

4. Keyboard short-cuts

Space : display, hide left window + : increase the zoom factor - : decrease the zoom factor Ctrl + m : merge shapes Ctrl + o : explode a spline or a polygon into lines Ctrl + u : move shape or level up into the tree Ctrl + d : move shape or level down into the tree Ctrl + t : move shape or level to the top into the tree Ctrl + b : move shape or level to the bottom into the tree Ctrl + s : save document Ctrl + c : copy shapes Ctrl + v : paste shapes Ctrl + x : cut shapes Del : delete shapes F5 : Generate post-processor F6 : Update tool paths

GGCad

6/34

5. Document
Document properties can be modified through the menu [Project][Properties].

Common project properties : Measure unit: millimetre or inch. Dimensions axe X and axe Y : just to facilitate displaying. Offset X Y: Allows offset displaying. Post-processor: post-processor selection G-Code or iso (EMC2, Mach3, Galaad...). DXF. HPGL (plot files). Ninos Create a file for each tool: Each time the tool is changed, the postprocessor creates a new file. Output file: By default, the output file is created in the document folder with the post-processor extension. For example, [sample.ggd] will give [sample.nc]. This device allows to change the output file. Author: Left to user. Comment: Left to user.

GGCad

7/34

Post-generation even: Add a command line to be called after the generation. {out} will be replaced with output file path. Example : c:\windows\notepad.exe {out} Open output file with the windows notepad 4 axe name : if the project needs a 4th rotative axe.
th

[A] diameter axe : Diameter of the circle described by the object rotation. Button [Cylindrical axe] : see Chapter 21.

The 3 project types :

Router/mill Allows stopping coolant during rapid movement. Plasma

Offset plasma starting: Allows to start next to the tool path to avoid burr. Tempo: Add tempo during arc torch starting. Be careful following the controller software! If the controller is configured in milliseconds, you have to set 2000 for 2 seconds. Start command: plasma arc starting. Stop command: plasma arc stop. Enable start height: Allows for a specific height at the start. For example, bring the torch to 0.5 mm for torch arc starting, then bring it back to 1 mm (tool path height), and carry on.

GGCad

8/34

Turn

Turn reference: Coordinates are computed in radius or diameter. Reverse arcs: following controllers, allows to reverse arc direction during generation. Origin at end face:

When creating a new document, all the above indicated parameters are set by default with [Preferences] dialogue box data. To change them, open menu [Options][Preferences].

GGCad

9/34

6. Preferences

Default file extension: if no extension is defined in the post-processor, GGCad will use this extension. Language: user interface language. Default unit: unit used for new document. Open last document: to open automatically last opened document when GGCad starts. Back colour: document background colour. Display axe offset: to display the offset axe in the document. Display grid: to display the grid. Grid interval: distance between 2 grid lines. Automatic saving: automatic saving at a certain predetermined period of time. Check for updates: to check on internet for an update.

GGCad

10/34

Default parameters for a new level. Other tabs define default parameters when creating a new document.

GGCad

11/34

7. G-Code and Ninos post-processor

G-Code properties defines several of options : Line numbers. Increment: to increment value for line numbers. Safe moving height: the tool will be brought to this position for rapid movements. Spline accuracy : minimum distance between two movement. Start block: code bloc that will be added at the beginning of the file. End block: code bloc that will be added at the end of the file. Condensed: the code is condensed. If the code is not condensed, some controllers may get jerky. File extension: extension added to the end of the file. Mach3 default extension is [tap]. Drilling diagonally: used to tell the post-processor to plunge along a ramp instead of vertically. Input the ramp angle. For hard material, mill tools does not like vertical plunging.

GGCad

12/34

8. DXF and HPGL Post-processor

9. Shapes
Each shape has its own properties. It has a starting point and an ending point. The starting point is visualised with a small red square. The circle, however, is a particular case where its starting point will always be the extreme left point. The direction can be reversed with the icon

The icon

displays the process direction arrows.

For each object, there exist the possibility to specify code before Z movement [Pre-command] and code after movement [Post-command]. Line: Point 1: starting coordinates. Point 2: ending coordinates. Length: line length. Angle: line angle with the horizontal line. Fluting in: to bring down the tool to the tool path height along a defined distance.

GGCad

13/34

Fluting out: Like fluting in but bringing up the tool. In the previous example, the tool goes down on 10 mm, works at the tool path height, then goes up for 10 mm. Point drill: The operation can be a drilling, right end taping, boring or null. The pause is the time the tool is left down in the material. The back position is the position the tool is lifted to remove shaving.

Arc Centre: centre coordinates Point 1: start coordinates Point 2: end coordinates Radius: arc radius Rotation: rotation direction between points 1 et 2 Ellipse Minor : minor axe Major: major axe Rotation: process direction Circle Centre : centre coordinates Radius : arc radius Rotation : process direction Curve Type: algorithm used to draw the curve Pocketing tool path Diameter: tool diameter Engagement: flute over pass ( ex : a 3 mm flute, with an engagement of 2.8 mm = over pass of 0.2 mm ) Outer edge: to generate contours Force clipping algorithm: see chapter 15 Process outers first: by default, it starts pocketing then the outers. Generally, better results are obtained. This feature allows to start with outers first. Pocketing tool path with island selection. Same as pocketing tool path. It specifies islands if automatic detection fails. Outside contour tool path Offset plasma starting: the job starts next to the path Direction: to set the direction, clockwise or counter clockwise. Inside contour tool path. Same as outside but inside instead.

GGCad

14/34

10. My first project


Your first document is made of an empty level. Levels and shapes can be renamed by selecting them, clicking with right mouse button or pressing [F2] key. Each level represents a job space, with its own parameters. The tree represents the levels and shapes list. When generating G-Code, the post-processor will process levels and shapes in a sequential order. In the left example, the orders will be processed as: line1 line2 line3 line4 circle1. Lines are coded with [Dfaut1] level properties. The circle is coded with [Dfaut2] level properties.

Level properties are : Drawing colours Level visible or not Level will be generated or not Number or name of tool Feed rate Plung rate Final deep level Max tool height in material Z job position will start from this value Spindle rotation speed Spindle direction Cooling: none, flood coolant, mist cooling Constant velocity Tool will be left in low position during this time Lock level edition Tabs are created on closed figures to let the object attached to its support. For example to avoid it to be aspired by the vacuum.

GGCad

15/34

The software philosophy is very simple. Draw a line: it is generated. To separate drafting and machining, you can block generation of the level with the [Generate] property. In previous example, if in [Default1], the [Generate] property is unchecked, only Circle1 will be generated. Properties for the tool can be manually set, or by means of the tool database. If a tool from the database is selected, [Feed rate], [Plung rate], [Max pass], [Spindle speed] fields will be automatically modified.

11. Tools database

First column is used to select tools to be deleted. [Name] column is the tool name which must be unique. Column [] stores the tool number. This number which will be generated by the post-processor. Column [] gives the tool diameter. Column [Engagement] stores the max tool width which will be inside in the material. Example, if the diameter is 3 mm, and the engagement 2.8 mm, the tool will pass over 0.2 mm from previous path between two parallel movements.

GGCad

16/34

12. Free drawing


To manufacture a drawing without using tool path functions, do not forget to set the shapes' direction in the same way. By clicking in the icon , arrows that show the process direction will be displayed. When constructing a form, shapes' direction can be opposed. To get the same orientation, use the tool [Organise path] It will set all the shapes with the same direction.

After using it, the arrows show that shapes have the same direction. Using [Reverse path], all directions are reversed. Blue arrows shows starting shapes, red arrows end shapes.

GGCad

17/34

13. Pocketing tool path


Tool creation through menu [Tools][Tools database].

Create a new document. Draw a square. Size does not matter. Uncheck the [Generate] level property. Create a new level. Select tool [6 mm wood]. Click on [Pocketing path] and click on the square.

14. Text path


In order to process a created text with tool path functions, the text has to be converted in curves with the tool [Convert to curves].

GGCad

18/34

15. Pocketing tool path with island selection


Pocketing tool path uses a simple algorithm to detect island. It will as well remove overlapped islands. In the left example, the orange island has been removed. To process it, you just need to create a tool path for this orange island.

Another example: in this case, the algorithm removes the orange island. To force the selection of the orange island, use the [Pocketing tool path with island selection] tool.

Click on the exterior contour, then click on a shape of both islands with the [Control] key pressed on. Then click anywhere else in the document. Both islands are processed.

GGCad

19/34

16. Contour path


To process a contour path, select the appropriate tool. Outside or inside, and click on a closed figure. To remove burrs due to plasma arc starting, add a plasma start offset. An arc or a line is automatically added.

If the clipping algorithm does not display anything, use the [Force clipping algorithm] property. Left example shows a 24 mm width square. With a 18 mm diameter flute, offsetting is not created (overlapping detection). Forcing the algorithm will generate the tool path..

17. Document
Project menu allows several transformations on the whole document : Offset the document: If shapes are not centred in the document, this tool allows centring of all shapes with an offset added around. Change the document size : Allows to change the document size. Shapes will be computed with the new scale. Rotate the document: to rotate all shapes. For example, to permute X and Y axes, you just need to rotate the document to 90. Horizontal mirror : reverse the document upside down. Vertical mirror : reverse the document left to right.

GGCad

20/34

18. Drawing tools


Symmetry: Allows duplication of shapes by symmetry. Create a symmetry axe with a [Line] shape. Click on [Symmetry] tool. Select shapes to duplicate. Move mouse over symmetry axe and left click. Rotation: to duplicate shapes by rotating. Select shapes. Click on a reference point. Move the mouse and click left mouse button when you reach your aim. Polar duplication: to duplicate shapes several times around a virtual circle. Select shapes to be duplicated, then click on a [Point] or [Circle]. For the [Circle], its centre will be the reference point. A dialogue box is displayed. Enter the total number of duplication. Scale: Select shapes and click on the document. A dialogue box is displayed to input X scale and Y scale. For example, to double the scale, set 2 to both axes. To divide by 2, set 0.5 to both axes. Translation: Select shapes. Click on the reference point. A dialogue box is displayed. Set X and Y new coordinates corresponding to the point of reference. Shapes will be moved following the new given information. Horizontal mirror : reverse selected shapes upside down. Vertical mirror : reverse selected shapes left to right.

19. Special functions


Optimise level to shortest path: GGCad reorganise shapes to get the shortest movements. Change multiple tool path properties: to change simultaneously several properties of several tool paths through a dialogue box. Update all paths: paths are recomputed. Create path for each closed figure: Create a path for each closed figure with the same tool path properties. Convert tool path to shapes : to convert a tool path to shapes. Afterwards, you may alter the tool path manually. Convert selected shapes into drills or circles: to convert all selected shapes into circles or drills. Cut at intersections: Cut each shape at each intersection. Merge shapes: Merge lines and curves, or arcs.

GGCad

21/34

20. External tools


The menu [Tools][External tools] opens the dialogue box to manage the external tools. It will create menus to access directly to other programs through GGCad.

GGCad creates automatically a shortcut to open the generated file. In the previous example, a shortcut to CncSimulator is created to be runned through a menu in GGCad. The {out} code will be replaced by the generated output file path. The {ggd} code will be replaced by the currently edited file.

Example : A program [cnc.exe] is opened with the cnc file as argument. Column [File]: c:\program files\cnc\cnc.exe Column [Arguments]: {out}

GGCad

22/34

21. Custom tool path commands


The dialogue box is used to enter custom commands. These commands are accessible from the tool path icon.

Select the command in the [tool path] tool. Click on a shape. The enable command will be added to the [Pre-command] of the shape. Then GGCad will look for the last linked shape, and add to it the disable command to its [Postcommand] property.

GGCad

23/34

22. File import


Coordinates file Open the dialogue box to import a coordinates file. The import can add

coordinates to the document as a list of points, or as a curve (default algorithm used is Polygon). You can change it through the properties window. You can specify whether the curve is an open curve or a closed curve. The file is a text file formatted as follows: each line is made of the X coordinates, a separator, Y coordinates. If the separator is the tabulation, just select [Tabulation], or specify another separator by choosing [Other]. ex: 1.00006;0.00134 0.99804;0.00200 0.99260;0.00372 0.98401;0.00594 0.97220;0.00866 0.95749;0.01168 0.93979;0.01474 0.91895;0.01797 Here the separator is ';'

GGCad

24/34

1.00006 0.99804 0.99260 0.98401 0.97220 0.95749 0.93979 0.91895

0.00134 0.00200 0.00372 0.00594 0.00866 0.01168 0.01474 0.01797

Here the separator is a space. DXF, HPGL, SVG Importing is automatic. No parameters.

23. 4th axe


Cylinder engraving To engrave on a cylinder, simply untie the surface of the cylinder on the document. On the document property window, a button [Cylindrical axe] allows to compute the perimeter and set it to the axe. Perimeter = diameter*2*PI.

In the post-processor, change the axe name to the one chosen : example [Y] in [A]

The post-processor will replace [Y] with [A]. Example : G1 Z-1 X20.1745 X20.1745 X17.457 X14.89936 A230.0282 A239.7648 A233.4678 A233.4678

Following example shows how to engrave every 45.

GGCad

25/34

Multiple faces To work on a multiple face object, the 4 th axe has to be declared in the document properties, [4th Axe name]. Set the diameter which is materialised by the circle that is around the object. The orange circle shows the circle made by the object when rotating.

GGCad

26/34

For a squared or rectangle object, the diameter of the circle is the diagonal length. To operate a rotation, set the [4 th axe angle] property in the level properties. The angle is in degrees. The post-processor will move the axe in safe position before processing the level.

Be careful with the tool height and the height reference. It may end-up with a tool crash.

24. Special menu


Airfoil file

Open the dialogue ox to import an airfoil. You can choose the profile in the list, or specify a new one. Next just enter the chord length of the wing. If you specify a new file, it will be transferred into the database. The database is located in the folder [c:\Program Files\ggcad\airfoils]. Each airfoil is stored in a text file. First line contents the airfoil description. Then each line contains the X coordinate, a space, the Y coordinate. The coordinates are computed in the file to have a chord of 1.

GGCad

27/34

Example : NACA 23112 1.0000000 0.0012590 0.9993370 0.0013666 0.9973499 0.0016787 0.9940439 0.0021963 0.9894279 0.0029159 0.9835139 0.0038325 0.9763177 0.0049397 0.9678584 0.0062304 0.9581585 0.0076958 0.9472436 0.0093266 0.9351426 0.0111126 0.9218878 0.0130430 0.9075142 0.0151061 0.8920599 0.0172903 0.8755660 0.0195833 0.8580761 0.0219727 0.8396367 0.0244455 ...

Spur gear Create a spur gear. The 3 parameters to set are the pitch, the teeth number and the pressure angle. Parameters [Primitive parameter] and [Outside parameter] can be corrected with the values [1] et [3]. The [Dedendum] gives the tooth height. Generally 1,25 modules from 0.25 to 1.25, and 1.40 for modules from 1.50 to 8. [Boring] is the centre diameter.

GGCad

28/34

Parameter [Display circles] add construction circles.

[Spokes] set the number of wheel spokes to create. [Spokes boring] is the distance between the centre circle, the spokes and the root circle.

GGCad

29/34

Wheel spokes

Allows creating wheel spokes, following 2 circles. Select 2 circles. The dialogue box will be setted with the centre and the 2 diameters. Then set spokes number and boring.

Frame Add a frame around the document. Polygon centre of gravity Add a point at the gravity centre of a polygon

GGCad

30/34

25. Modification of the post-pocessor commands


Open the post-processor properties and click on following button :

This open the mapping commands file. You can modify values between . G0 G1 G2 G3 G4 G73 G81 G82 G83 G84 G85 G86 G98 G90 G94 G20 G21 G61 G64 PAUSE RETRACT TOOL SPINDLE M0 M6 M3 M4 M5 M2 M8 M7 M9 OC CC CRLF = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = "G0" "G1" "G2" "G3" "G4" "G73" "G81" "G82" "G83" "G84" "G85" "G86" "G98" "G90" "G94" "G20" "G21" "G61" "G64" "P" "R" "T" "S" "M00" "M6" "M3" "M4" "M5" "M2" "M8" "M7" "M9" "(" ")" "\r\n" // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // rapid motion linear motion CW circular motion CCW circular motion Dwell Drilling Cycle with Chip Breaking Drilling Drilling Cycle with Dwell Peck Drilling Right-Hand Tapping Boring, No Dwell, Feed Out Boring, Spindle Stop, Rapid Out Canned Cycle Return Level Absolute Distance Mode Units per Minute Mode Inch Millimeter Exact Path Mode Best Possible Speed Best Possible Speed Retract position tool number Spindle speed Program break tool change start spindle CW start spindle CCW stop spindle program stop Mist coolant Flood coolant Stop coolant open comment close comment line return

GGCad

31/34

26. Electron, laser and other simple post-processor


Some CNC like electron or laser manages feed rates, plunge rates, etc, automatically. To remove the output of these codes, open document properties. In the [Router/mill] tab, uncheck the parameters. To get these parameters always unchecked, uncheck them in the [Options][Preferences] dialogue box. The post-processor allows as well to remove comments and add program stop between every rapid movement. For example electron machines that do not have automatic plunge. Example : % G00X0Y0 M00 G42 G01Y7.5499?9 G01X6.0499?9 G02X7.5499?9Y6.0499?9I0J-1.5 G01Y-6.0499?9 G02X6.0499?9Y-7.5499?9I-1.5J0 G01X-6.0499?9 G02X-7.5499?9Y-6.0499?9I0J1.5 G01Y6.0499?9 G02X-6.0499?9Y7.5499?9I1.5J0 G01X0.680996 G01X0.647938Y6.238705 G40 M00 G00X0Y40 M00 G42 G01Y27.8 G02X-5.886654Y32.63926I0J6 G03X-7.081949Y35.02371I-4.905544J-0.967278 G03X-8.063316Y35.32431I-0.742052J-0.670341 G01X-9.276314Y35.02533 G03X-10.00558Y34.3031I0.239317J-0.97094 G03X-9.955853Y31.6363I4.842886J-1.243568 G02X-20.38059Y26.16497I-5.751791J-1.707886 G03X-22.54709Y27.72081I-3.894131J-3.136204 G03X-23.55?74Y27.53091I-0.345526J-0.938408 G01X-24.49085Y26.70247 G03X-24.80095Y25.72407I0.663122J-0.748508 G03X-23.51759Y23.38584I4.866077J1.149475 G02X-30.20559Y13.69659I-4.299265J-4.185249 G03X-32.84695Y14.06741I-1.990612J-4.586658 G03X-33.65182Y13.43052I0.130146J-0.991497 G01X-34.09483Y12.2624 G03X-33.91471Y11.25196I0.935017J-0.354607 G03X-31.69173Y9.77?962I3.774508J3.27919 G02X-33.11084Y-1.909504I-1.861826J-5.703823 G03X-35.62199Y-2.808674I0.368919J-4.986372 G03X-36.03868Y-3.746651I0.576015J-0.81744 G01X-35.88?1Y-4.986841 G03X-35.25903Y-5.79784I0.99271J0.120537 G03X-32.60568Y-6.069925I1.818245J4.65768 G02X-28.43081Y-17.07816I1.002131J-5.91572 G03X-30.23645Y-19.04132I2.64395J-4.243763 GGCad 32/34

G03X-30.16951Y-20.06551I0.889917J-0.456121 G01X-29.45983Y-21.09366 G03X-28.52594Y-21.51942I0.822983J0.568066 G03X-26.05006Y-20.52727I-0.554554J4.969152 G02X-17.23761Y-28.33442I3.636517J-4.772394 G03X-17.9241Y-30.91183I4.313279J-2.528959 G03X-17.388?7Y-31.78759I0.99?952J0.009689 G01X-16.28267Y-32.36817 G03X-15.25788Y-32.311?6I0.464724J0.885456 G03X-13.52669Y-30.28206I-2.800316J4.14225 G02X-2.09549Y-33.09959I5.437819J-2.535774 G03X-1.505562Y-35.70081I4.994484J-0.234806 G03X-0.624649Y-36.22753I0.880913J0.473282 G01X0.624649 G03X1.505562Y-35.70081I0J1 G03X2.09549Y-33.0996I-4.404556J2.366409 G02X13.52669Y-30.28206I5.993381J0.281765 G03X15.25788Y-32.311?6I4.531513J2.113142 G03X16.28267Y-32.36817I0.560066J0.828449 G01X17.388?7Y-31.78759 G03X17.9241Y-30.91183I-0.464722J0.885456 G03X17.23761Y-28.33442I-4.99?768J0.048454 G02X26.05006Y-20.52727I5.175934J3.034752 G03X28.52594Y-21.51942I3.030434J3.976995 G03X29.45983Y-21.09366I0.110909J0.993832 G01X30.16951Y-20.06551 G03X30.23645Y-19.04132I-0.822983J0.568066 G03X28.43081Y-17.07816I-4.449593J-2.280605 G02X32.60568Y-6.069925I3.172745J5.092514 G03X35.25904Y-5.797836I0.835106J4.929765 G03X35.88?1Y-4.986839I-0.363647J0.931532 G01X36.03868Y-3.746651 G03X35.62198Y-2.808674I-0.992714J0.120537 G03X33.11084Y-1.909504I-2.880066J-4.087202 G02X31.69173Y9.77?962I0.442719J5.983643 G03X33.91471Y11.25196I-1.551521J4.753185 G03X34.09482Y12.2624I-0.754906J0.655838 G01X33.65183Y13.43052 G03X32.84696Y14.0674I-0.93502J-0.354607 G03X30.20559Y13.69659I-0.650757J-4.957466 G02X23.51759Y23.38584I-2.388733J5.503994 G03X24.80095Y25.72407I-3.582718J3.487709 G03X24.49085Y26.70248I-0.973217J0.229897 G01X23.55?74Y27.53091 G03X22.54708Y27.72081I-0.663124J-0.748508 G03X20.3806Y26.16497I1.727638J-4.692043 G02X9.955853Y31.6363I-4.672951J3.763447 G03X10.00557Y34.3031I-4.793164J1.423233 G03X9.276314Y35.02533I-0.968575J-0.248711 G01X8.063316Y35.32431 G03X7.081951Y35.02371I-0.239316J-0.97094 G03X5.886654Y32.63926I3.710247J-3.351723 G02X-0.949841Y27.87566I-5.886654J1.160736 G01X-0.903107Y28.87457 G40 % Here comments are removed, and stop command is added between every rapid movement.

GGCad

33/34

Following is the modified g-code mapping file : G0 G1 G2 G3 G4 G73 G81 G82 G83 G84 G85 G86 G98 G90 G94 G20 G21 G61 G64 PAUSE RETRACT TOOL SPINDLE M0 M6 M3 M4 M5 M2 M8 M7 M9 OC CC CRLF SL EL = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = = "G00" "G01" "G02" "G03" "G04" "G73" "G81" "G82" "G83" "G84" "G85" "G86" "G98" "" "" "" "" "" "" "P" "R" "T" "S" "M00" "M6" "M3" "M4" "M5" "%" "M8" "M7" "M9" "(" ")" "\r\n" "%" "%" // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // // rapid motion linear motion CW circular motion CCW circular motion Dwell Drilling Cycle with Chip Breaking Drilling Drilling Cycle with Dwell Peck Drilling Right-Hand Tapping Boring, No Dwell, Feed Out Boring, Spindle Stop, Rapid Out Canned Cycle Return Level Absolute Distance Mode Units per Minute Mode Inch Millimeter Exact Path Mode Best Possible Speed Best Possible Speed Retract position tool number Spindle speed Program break tool change start spindle CW start spindle CCW stop spindle program stop Mist coolant Flood coolant Stop coolant open comment close comment line return start line end line

You can go to a new line by inserting "{crlf}" in the command. Example : SL = "%{crlf}%" Output : % %

GGCad

34/34

Vous aimerez peut-être aussi