Programming Tools
Tools
Sub-routine Generator
Sub-routine Generator
Inch
Metric
Header & Call Config
Main Prog #
Sub Prog # (P)
Tool # (T)
Spindle (S)
Work Offset
G54
G55
G56
G57
G58
G59
Step & Repeat Pattern
Repetitions (L)
X Shift
Y Shift
A G91 shift is applied before each sub-call if values are non-zero.
Local Toolpath G-Code
Example
Clear
Generate Sub-routine Program
Toolpath Map
First Call
Repetitions
Complete G-Code Output
Copy
Save .nc
Related Calculators
G-Code XYZ Shifter
Shift X, Y, and Z coordinates in a G-Code program by a set incremental value.
G-Code 3D Viewer
Interactive 3D simulation of G-code toolpaths, with full support for drilling canned cycles.
G-Code Fillet & Chamfer
Automatically insert corner radii or chamfers into existing linear G-code toolpaths.
G-Code Mirror
Instantly mirror G-Code toolpaths across X or Y axes, automatically updating arcs (G2/G3).
Browse all calculators