Skip to content

Commit f648d01

Browse files
committed
We need to turn cutter compensation off for the rapid to the startpoint
as well.
1 parent 732919b commit f648d01

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

src/emc/rs274ngc/interp_g7x.cc

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1062,7 +1062,10 @@ int Interp::convert_g7x(int mode,
10621062
original_block.x_number=x;
10631063
original_block.z_number=z;
10641064

1065+
auto cutter_comp=settings->cutter_comp_side;
1066+
settings->cutter_comp_side=0;
10651067
int error=convert_straight(G_0, block, settings);
1068+
settings->cutter_comp_side=cutter_comp;
10661069
if(error!=INTERP_OK)
10671070
return error;
10681071

0 commit comments

Comments
 (0)