Option for G0 to have a separate feedrate (#12089)

This commit is contained in:
TheSFReader
2018-10-16 08:49:51 +02:00
committed by Scott Lahteine
parent 3d5be2ea4b
commit af939c158a
59 changed files with 364 additions and 3 deletions

View File

@ -1612,9 +1612,15 @@
/**
* CNC G-code options
* Support CNC-style G-code dialects used by laser cutters, drawing machine cams, etc.
* Note that G0 feedrates should be used with care for 3D printing (if used at all).
* High feedrates may cause ringing and harm print quality.
*/
//#define PAREN_COMMENTS // Support for parentheses-delimited comments
//#define GCODE_MOTION_MODES // Remember the motion mode (G0 G1 G2 G3 G5 G38.X) and apply for X Y Z E F, etc.
//#define G0_FEEDRATE // Add a G0-specific sticky feedrate, applied to all subsequent G0 moves.
#if ENABLED(G0_FEEDRATE)
#define DEFAULT_G0_FEEDRATE 3000 // (mm/m)
#endif
/**
* User-defined menu items that execute custom GCode