Merge pull request #6403 from thinkyhead/rc_flsun_clean
FLSUN and trailing whitespace cleanup
This commit is contained in:
commit
c73b62447c
@ -446,8 +446,6 @@
|
|||||||
// and processor overload (too many expensive sqrt calls).
|
// and processor overload (too many expensive sqrt calls).
|
||||||
#define DELTA_SEGMENTS_PER_SECOND 160
|
#define DELTA_SEGMENTS_PER_SECOND 160
|
||||||
|
|
||||||
// NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
|
|
||||||
|
|
||||||
// Center-to-center distance of the holes in the diagonal push rods.
|
// Center-to-center distance of the holes in the diagonal push rods.
|
||||||
#define DELTA_DIAGONAL_ROD 218.0 // mm
|
#define DELTA_DIAGONAL_ROD 218.0 // mm
|
||||||
|
|
||||||
@ -470,7 +468,6 @@
|
|||||||
#define DELTA_PRINTABLE_RADIUS 90.0
|
#define DELTA_PRINTABLE_RADIUS 90.0
|
||||||
|
|
||||||
// Delta calibration menu
|
// Delta calibration menu
|
||||||
// uncomment to add three points calibration menu option.
|
|
||||||
// See http://minow.blogspot.com/index.html#4918805519571907051
|
// See http://minow.blogspot.com/index.html#4918805519571907051
|
||||||
#define DELTA_CALIBRATION_MENU
|
#define DELTA_CALIBRATION_MENU
|
||||||
|
|
||||||
@ -670,6 +667,9 @@
|
|||||||
* is enabled then it also applies to Z_PROBE_SPEED_SLOW.
|
* is enabled then it also applies to Z_PROBE_SPEED_SLOW.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
// A probe that is deployed and stowed with a solenoid pin (SOL1_PIN)
|
||||||
|
//#define SOLENOID_PROBE
|
||||||
|
|
||||||
// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
|
// Enable if you have a Z probe mounted on a sled like those designed by Charles Bell.
|
||||||
//#define Z_PROBE_SLED
|
//#define Z_PROBE_SLED
|
||||||
//#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
|
//#define SLED_DOCKING_OFFSET 5 // The extra distance the X axis must travel to pickup the sled. 0 should be fine but you can push it further if you'd like.
|
||||||
@ -728,7 +728,7 @@
|
|||||||
#define Z_PROBE_ALLEN_KEY_DEPLOY_2_X 0.0
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_2_X 0.0
|
||||||
#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y DELTA_PRINTABLE_RADIUS
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Y DELTA_PRINTABLE_RADIUS
|
||||||
#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_2_Z 100.0
|
||||||
#define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (XY_PROBE_SPEED/10)
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (XY_PROBE_SPEED)/10
|
||||||
|
|
||||||
#define Z_PROBE_ALLEN_KEY_DEPLOY_3_X Z_PROBE_ALLEN_KEY_DEPLOY_2_X * 0.75
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_3_X Z_PROBE_ALLEN_KEY_DEPLOY_2_X * 0.75
|
||||||
#define Z_PROBE_ALLEN_KEY_DEPLOY_3_Y Z_PROBE_ALLEN_KEY_DEPLOY_2_Y * 0.75
|
#define Z_PROBE_ALLEN_KEY_DEPLOY_3_Y Z_PROBE_ALLEN_KEY_DEPLOY_2_Y * 0.75
|
||||||
@ -864,11 +864,11 @@
|
|||||||
// @section machine
|
// @section machine
|
||||||
|
|
||||||
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
|
// Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
|
||||||
#define INVERT_X_DIR true // DELTA does not invert
|
#define INVERT_X_DIR true
|
||||||
#define INVERT_Y_DIR true
|
#define INVERT_Y_DIR true
|
||||||
#define INVERT_Z_DIR true
|
#define INVERT_Z_DIR true
|
||||||
|
|
||||||
// Enable this option for Toshiba steppers
|
// Enable this option for Toshiba stepper drivers
|
||||||
//#define CONFIG_STEPPERS_TOSHIBA
|
//#define CONFIG_STEPPERS_TOSHIBA
|
||||||
|
|
||||||
// @section extruder
|
// @section extruder
|
||||||
@ -987,6 +987,7 @@
|
|||||||
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_LINEAR) || ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
// Set the number of grid points per dimension.
|
// Set the number of grid points per dimension.
|
||||||
|
// Works best with 5 or more points in each dimension.
|
||||||
#define GRID_MAX_POINTS_X 9
|
#define GRID_MAX_POINTS_X 9
|
||||||
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
|
#define GRID_MAX_POINTS_Y GRID_MAX_POINTS_X
|
||||||
|
|
||||||
@ -1004,7 +1005,6 @@
|
|||||||
//#define PROBE_Y_FIRST
|
//#define PROBE_Y_FIRST
|
||||||
|
|
||||||
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
#if ENABLED(AUTO_BED_LEVELING_BILINEAR)
|
||||||
|
|
||||||
//
|
//
|
||||||
// Experimental Subdivision of the grid by Catmull-Rom method.
|
// Experimental Subdivision of the grid by Catmull-Rom method.
|
||||||
// Synthesizes intermediate points to produce a more detailed mesh.
|
// Synthesizes intermediate points to produce a more detailed mesh.
|
||||||
@ -1401,7 +1401,6 @@
|
|||||||
//
|
//
|
||||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
|
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
|
||||||
//
|
//
|
||||||
// INDIVIDUAL_AXIS_HOMING_MENU is incompatible with DELTA kinematics.
|
|
||||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
|
//#define INDIVIDUAL_AXIS_HOMING_MENU
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -446,8 +446,6 @@
|
|||||||
// and processor overload (too many expensive sqrt calls).
|
// and processor overload (too many expensive sqrt calls).
|
||||||
#define DELTA_SEGMENTS_PER_SECOND 160
|
#define DELTA_SEGMENTS_PER_SECOND 160
|
||||||
|
|
||||||
// NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
|
|
||||||
|
|
||||||
// Center-to-center distance of the holes in the diagonal push rods.
|
// Center-to-center distance of the holes in the diagonal push rods.
|
||||||
#define DELTA_DIAGONAL_ROD 218.0 // mm
|
#define DELTA_DIAGONAL_ROD 218.0 // mm
|
||||||
|
|
||||||
@ -1403,7 +1401,6 @@
|
|||||||
//
|
//
|
||||||
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
|
// Add individual axis homing items (Home X, Home Y, and Home Z) to the LCD menu.
|
||||||
//
|
//
|
||||||
// INDIVIDUAL_AXIS_HOMING_MENU is incompatible with DELTA kinematics.
|
|
||||||
//#define INDIVIDUAL_AXIS_HOMING_MENU
|
//#define INDIVIDUAL_AXIS_HOMING_MENU
|
||||||
|
|
||||||
//
|
//
|
||||||
|
@ -436,8 +436,6 @@
|
|||||||
// and processor overload (too many expensive sqrt calls).
|
// and processor overload (too many expensive sqrt calls).
|
||||||
#define DELTA_SEGMENTS_PER_SECOND 200
|
#define DELTA_SEGMENTS_PER_SECOND 200
|
||||||
|
|
||||||
// NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
|
|
||||||
|
|
||||||
// Center-to-center distance of the holes in the diagonal push rods.
|
// Center-to-center distance of the holes in the diagonal push rods.
|
||||||
#define DELTA_DIAGONAL_ROD 250.0 // mm
|
#define DELTA_DIAGONAL_ROD 250.0 // mm
|
||||||
|
|
||||||
@ -701,7 +699,6 @@
|
|||||||
// Use double touch for probing
|
// Use double touch for probing
|
||||||
//#define PROBE_DOUBLE_TOUCH
|
//#define PROBE_DOUBLE_TOUCH
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
|
* Allen key retractable z-probe as seen on many Kossel delta printers - http://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
|
||||||
* Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
|
* Deploys by touching z-axis belt. Retracts by pushing the probe down. Uses Z_MIN_PIN.
|
||||||
|
@ -436,8 +436,6 @@
|
|||||||
// and processor overload (too many expensive sqrt calls).
|
// and processor overload (too many expensive sqrt calls).
|
||||||
#define DELTA_SEGMENTS_PER_SECOND 200
|
#define DELTA_SEGMENTS_PER_SECOND 200
|
||||||
|
|
||||||
// NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
|
|
||||||
|
|
||||||
// Center-to-center distance of the holes in the diagonal push rods.
|
// Center-to-center distance of the holes in the diagonal push rods.
|
||||||
#define DELTA_DIAGONAL_ROD 215.0 // mm
|
#define DELTA_DIAGONAL_ROD 215.0 // mm
|
||||||
|
|
||||||
|
@ -423,8 +423,6 @@
|
|||||||
// and processor overload (too many expensive sqrt calls).
|
// and processor overload (too many expensive sqrt calls).
|
||||||
#define DELTA_SEGMENTS_PER_SECOND 160
|
#define DELTA_SEGMENTS_PER_SECOND 160
|
||||||
|
|
||||||
// NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
|
|
||||||
|
|
||||||
// Center-to-center distance of the holes in the diagonal push rods.
|
// Center-to-center distance of the holes in the diagonal push rods.
|
||||||
#define DELTA_DIAGONAL_ROD 301.0 // mm
|
#define DELTA_DIAGONAL_ROD 301.0 // mm
|
||||||
|
|
||||||
|
@ -441,8 +441,6 @@
|
|||||||
// and processor overload (too many expensive sqrt calls).
|
// and processor overload (too many expensive sqrt calls).
|
||||||
#define DELTA_SEGMENTS_PER_SECOND 160
|
#define DELTA_SEGMENTS_PER_SECOND 160
|
||||||
|
|
||||||
// NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
|
|
||||||
|
|
||||||
// Center-to-center distance of the holes in the diagonal push rods.
|
// Center-to-center distance of the holes in the diagonal push rods.
|
||||||
#define DELTA_DIAGONAL_ROD 317.3 + 2.5 // mm
|
#define DELTA_DIAGONAL_ROD 317.3 + 2.5 // mm
|
||||||
|
|
||||||
|
@ -194,7 +194,7 @@ uint16_t max_display_update_time = 0;
|
|||||||
DECLARE_MENU_EDIT_TYPE(float, float52);
|
DECLARE_MENU_EDIT_TYPE(float, float52);
|
||||||
DECLARE_MENU_EDIT_TYPE(float, float62);
|
DECLARE_MENU_EDIT_TYPE(float, float62);
|
||||||
DECLARE_MENU_EDIT_TYPE(unsigned long, long5);
|
DECLARE_MENU_EDIT_TYPE(unsigned long, long5);
|
||||||
|
|
||||||
void menu_action_setting_edit_bool(const char* pstr, bool* ptr);
|
void menu_action_setting_edit_bool(const char* pstr, bool* ptr);
|
||||||
void menu_action_setting_edit_callback_bool(const char* pstr, bool* ptr, screenFunc_t callbackFunc);
|
void menu_action_setting_edit_callback_bool(const char* pstr, bool* ptr, screenFunc_t callbackFunc);
|
||||||
void menu_action_setting_edit_accessor_bool(const char* pstr, bool (*pget)(), void (*pset)(bool));
|
void menu_action_setting_edit_accessor_bool(const char* pstr, bool (*pget)(), void (*pset)(bool));
|
||||||
|
@ -14,7 +14,7 @@ cmake_minimum_required(VERSION 2.8)
|
|||||||
# cmake -G"Unix Makefiles" .. #
|
# cmake -G"Unix Makefiles" .. #
|
||||||
# make #
|
# make #
|
||||||
#====================================================================#
|
#====================================================================#
|
||||||
|
|
||||||
#====================================================================#
|
#====================================================================#
|
||||||
# Download marlin-cmake scriptfiles if not already installed #
|
# Download marlin-cmake scriptfiles if not already installed #
|
||||||
# and add the path to the module path #
|
# and add the path to the module path #
|
||||||
@ -26,13 +26,13 @@ if(NOT EXISTS ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake)
|
|||||||
|
|
||||||
file(DOWNLOAD https://github.com/tohara/marlin-cmake/archive/${SCRIPT_BRANCH}.tar.gz
|
file(DOWNLOAD https://github.com/tohara/marlin-cmake/archive/${SCRIPT_BRANCH}.tar.gz
|
||||||
${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-src.tar.gz SHOW_PROGRESS)
|
${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-src.tar.gz SHOW_PROGRESS)
|
||||||
|
|
||||||
execute_process(COMMAND ${CMAKE_COMMAND} -E tar -xvf ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-src.tar.gz WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
|
execute_process(COMMAND ${CMAKE_COMMAND} -E tar -xvf ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-src.tar.gz WORKING_DIRECTORY ${CMAKE_CURRENT_LIST_DIR})
|
||||||
|
|
||||||
file(RENAME ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-${SCRIPT_BRANCH} ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake)
|
file(RENAME ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-${SCRIPT_BRANCH} ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake)
|
||||||
file(REMOVE ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-src.tar.gz)
|
file(REMOVE ${CMAKE_CURRENT_LIST_DIR}/marlin-cmake-src.tar.gz)
|
||||||
|
|
||||||
|
|
||||||
endif()
|
endif()
|
||||||
|
|
||||||
if(WIN32 AND NOT EXISTS ${CMAKE_BINARY_DIR}/make.exe)
|
if(WIN32 AND NOT EXISTS ${CMAKE_BINARY_DIR}/make.exe)
|
||||||
|
@ -115,7 +115,7 @@ module point_markers(show_home=true) {
|
|||||||
$fn=8;
|
$fn=8;
|
||||||
rotate([90,0])
|
rotate([90,0])
|
||||||
text(str(z), 6, label_font_lg, halign="center", valign="center");
|
text(str(z), 6, label_font_lg, halign="center", valign="center");
|
||||||
|
|
||||||
translate([0,0,down?-6:6]) rotate([90,0])
|
translate([0,0,down?-6:6]) rotate([90,0])
|
||||||
text(str(down ? "" : "+", v), 3, label_font_sm, halign="center", valign="center");
|
text(str(down ? "" : "+", v), 3, label_font_sm, halign="center", valign="center");
|
||||||
}
|
}
|
||||||
|
@ -30,7 +30,7 @@ for i in range(32):
|
|||||||
print " ",
|
print " ",
|
||||||
for j in range(8):
|
for j in range(8):
|
||||||
print "{%d, %d}," % (a[8*i+j], b[8*i+j]),
|
print "{%d, %d}," % (a[8*i+j], b[8*i+j]),
|
||||||
print
|
print
|
||||||
print "};"
|
print "};"
|
||||||
print
|
print
|
||||||
|
|
||||||
@ -42,7 +42,7 @@ for i in range(32):
|
|||||||
print " ",
|
print " ",
|
||||||
for j in range(8):
|
for j in range(8):
|
||||||
print "{%d, %d}," % (a[8*i+j], b[8*i+j]),
|
print "{%d, %d}," % (a[8*i+j], b[8*i+j]),
|
||||||
print
|
print
|
||||||
print "};"
|
print "};"
|
||||||
print
|
print
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user