Skip to content

Commit f2bab5e

Browse files
committed
📝 Configurations 02010100
1 parent a797390 commit f2bab5e

File tree

4 files changed

+168
-59
lines changed

4 files changed

+168
-59
lines changed

Marlin/Configuration.h

+162-15
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,7 @@
3535
*
3636
* Advanced settings can be found in Configuration_adv.h
3737
*/
38-
#define CONFIGURATION_H_VERSION 02010000
38+
#define CONFIGURATION_H_VERSION 02010010
3939

4040
//===========================================================================
4141
//============================= Getting Started =============================
@@ -57,15 +57,6 @@
5757
* https://www.thingiverse.com/thing:1278865
5858
*/
5959

60-
//===========================================================================
61-
//========================== DELTA / SCARA / TPARA ==========================
62-
//===========================================================================
63-
//
64-
// Download configurations from the link above and customize for your machine.
65-
// Examples are located in config/examples/delta, .../SCARA, and .../TPARA.
66-
//
67-
//===========================================================================
68-
6960
// @section info
7061

7162
// Author info of this build printed to the host during boot and M115
@@ -865,7 +856,135 @@
865856
#define POLAR_SEGMENTS_PER_SECOND 5
866857
#endif
867858

868-
// Enable for an articulated robot (robot arm). Joints are directly mapped to axes (no kinematics).
859+
// Enable for DELTA kinematics and configure below
860+
//#define DELTA
861+
#if ENABLED(DELTA)
862+
863+
// Make delta curves from many straight lines (linear interpolation).
864+
// This is a trade-off between visible corners (not enough segments)
865+
// and processor overload (too many expensive sqrt calls).
866+
#define DELTA_SEGMENTS_PER_SECOND 200
867+
868+
// After homing move down to a height where XY movement is unconstrained
869+
//#define DELTA_HOME_TO_SAFE_ZONE
870+
871+
// Delta calibration menu
872+
// uncomment to add three points calibration menu option.
873+
// See http://minow.blogspot.com/index.html#4918805519571907051
874+
//#define DELTA_CALIBRATION_MENU
875+
876+
// uncomment to add G33 Delta Auto-Calibration (Enable EEPROM_SETTINGS to store results)
877+
//#define DELTA_AUTO_CALIBRATION
878+
879+
// NOTE NB all values for DELTA_* values MUST be floating point, so always have a decimal point in them
880+
881+
#if ENABLED(DELTA_AUTO_CALIBRATION)
882+
// set the default number of probe points : n*n (1 -> 7)
883+
#define DELTA_CALIBRATION_DEFAULT_POINTS 4
884+
#endif
885+
886+
#if EITHER(DELTA_AUTO_CALIBRATION, DELTA_CALIBRATION_MENU)
887+
// Set the steprate for papertest probing
888+
#define PROBE_MANUALLY_STEP 0.05 // (mm)
889+
#endif
890+
891+
// Print surface diameter/2 minus unreachable space (avoid collisions with vertical towers).
892+
#define DELTA_PRINTABLE_RADIUS 140.0 // (mm)
893+
894+
// Maximum reachable area
895+
#define DELTA_MAX_RADIUS 140.0 // (mm)
896+
897+
// Center-to-center distance of the holes in the diagonal push rods.
898+
#define DELTA_DIAGONAL_ROD 250.0 // (mm)
899+
900+
// Distance between bed and nozzle Z home position
901+
#define DELTA_HEIGHT 250.00 // (mm) Get this value from G33 auto calibrate
902+
903+
#define DELTA_ENDSTOP_ADJ { 0.0, 0.0, 0.0 } // Get these values from G33 auto calibrate
904+
905+
// Horizontal distance bridged by diagonal push rods when effector is centered.
906+
#define DELTA_RADIUS 124.0 // (mm) Get this value from G33 auto calibrate
907+
908+
// Trim adjustments for individual towers
909+
// tower angle corrections for X and Y tower / rotate XYZ so Z tower angle = 0
910+
// measured in degrees anticlockwise looking from above the printer
911+
#define DELTA_TOWER_ANGLE_TRIM { 0.0, 0.0, 0.0 } // Get these values from G33 auto calibrate
912+
913+
// Delta radius and diagonal rod adjustments (mm)
914+
//#define DELTA_RADIUS_TRIM_TOWER { 0.0, 0.0, 0.0 }
915+
//#define DELTA_DIAGONAL_ROD_TRIM_TOWER { 0.0, 0.0, 0.0 }
916+
#endif
917+
918+
/**
919+
* MORGAN_SCARA was developed by QHARLEY in South Africa in 2012-2013.
920+
* Implemented and slightly reworked by JCERNY in June, 2014.
921+
*
922+
* Mostly Printed SCARA is an open source design by Tyler Williams. See:
923+
* https://www.thingiverse.com/thing:2487048
924+
* https://www.thingiverse.com/thing:1241491
925+
*/
926+
//#define MORGAN_SCARA
927+
//#define MP_SCARA
928+
#if EITHER(MORGAN_SCARA, MP_SCARA)
929+
// If movement is choppy try lowering this value
930+
#define SCARA_SEGMENTS_PER_SECOND 200
931+
932+
// Length of inner and outer support arms. Measure arm lengths precisely.
933+
#define SCARA_LINKAGE_1 150 // (mm)
934+
#define SCARA_LINKAGE_2 150 // (mm)
935+
936+
// SCARA tower offset (position of Tower relative to bed zero position)
937+
// This needs to be reasonably accurate as it defines the printbed position in the SCARA space.
938+
#define SCARA_OFFSET_X 100 // (mm)
939+
#define SCARA_OFFSET_Y -56 // (mm)
940+
941+
#if ENABLED(MORGAN_SCARA)
942+
943+
//#define DEBUG_SCARA_KINEMATICS
944+
#define SCARA_FEEDRATE_SCALING // Convert XY feedrate from mm/s to degrees/s on the fly
945+
946+
// Radius around the center where the arm cannot reach
947+
#define MIDDLE_DEAD_ZONE_R 0 // (mm)
948+
949+
#define THETA_HOMING_OFFSET 0 // Calculated from Calibration Guide and M360 / M114. See http://reprap.harleystudio.co.za/?page_id=1073
950+
#define PSI_HOMING_OFFSET 0 // Calculated from Calibration Guide and M364 / M114. See http://reprap.harleystudio.co.za/?page_id=1073
951+
952+
#elif ENABLED(MP_SCARA)
953+
954+
#define SCARA_OFFSET_THETA1 12 // degrees
955+
#define SCARA_OFFSET_THETA2 131 // degrees
956+
957+
#endif
958+
959+
#endif
960+
961+
// Enable for TPARA kinematics and configure below
962+
//#define AXEL_TPARA
963+
#if ENABLED(AXEL_TPARA)
964+
#define DEBUG_ROBOT_KINEMATICS
965+
#define ROBOT_SEGMENTS_PER_SECOND 200
966+
967+
// Length of inner and outer support arms. Measure arm lengths precisely.
968+
#define ROBOT_LINKAGE_1 120 // (mm)
969+
#define ROBOT_LINKAGE_2 120 // (mm)
970+
971+
// SCARA tower offset (position of Tower relative to bed zero position)
972+
// This needs to be reasonably accurate as it defines the printbed position in the SCARA space.
973+
#define ROBOT_OFFSET_X 0 // (mm)
974+
#define ROBOT_OFFSET_Y 0 // (mm)
975+
#define ROBOT_OFFSET_Z 0 // (mm)
976+
977+
#define SCARA_FEEDRATE_SCALING // Convert XY feedrate from mm/s to degrees/s on the fly
978+
979+
// Radius around the center where the arm cannot reach
980+
#define MIDDLE_DEAD_ZONE_R 0 // (mm)
981+
982+
// Calculated from Calibration Guide and M360 / M114. See http://reprap.harleystudio.co.za/?page_id=1073
983+
#define THETA_HOMING_OFFSET 0
984+
#define PSI_HOMING_OFFSET 0
985+
#endif
986+
987+
// Articulated robot (arm). Joints are directly mapped to axes with no kinematics.
869988
//#define ARTICULATED_ROBOT_ARM
870989

