The G2/G3 ABS/IJK Simulation Mode setting defines how the
I, J, and K values are interpreted
during circular interpolation simulation (G02 and G03).
This is a critical setting that directly affects the accuracy of arc
construction and the overall toolpath.
IJK_INC — incremental mode
(relative I, J, K values are offsets from the arc’s start point).IJK_ABS — absolute mode
(I, J, K values represent the coordinates of the arc center in the current coordinate system).setArcIJKMode('IJK_INC'); // relative IJK
setArcIJKMode('IJK_ABS'); // absolute IJK
IJK_INC mode — the arc center is calculated as StartPoint + (I, J, K).IJK_ABS mode — the arc center is taken directly from the I, J, K coordinates.; Incremental mode (IJK_INC)
G17
G02 X50 Y50 I0 J25 ; Center offset: 0 in X, 25 in Y from start point
; Absolute mode (IJK_ABS)
G17
G02 X50 Y50 I25 J25 ; Center at (25, 25) in the coordinate system
setArcIJKMode('IJK_INC') or setArcIJKMode('IJK_ABS') option.