Added support for delta tower angle corrections.
This commit is contained in:
parent
98c9de11e1
commit
f78d44e91a
|
@ -658,6 +658,9 @@
|
||||||
* Delta radius/rod trimmers/angle trimmers
|
* Delta radius/rod trimmers/angle trimmers
|
||||||
*/
|
*/
|
||||||
#if ENABLED(DELTA)
|
#if ENABLED(DELTA)
|
||||||
|
#ifndef DELTA_ENDSTOP_ADJ
|
||||||
|
#define DELTA_ENDSTOP_ADJ { 0 }
|
||||||
|
#endif
|
||||||
#ifndef DELTA_RADIUS_TRIM_TOWER_1
|
#ifndef DELTA_RADIUS_TRIM_TOWER_1
|
||||||
#define DELTA_RADIUS_TRIM_TOWER_1 0.0
|
#define DELTA_RADIUS_TRIM_TOWER_1 0.0
|
||||||
#endif
|
#endif
|
||||||
|
@ -757,10 +760,6 @@
|
||||||
// Stepper pulse duration, in cycles
|
// Stepper pulse duration, in cycles
|
||||||
#define STEP_PULSE_CYCLES ((MINIMUM_STEPPER_PULSE) * CYCLES_PER_MICROSECOND)
|
#define STEP_PULSE_CYCLES ((MINIMUM_STEPPER_PULSE) * CYCLES_PER_MICROSECOND)
|
||||||
|
|
||||||
#ifndef DELTA_ENDSTOP_ADJ
|
|
||||||
#define DELTA_ENDSTOP_ADJ { 0 }
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#if ENABLED(SDCARD_SORT_ALPHA)
|
#if ENABLED(SDCARD_SORT_ALPHA)
|
||||||
#define HAS_FOLDER_SORTING (FOLDER_SORTING || ENABLED(SDSORT_GCODE))
|
#define HAS_FOLDER_SORTING (FOLDER_SORTING || ENABLED(SDSORT_GCODE))
|
||||||
#endif
|
#endif
|
||||||
|
|
0
Marlin/Marlin_main.cpp
Executable file → Normal file
0
Marlin/Marlin_main.cpp
Executable file → Normal file
|
@ -42,7 +42,7 @@
|
||||||
#define EEPROM_OFFSET 100
|
#define EEPROM_OFFSET 100
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* V31 EEPROM Layout:
|
* V32 EEPROM Layout:
|
||||||
*
|
*
|
||||||
* 100 Version (char x4)
|
* 100 Version (char x4)
|
||||||
* 104 EEPROM Checksum (uint16_t)
|
* 104 EEPROM Checksum (uint16_t)
|
||||||
|
@ -147,7 +147,6 @@
|
||||||
*
|
*
|
||||||
* 574 Minimum end-point
|
* 574 Minimum end-point
|
||||||
* 1895 (574 + 36 + 9 + 288 + 988) Maximum end-point
|
* 1895 (574 + 36 + 9 + 288 + 988) Maximum end-point
|
||||||
*
|
|
||||||
*/
|
*/
|
||||||
#include "Marlin.h"
|
#include "Marlin.h"
|
||||||
#include "language.h"
|
#include "language.h"
|
||||||
|
|
|
@ -478,6 +478,17 @@
|
||||||
|
|
||||||
//#define DELTA_ENDSTOP_ADJ { 0, 0, 0 }
|
//#define DELTA_ENDSTOP_ADJ { 0, 0, 0 }
|
||||||
|
|
||||||
|
// Trim adjustments for individual towers
|
||||||
|
#define DELTA_RADIUS_TRIM_TOWER_1 0.0
|
||||||
|
#define DELTA_RADIUS_TRIM_TOWER_2 0.0
|
||||||
|
#define DELTA_RADIUS_TRIM_TOWER_3 0.0
|
||||||
|
#define DELTA_DIAGONAL_ROD_TRIM_TOWER_1 0.0
|
||||||
|
#define DELTA_DIAGONAL_ROD_TRIM_TOWER_2 0.0
|
||||||
|
#define DELTA_DIAGONAL_ROD_TRIM_TOWER_3 0.0
|
||||||
|
#define DELTA_TOWER_ANGLE_TRIM_1 0.0
|
||||||
|
#define DELTA_TOWER_ANGLE_TRIM_2 0.0
|
||||||
|
#define DELTA_TOWER_ANGLE_TRIM_3 0.0
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Enable this option for Toshiba steppers
|
// Enable this option for Toshiba steppers
|
||||||
|
|
|
@ -465,6 +465,17 @@
|
||||||
|
|
||||||
//#define DELTA_ENDSTOP_ADJ { 0, 0, 0 }
|
//#define DELTA_ENDSTOP_ADJ { 0, 0, 0 }
|
||||||
|
|
||||||
|
// Trim adjustments for individual towers
|
||||||
|
#define DELTA_RADIUS_TRIM_TOWER_1 0.0
|
||||||
|
#define DELTA_RADIUS_TRIM_TOWER_2 0.0
|
||||||
|
#define DELTA_RADIUS_TRIM_TOWER_3 0.0
|
||||||
|
#define DELTA_DIAGONAL_ROD_TRIM_TOWER_1 0.0
|
||||||
|
#define DELTA_DIAGONAL_ROD_TRIM_TOWER_2 0.0
|
||||||
|
#define DELTA_DIAGONAL_ROD_TRIM_TOWER_3 0.0
|
||||||
|
#define DELTA_TOWER_ANGLE_TRIM_1 0.0
|
||||||
|
#define DELTA_TOWER_ANGLE_TRIM_2 0.0
|
||||||
|
#define DELTA_TOWER_ANGLE_TRIM_3 0.0
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Enable this option for Toshiba steppers
|
// Enable this option for Toshiba steppers
|
||||||
|
|
|
@ -465,6 +465,17 @@
|
||||||
|
|
||||||
//#define DELTA_ENDSTOP_ADJ { 0, 0, 0 }
|
//#define DELTA_ENDSTOP_ADJ { 0, 0, 0 }
|
||||||
|
|
||||||
|
// Trim adjustments for individual towers
|
||||||
|
#define DELTA_RADIUS_TRIM_TOWER_1 0.0
|
||||||
|
#define DELTA_RADIUS_TRIM_TOWER_2 0.0
|
||||||
|
#define DELTA_RADIUS_TRIM_TOWER_3 0.0
|
||||||
|
#define DELTA_DIAGONAL_ROD_TRIM_TOWER_1 0.0
|
||||||
|
#define DELTA_DIAGONAL_ROD_TRIM_TOWER_2 0.0
|
||||||
|
#define DELTA_DIAGONAL_ROD_TRIM_TOWER_3 0.0
|
||||||
|
#define DELTA_TOWER_ANGLE_TRIM_1 0.0
|
||||||
|
#define DELTA_TOWER_ANGLE_TRIM_2 0.0
|
||||||
|
#define DELTA_TOWER_ANGLE_TRIM_3 0.0
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Enable this option for Toshiba steppers
|
// Enable this option for Toshiba steppers
|
||||||
|
|
|
@ -452,6 +452,17 @@
|
||||||
|
|
||||||
//#define DELTA_ENDSTOP_ADJ { 0, 0, 0 }
|
//#define DELTA_ENDSTOP_ADJ { 0, 0, 0 }
|
||||||
|
|
||||||
|
// Trim adjustments for individual towers
|
||||||
|
#define DELTA_RADIUS_TRIM_TOWER_1 0.0
|
||||||
|
#define DELTA_RADIUS_TRIM_TOWER_2 0.0
|
||||||
|
#define DELTA_RADIUS_TRIM_TOWER_3 0.0
|
||||||
|
#define DELTA_DIAGONAL_ROD_TRIM_TOWER_1 0.0
|
||||||
|
#define DELTA_DIAGONAL_ROD_TRIM_TOWER_2 0.0
|
||||||
|
#define DELTA_DIAGONAL_ROD_TRIM_TOWER_3 0.0
|
||||||
|
#define DELTA_TOWER_ANGLE_TRIM_1 0.0
|
||||||
|
#define DELTA_TOWER_ANGLE_TRIM_2 0.0
|
||||||
|
#define DELTA_TOWER_ANGLE_TRIM_3 0.0
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Enable this option for Toshiba steppers
|
// Enable this option for Toshiba steppers
|
||||||
|
|
|
@ -470,6 +470,17 @@
|
||||||
|
|
||||||
//#define DELTA_ENDSTOP_ADJ { 0, 0, 0 }
|
//#define DELTA_ENDSTOP_ADJ { 0, 0, 0 }
|
||||||
|
|
||||||
|
// Trim adjustments for individual towers
|
||||||
|
#define DELTA_RADIUS_TRIM_TOWER_1 0.0
|
||||||
|
#define DELTA_RADIUS_TRIM_TOWER_2 0.0
|
||||||
|
#define DELTA_RADIUS_TRIM_TOWER_3 0.0
|
||||||
|
#define DELTA_DIAGONAL_ROD_TRIM_TOWER_1 0.0
|
||||||
|
#define DELTA_DIAGONAL_ROD_TRIM_TOWER_2 0.0
|
||||||
|
#define DELTA_DIAGONAL_ROD_TRIM_TOWER_3 0.0
|
||||||
|
#define DELTA_TOWER_ANGLE_TRIM_1 0.0
|
||||||
|
#define DELTA_TOWER_ANGLE_TRIM_2 0.0
|
||||||
|
#define DELTA_TOWER_ANGLE_TRIM_3 0.0
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
// Enable this option for Toshiba steppers
|
// Enable this option for Toshiba steppers
|
||||||
|
|
Loading…
Reference in a new issue