G64 and G20/G21 handling
- dbtayl
- Offline
- Junior Member
-
Less
More
- Posts: 33
- Thank you received: 34
28 Mar 2026 19:53 - 28 Mar 2026 19:59 #344891
by dbtayl
G64 and G20/G21 handling was created by dbtayl
How is G64 P- handled internally with G20/G21? Is the P value just a straight number that's interpreted according to whatever units are currently active? I don't see any mention of units at all in the docs.
FreeCAD is changing up its postprocessors, and I'm trying to figure out if
G20
G64 P0.01
G21
is the same as
G21
G64 P0.01
Thanks!
ETA- Now that I look at it, the order is still the same as the old FreeCAD postprocessors, but I'd still like to know. It seems weird to me to see G64 before either G20/G21 appears, but if it's literally just setting a number that has zero unit awareness, it's not actually a problem.
FreeCAD is changing up its postprocessors, and I'm trying to figure out if
G20
G64 P0.01
G21
is the same as
G21
G64 P0.01
Thanks!
ETA- Now that I look at it, the order is still the same as the old FreeCAD postprocessors, but I'd still like to know. It seems weird to me to see G64 before either G20/G21 appears, but if it's literally just setting a number that has zero unit awareness, it's not actually a problem.
Last edit: 28 Mar 2026 19:59 by dbtayl.
Please Log in or Create an account to join the conversation.
- MaHa
- Offline
- Platinum Member
-
Less
More
- Posts: 515
- Thank you received: 218
28 Mar 2026 20:34 #344892
by MaHa
Replied by MaHa on topic G64 and G20/G21 handling
Attachments:
Please Log in or Create an account to join the conversation.
- dbtayl
- Offline
- Junior Member
-
Less
More
- Posts: 33
- Thank you received: 34
29 Mar 2026 14:02 #344908
by dbtayl
Replied by dbtayl on topic G64 and G20/G21 handling
Where are you seeing that? I don't recall seeing the blending tolerance displayed anywhere, though I suspect I'm just being blind.
That answer works well enough for my purposes- regardless of whether that means "always uses mm" or "always uses machine units".
That answer works well enough for my purposes- regardless of whether that means "always uses mm" or "always uses machine units".
Please Log in or Create an account to join the conversation.
- MaHa
- Offline
- Platinum Member
-
Less
More
- Posts: 515
- Thank you received: 218
29 Mar 2026 14:38 #344910
by MaHa
Replied by MaHa on topic G64 and G20/G21 handling
Axis UI => Machine menu => Show LinuxCNC Status => settings
or from linuxcnc.stat attributes
linuxcnc.org/docs/stable/html/config/pyt...ding_linuxcnc_status
settings
(returns tuple of floats) - current interpreter settings. settings[0] = sequence number, settings[1] = feed rate, settings[2] = speed, settings[3] = G64 P blend tolerance, settings[4] = G64 Q naive CAM tolerance.
or from linuxcnc.stat attributes
linuxcnc.org/docs/stable/html/config/pyt...ding_linuxcnc_status
settings
(returns tuple of floats) - current interpreter settings. settings[0] = sequence number, settings[1] = feed rate, settings[2] = speed, settings[3] = G64 P blend tolerance, settings[4] = G64 Q naive CAM tolerance.
Please Log in or Create an account to join the conversation.
Time to create page: 0.137 seconds