871990
// For a hot wire cutter with parallel horizontal axes (X, I) where the heights of the two wire
@@ -1239,9 +1358,37 @@
12391358
*/
12401359
//#define SENSORLESS_PROBING
12411360

1242-
//
1243-
// For Z_PROBE_ALLEN_KEY see the Delta example configurations.
1244-
//
1361+
/**
1362+
* Allen key retractable z-probe as seen on many Kossel delta printers - https://reprap.org/wiki/Kossel#Automatic_bed_leveling_probe
1363+
* Deploys by touching z-axis belt. Retracts by pushing the probe down.
1364+
*/
1365+
//#define Z_PROBE_ALLEN_KEY
1366+
#if ENABLED(Z_PROBE_ALLEN_KEY)
1367+
// 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
1368+
// if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
1369+
1370+
#define Z_PROBE_ALLEN_KEY_DEPLOY_1 { 30.0, DELTA_PRINTABLE_RADIUS, 100.0 }
1371+
#define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE XY_PROBE_FEEDRATE
1372+
1373+
#define Z_PROBE_ALLEN_KEY_DEPLOY_2 { 0.0, DELTA_PRINTABLE_RADIUS, 100.0 }
1374+
#define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (XY_PROBE_FEEDRATE)/10
1375+
1376+
#define Z_PROBE_ALLEN_KEY_DEPLOY_3 { 0.0, (DELTA_PRINTABLE_RADIUS) * 0.75, 100.0 }
1377+
#define Z_PROBE_ALLEN_KEY_DEPLOY_3_FEEDRATE XY_PROBE_FEEDRATE
1378+
1379+
#define Z_PROBE_ALLEN_KEY_STOW_1 { -64.0, 56.0, 23.0 } // Move the probe into position
1380+
#define Z_PROBE_ALLEN_KEY_STOW_1_FEEDRATE XY_PROBE_FEEDRATE
1381+
1382+
#define Z_PROBE_ALLEN_KEY_STOW_2 { -64.0, 56.0, 3.0 } // Push it down
1383+
#define Z_PROBE_ALLEN_KEY_STOW_2_FEEDRATE (XY_PROBE_FEEDRATE)/10
1384+
1385+
#define Z_PROBE_ALLEN_KEY_STOW_3 { -64.0, 56.0, 50.0 } // Move it up to clear
1386+
#define Z_PROBE_ALLEN_KEY_STOW_3_FEEDRATE XY_PROBE_FEEDRATE
1387+
1388+
#define Z_PROBE_ALLEN_KEY_STOW_4 { 0.0, 0.0, 50.0 }
1389+
#define Z_PROBE_ALLEN_KEY_STOW_4_FEEDRATE XY_PROBE_FEEDRATE
1390+
1391+
#endif // Z_PROBE_ALLEN_KEY
12451392

