Home › G-codes › LinuxCNC Tormach › G64
G64 Path blending
LinuxCNC Tormach G-code · Mill and lathe
Blends moves together for speed. P sets how far the path may round off a corner. Q merges nearly straight CAM moves.
Format
G64 [P] [Q]
Addresses
| Address | What it does |
|---|---|
P | Blending tolerance, how far from the path it may cut |
Q | Naive CAM tolerance, merges nearly straight moves, default same as P |
How it works
Modal, path control group. Usual startup mode.
Example program
G20 G17 G40 G49 G54 G80 G90 G94 (INCH, SAFE START)
T1 M6 G43
S8000 M3
G64 P0.001 Q0.001 (HOLD PATH WITHIN .001)
…
T1 M6 G43
S8000 M3
G64 P0.001 Q0.001 (HOLD PATH WITHIN .001)
…
The full 7-line example is in the app. Example is in inch. Check offsets and clearances first.
Watch out for
- G64 with no P keeps the best speed and may round corners a lot. Give a P value for finish work.
- Q0 turns off the move merging.
- Tormach PathPilot also uses G64 P. Check the default it sets in your post or settings.
Related codes
G64 on other controls
The same number can mean something different on another control.
| Control | Meaning |
|---|---|
| Fanuc | Cutting mode |
| Haas NGC | Exact stop cancel |
| Okuma OSP | Cutting mode |
| Mitsubishi M70 M80 | Cutting mode |
| Brother Speedio | Cutting mode |
| Siemens 840D 828D | Continuous path mode |
| Mach3 Mach4 | Constant velocity mode |
| Centroid CNC12 Acorn | Smoothing mode or cancel exact stop |
| Hurco WinMax (NC) | Cancel precision cornering |
Every G-code for LinuxCNC Tormach in your pocket. The app has the full example programs, search by number or shop word, a line decoder and calculators for tapping, threading and drilling.
Open G64 in the app All LinuxCNC Tormach G-codes