G64 and G20/G21 handling

More
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.
Last edit: 28 Mar 2026 19:59 by dbtayl.

Please Log in or Create an account to join the conversation.

More
28 Mar 2026 20:34 #344892 by MaHa
Replied by MaHa on topic G64 and G20/G21 handling
In axis i get this:

G20 G64 P0.05

 



G21 G64 P0.05

 
Attachments:

Please Log in or Create an account to join the conversation.

Time to create page: 0.117 seconds
Powered by Kunena Forum