12461393
/**
12471394
* Nozzle-to-Probe offsets { X, Y, Z }
@@ -1816,7 +1963,7 @@
18161963
//#define LCD_BED_TRAMMING
18171964

18181965
#if ENABLED(LCD_BED_TRAMMING)
1819-
#define BED_TRAMMING_INSET_LFRB { 30, 30, 30, 30 } // (mm) Left, Front, Right, Back insets
1966+
#define BED_TRAMMING_INSET_LFRB { 30, 30, 30, 30 } // (mm) Left, Front, Right, Back insets
18201967
#define BED_TRAMMING_HEIGHT 0.0 // (mm) Z height of nozzle at leveling points
18211968
#define BED_TRAMMING_Z_HOP 4.0 // (mm) Z height of nozzle between leveling points
18221969
//#define BED_TRAMMING_INCLUDE_CENTER // Move to the center after the last corner

Marlin/Configuration_adv.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030
*
3131
* Basic settings can be found in Configuration.h
3232
*/
33-
#define CONFIGURATION_ADV_H_VERSION 02010000
33+
#define CONFIGURATION_ADV_H_VERSION 02010100
3434

3535
//===========================================================================
3636
//============================= Thermal Settings ============================

Marlin/src/inc/Version.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@
5252
* to alert users to major changes.
5353
*/
5454

