Last active
February 10, 2016 22:51
-
-
Save xoan/c835e9b7ab7b0e17c80f to your computer and use it in GitHub Desktop.
Marlin 1.0 basic configuration
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//// MOVEMENT SETTINGS | |
#define NUM_AXIS 4 // The axis order in all axis related arrays is X, Y, Z, E | |
#define HOMING_FEEDRATE {60*60, 60*60, 4*60, 0} // set the homing speeds (mm/min) | |
// default settings | |
#define DEFAULT_AXIS_STEPS_PER_UNIT {(200*16)/(2*16), (200*16)/(2*16), (200*8)/0.8, 175} | |
#define DEFAULT_MAX_FEEDRATE {300, 300, 4, 100} // (mm/sec) | |
#define DEFAULT_MAX_ACCELERATION {3000, 3000, 200, 9000} // X, Y, Z, E maximum start speed for accelerated moves. E default values are good for Skeinforge 40+, for older versions raise them a lot. | |
#define DEFAULT_ACCELERATION 1500 // X, Y, Z and E max acceleration in mm/s^2 for printing moves | |
#define DEFAULT_RETRACT_ACCELERATION 9000 // X, Y, Z and E max acceleration in mm/s^2 for retracts | |
// The speed change that does not require acceleration (i.e. the software might assume it can be done instantaneously) | |
#define DEFAULT_XYJERK 15.0 // (mm/sec) | |
#define DEFAULT_ZJERK 0.5 // (mm/sec) | |
#define DEFAULT_EJERK 10.0 // (mm/sec) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
//homing hits the endstop, then retracts by this distance, before it tries to slowly bump again: | |
#define X_HOME_RETRACT_MM 1.5 | |
#define Y_HOME_RETRACT_MM 1.5 | |
#define Z_HOME_RETRACT_MM 2 | |
#define QUICK_HOME //if this is defined, if both x and y are to be homed, a diagonal move will be performed initially. | |
// Firmware based and LCD controlled retract | |
// M207 and M208 can be used to define parameters for the retraction. | |
// The retraction can be called by the slicer using G10 and G11 | |
// until then, intended retractions can be detected by moves that only extrude and the direction. | |
// the moves are than replaced by the firmware controlled ones. | |
#define FWRETRACT //ONLY PARTIALLY TESTED | |
#ifdef FWRETRACT | |
#define MIN_RETRACT 0.1 //minimum extruded mm to accept a automatic gcode retraction attempt | |
#define RETRACT_LENGTH 3 //default retract length (positive mm) | |
#define RETRACT_LENGTH_SWAP 12 //default swap retract length (positive mm), for extruder change | |
#define RETRACT_FEEDRATE 60 //default feedrate for retracting (mm/s) | |
#define RETRACT_ZLIFT 0 //default retract Z-lift | |
#define RETRACT_RECOVER_LENGTH 0 //default additional recover length (mm, added to retract length when recovering) | |
#define RETRACT_RECOVER_LENGTH_SWAP 0 //default additional swap recover length (mm, added to retract length when recovering from extruder change) | |
#define RETRACT_RECOVER_FEEDRATE 45 //default feedrate for recovering from retraction (mm/s) | |
#endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment