G-code (CNC program) generator for milling a round contour
G-code (CNC program) generator for
milling a circle.
Program generates a G-code tool path for milling (cutting) of the circle.
When using the metric
system of measurements, all data entered must be in metric units (mm, mm/min),
when using the imperial system of measurements (inches), all data entered must
be in inches (in, in/min).
The program makes
calculations in absolute units.
The center of coordinates is in a point:
1
2
3
4
5
Tool movement:
tool on circle
tool outside circle
tool
inside circle
Cutting direction:
clockwise
counter clockwise
Diameter of a circle D:
Tool diameter:
Total depth of cutting:
Depth
of cutting per pass:
Feed Rate (X,Y G00):
Feed Rate (X,Y G02/G03):
Feed Rate (Z G00):
Feed Rate (Z G01):
Distance Xc:
Distance Yc:
Safe Z above surface:
You can copy
G-code 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 circle using CNC Milling Machines.
This simple example illustrates the how to mill a circle.
%
G00 Z0.5
(raise the tool to the clearance height)
G00 X-5 Y15
(Tool movement to the point of beginning of milling)
G01 Z-1
(lower the tool to the desired cutting depth)
G02 I10
G00 Z0.5
(raise the tool to the clearance height)
G00 X0 Y0
(the movement the tool to the starting point)
M30
%