55-
#define MARLIN_HEX_VERSION 02010000
55+
#define MARLIN_HEX_VERSION 02010100
5656
#ifndef REQUIRED_CONFIGURATION_H_VERSION
5757
#define REQUIRED_CONFIGURATION_H_VERSION MARLIN_HEX_VERSION
5858
#endif

buildroot/share/git/mfconfig

+4-42
Original file line numberDiff line numberDiff line change
@@ -110,53 +110,15 @@ if [[ $ACTION == "init" ]]; then
110110
((COMMIT_STEPS)) && git add . >/dev/null && git commit -m "Commit for comparison" >/dev/null
111111

112112
# Init Cartesian/SCARA/TPARA configurations to default
113-
echo "- Initializing Cartesian/SCARA/TPARA configs to default state..."
113+
echo "- Initializing configs to default state..."
114114

115-
find "$CEXA" -name $BC ! -path */delta/* -print0 \
115+
find "$CEXA" -name $BC -print0 \
116116
| while read -d $'\0' F ; do cp "$CDEF/$BC" "$F" ; done
117-
find "$CEXA" -name $AC ! -path */delta/* -print0 \
117+
find "$CEXA" -name $AC -print0 \
118118
| while read -d $'\0' F ; do cp "$CDEF/$AC" "$F" ; done
119119

120120
# DEBUG: Commit the reset for review
121-
((COMMIT_STEPS)) && git add . >/dev/null && git commit -m "Reset Cartesian/SCARA/TPARA configs..." >/dev/null
122-
123-
# Create base Delta configurations
124-
cp "$CDEF"/* "$CEXA/delta/generic"
125-
126-
# DEBUG: Commit the reset for review
127-
((COMMIT_STEPS)) && git add . >/dev/null && git commit -m "Reset Generic Delta..." >/dev/null
128-
129-
cp -R "$TEMP/$CEXA/delta/generic"/Conf* "$CEXA/delta/generic"
130-
131-
# DEBUG: Commit Generic Delta changes for review
132-
((COMMIT_STEPS)) && git add . >/dev/null && git commit -m "Apply Generic Delta..." >/dev/null
133-
134-
# Reset all Delta configs to the generic version
135-
find "$CEXA/delta" -name $BC ! -path */generic/* -print0 \
136-
| while read -d $'\0' F ; do cp "$CEXA/delta/generic/$BC" "$F" ; done
137-
find "$CEXA/delta" -name $AC ! -path */generic/* -print0 \
138-
| while read -d $'\0' F ; do cp "$CEXA/delta/generic/$AC" "$F" ; done
139-
140-
# DEBUG: Commit the Delta reset for review
141-
((COMMIT_STEPS)) && git add . >/dev/null && git commit -m "Reset Delta configs..." >/dev/null
142-
143-
# Reset all SCARA configs to the default cartesian
144-
find "$CEXA/SCARA" -name $BC \
145-
| while read -d $'\0' F ; do cp "$CDEF/$BC" "$F" ; done
146-
find "$CEXA/SCARA" -name $AC \
147-
| while read -d $'\0' F ; do cp "$CDEF/$AC" "$F" ; done
148-
149-
# DEBUG: Commit the SCARA reset for review
150-
((COMMIT_STEPS)) && git add . >/dev/null && git commit -m "Reset SCARA..." >/dev/null
151-
152-
# Reset all TPARA configs to the default cartesian
153-
find "$CEXA/TPARA" -name $BC \
154-
| while read -d $'\0' F ; do cp "$CDEF/$BC" "$F" ; done
155-
find "$CEXA/TPARA" -name $AC \
156-
| while read -d $'\0' F ; do cp "$CDEF/$AC" "$F" ; done
157-
158-
# DEBUG: Commit the TPARA reset for review
159-
((COMMIT_STEPS)) && git add . >/dev/null && git commit -m "Reset TPARA..." >/dev/null
121+
((COMMIT_STEPS)) && git add . >/dev/null && git commit -m "Reset configs..." >/dev/null
160122

161123
# Update the %VERSION% in the README.md file
162124
VERS=$( echo $EXPORT | $SED 's/release-//' )

0 commit comments

Comments
 (0)