You can copy G-code for CNC milling machines
to the clipboard and save as file (*.txt , *.nc , *.cnc ,
*.tap , *.iso, etc).
Off-line version of this program you can find here .
Example (sample) of the G-code for milling a right triangle using CNC Milling Machines.
This simple example illustrates the how to mill a simple right triangle.
G00 Z0.5 F70 (raise the tool to the clearance height)
G00 X5 Y15 (Tool movement to the point of beginning of milling)
G01 Z-1 F50 (lower the tool to the desired cutting depth)
G01 X5 Y35 F50 (milling leg a)
G01 X35 Y15 (milling hypotenuse)
G01 X5 Y15 (milling leg b)
G00 Z0.5 (raise the tool to the clearance height)
G00 X0 Y0 (the movement of the cutter to the starting point)
M30 (end of the control program)