G0 default speed in CNC mode
Hi! I'm using mi 3D printer to mill PCBs and soft materials. I've found that G0 moves (fast non-work movements) are very slow. In CNC machines G0 speed is a parameter defined by the manufacturer so gcode generators don't specify speed.
I've checked that, in firmware, G0 moves are treated as G1 moves so adding F parameter to Gcode makes the movements faster, but for complex gcodes is a pain to manually add the F parameter to each G0 movement.
Is there any option to assign a faster default speed to G0 moves in CNC mode?
I've checked that, in firmware, G0 moves are treated as G1 moves so adding F parameter to Gcode makes the movements faster, but for complex gcodes is a pain to manually add the F parameter to each G0 movement.
Is there any option to assign a faster default speed to G0 moves in CNC mode?
Comments
if (com->G == 0)
{ //----memorize speed----
float feedrate_mem = Printer::feedrate;
Printer::feedrate = MAX_FEEDRATE_X;
PrintLine::queueCartesianMove(ALWAYS_CHECK_ENDSTOPS, true);
//----G1 speed back------
Printer::feedrate = feedrate_mem;
}
else
{