|
|
@ -70,46 +70,6 @@
|
|
|
|
|
|
|
|
|
|
|
|
#define POWER_SUPPLY 1
|
|
|
|
#define POWER_SUPPLY 1
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
//============================== Delta Settings =============================
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
|
|
|
|
// Enable DELTA kinematics
|
|
|
|
|
|
|
|
//#define DELTA
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Make delta curves from many straight lines (linear interpolation).
|
|
|
|
|
|
|
|
// This is a trade-off between visible corners (not enough segments)
|
|
|
|
|
|
|
|
// and processor overload (too many expensive sqrt calls).
|
|
|
|
|
|
|
|
#define DELTA_SEGMENTS_PER_SECOND 200
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Center-to-center distance of the holes in the diagonal push rods.
|
|
|
|
|
|
|
|
#define DELTA_DIAGONAL_ROD 250.0 // mm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Horizontal offset from middle of printer to smooth rod center.
|
|
|
|
|
|
|
|
#define DELTA_SMOOTH_ROD_OFFSET 175.0 // mm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Horizontal offset of the universal joints on the end effector.
|
|
|
|
|
|
|
|
#define DELTA_EFFECTOR_OFFSET 33.0 // mm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Horizontal offset of the universal joints on the carriages.
|
|
|
|
|
|
|
|
#define DELTA_CARRIAGE_OFFSET 18.0 // mm
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Effective horizontal distance bridged by diagonal push rods.
|
|
|
|
|
|
|
|
#define DELTA_RADIUS (DELTA_SMOOTH_ROD_OFFSET-DELTA_EFFECTOR_OFFSET-DELTA_CARRIAGE_OFFSET)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Effective X/Y positions of the three vertical towers.
|
|
|
|
|
|
|
|
#define SIN_60 0.8660254037844386
|
|
|
|
|
|
|
|
#define COS_60 0.5
|
|
|
|
|
|
|
|
#define DELTA_TOWER1_X -SIN_60*DELTA_RADIUS // front left tower
|
|
|
|
|
|
|
|
#define DELTA_TOWER1_Y -COS_60*DELTA_RADIUS
|
|
|
|
|
|
|
|
#define DELTA_TOWER2_X SIN_60*DELTA_RADIUS // front right tower
|
|
|
|
|
|
|
|
#define DELTA_TOWER2_Y -COS_60*DELTA_RADIUS
|
|
|
|
|
|
|
|
#define DELTA_TOWER3_X 0.0 // back middle tower
|
|
|
|
|
|
|
|
#define DELTA_TOWER3_Y DELTA_RADIUS
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Diagonal rod squared
|
|
|
|
|
|
|
|
#define DELTA_DIAGONAL_ROD_2 pow(DELTA_DIAGONAL_ROD,2)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//===========================================================================
|
|
|
|
//===========================================================================
|
|
|
|
//=============================Thermal Settings ============================
|
|
|
|
//=============================Thermal Settings ============================
|
|
|
|
//===========================================================================
|
|
|
|
//===========================================================================
|
|
|
|