Generate G-Code
Top  Previous  Next

The Machine Queue now has the entry "Contour Outside Shape 0 Tool 0" in it:

clip0125                                                                        
Click the "Generate G-code to File" button.

D2nc will now generate the g-code and close. If you have several items in the machine queue, only those items that are checked will have the g-code generated. This allows you to define several shapes with paths in creating a single part and to create code for each operation separately.

If you started D2nc from the desktop icon or other shortcut, it will have created a g-code file as specified in the interface file in D2nc settings.

If you started D2nc from within Mach3 using the integration button, Mach3 will now load the generated g-code. If you grab and tilt the Mach3 display with your mouse you will see the shape with compensation moves ready to cut.

clip0060


When D2nc closed, it not only generated the g-code file, but also saved the shape and machine queue in case any changes are necessary.

If you load D2nc again, it will prompt you (by default) if you would like to reload the last shape. This is a settable feature in the D2nc settings.

If you do that now and click "Yes" the shape will reload. Click the path tab and the machine queue is already set. Click on the queue entry to select it and then click the edit button below the queue. You will see all your previous settings are preset.

·Go ahead and change the Z axis step to .2  
·Click the "Update Queue" button.  

Click the "Generate G-code to File" button.

Look at the Mach3 display and you will see the number of passes have been reduced from 10 to 5.

clip0061