按源扩展坐标偏置UVW覆盖

This commit is contained in:
cnc
2026-06-06 08:45:25 +08:00
parent 82f222ba44
commit de5f28f7ee
5 changed files with 62 additions and 31 deletions

View File

@@ -1,5 +1,6 @@
G21 G90 G17
G0 X5 Y6 Z7
G10 L20 P2 X1 Y2 Z3
(Source basis: LinuxCNC src/emc/rs274ngc/interp_convert.cc convert_setup computes G10 L20 linear offsets for X/Y/Z/U/V/W from the current position.)
G0 X5 Y6 Z7 U8 V9 W10
G10 L20 P2 X1 Y2 Z3 U4 V5 W6
G55
M30

View File

@@ -1,4 +1,5 @@
G21 G90 G17
(Source basis: LinuxCNC src/emc/rs274ngc/interp_convert.cc convert_setup maps G10 P0 to the active coordinate system and stores U/V/W through PROGRAM_TO_USER_LEN.)
G55
G10 L2 P0 X7 Y8 Z9
G10 L2 P0 X7 Y8 Z9 U10 V11 W12
M30

View File

@@ -1,6 +1,7 @@
G21 G90 G17
G52 X1 Y2
G52 Y3
(Source basis: LinuxCNC src/emc/rs274ngc/interp_convert.cc convert_axis_offsets treats G52 offsets as sticky per-axis values, including U/V/W, and G92.2/G92.3 suspend and restore #5211-#5219.)
G52 X1 Y2 U4 V5
G52 Y3 V6
G92.2
G92.3
G92.1