Металл2024 Реклама
Метобр2024 Реклама

Автоуровень стола

Evgen24
Идет загрузка
Загрузка
20.06.2017
4276
2
Вопросы и ответы
Здравствуйте . Собрал я принтер smartrapcore . подскажите что надо раскоментировать чтобы был автоуровень по четырем точкам стола, и может еще какие параметры подправить .Заранее благодарен)

Вот часть кода.

//#define AUTO_BED_LEVELING_3POINT

//#define AUTO_BED_LEVELING_LINEAR

//#define AUTO_BED_LEVELING_BILINEAR

/**

* Enable detailed logging of G28, G29, M48, etc.

* Turn on with the command 'M111 S32'.

* NOTE: Requires a lot of PROGMEM!

*/

//#define DEBUG_LEVELING_FEATURE

#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)

// Set the number of grid points per dimension.

#define ABL_GRID_POINTS_X 3

#define ABL_GRID_POINTS_Y ABL_GRID_POINTS_X

// Set the boundaries for probing (where the probe can reach).

#define LEFT_PROBE_BED_POSITION 15

#define RIGHT_PROBE_BED_POSITION 170

#define FRONT_PROBE_BED_POSITION 20

#define BACK_PROBE_BED_POSITION 170

// The Z probe minimum outer margin (to validate G29 parameters).

#define MIN_PROBE_EDGE 10

// Probe along the Y axis, advancing X after each column

//#define PROBE_Y_FIRST

#if ENABLED(AUTO_BED_LEVELING_BILINEAR)

// Gradually reduce leveling correction until a set height is reached,

// at which point movement will be level to the machine's XY plane.

// The height can be set with M420 Z

#define ENABLE_LEVELING_FADE_HEIGHT

//

// Experimental Subdivision of the grid by Catmull-Rom method.

// Synthesizes intermediate points to produce a more detailed mesh.

//

//#define ABL_BILINEAR_SUBDIVISION

#if ENABLED(ABL_BILINEAR_SUBDIVISION)

// Number of subdivisions between probe points

#define BILINEAR_SUBDIVISIONS 3

#endif

#endif

#elif ENABLED(AUTO_BED_LEVELING_3POINT)

// 3 arbitrary points to probe.

// A simple cross-product is used to estimate the plane of the bed.

#define ABL_PROBE_PT_1_X 15

#define ABL_PROBE_PT_1_Y 180

#define ABL_PROBE_PT_2_X 15

#define ABL_PROBE_PT_2_Y 20

#define ABL_PROBE_PT_3_X 170

#define ABL_PROBE_PT_3_Y 20

#endif

/**

* Commands to execute at the end of G29 probing.

* Useful to retract or move the Z probe out of the way.

*/

//#define Z_PROBE_END_SCRIPT 'G1 Z10 F12000

G1 X15 Y330

G1 Z0.5

G1 Z10'

// @section homing

// The center of the bed is at (X=0, Y=0)

//#define BED_CENTER_AT_0_0

// Manually set the home position. Leave these undefined for automatic settings.

// For DELTA this is the top-center of the Cartesian print volume.

//#define MANUAL_X_HOME_POS 0

//#define MANUAL_Y_HOME_POS 0

//#define MANUAL_Z_HOME_POS 0 // Distance between the nozzle to printbed after homing

// Use 'Z Safe Homing' to avoid homing with a Z probe outside the bed area.

//

// With this feature enabled:

//

// - Allow Z homing only after X and Y homing AND stepper drivers still enabled.

// - If stepper drivers time out, it will need X and Y homing again before Z homing.

// - Move the Z probe (or nozzle) to a defined XY point before Z Homing when homing all axes (G28).

// - Prevent Z homing when the Z probe is outside bed area.

//#define Z_SAFE_HOMING

#if ENABLED(Z_SAFE_HOMING)

#define Z_SAFE_HOMING_X_POINT ((X_MIN_POS + X_MAX_POS) / 2) // X point for Z homing when homing all axis (G28).

#define Z_SAFE_HOMING_Y_POINT ((Y_MIN_POS + Y_MAX_POS) / 2) // Y point for Z homing when homing all axis (G28).

#endif

// Homing speeds (mm/m)

#define HOMING_FEEDRATE_XY (50*60)

#define HOMING_FEEDRATE_Z (4*60)
Ответы на вопросы
Кремень КБ Реклама
Кремень КМ Реклама