Scott Lahteine 1 rok temu
rodzic
commit
1497c40379

+ 162
- 15
Marlin/Configuration.h Wyświetl plik

35
  *
35
  *
36
  * Advanced settings can be found in Configuration_adv.h
36
  * Advanced settings can be found in Configuration_adv.h
37
  */
37
  */
38
-#define CONFIGURATION_H_VERSION 02010000
38
+#define CONFIGURATION_H_VERSION 02010100
39
 
39
 
40
 //===========================================================================
40
 //===========================================================================
41
 //============================= Getting Started =============================
41
 //============================= Getting Started =============================
57
  *                      https://www.thingiverse.com/thing:1278865
57
  *                      https://www.thingiverse.com/thing:1278865
58
  */
58
  */
59
 
59
 
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
-
69
 // @section info
60
 // @section info
70
 
61
 
71
 // Author info of this build printed to the host during boot and M115
62
 // Author info of this build printed to the host during boot and M115
865
   #define POLAR_SEGMENTS_PER_SECOND 5
856
   #define POLAR_SEGMENTS_PER_SECOND 5
866
 #endif
857
 #endif
867
 
858
 
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.
869
 //#define ARTICULATED_ROBOT_ARM
988
 //#define ARTICULATED_ROBOT_ARM
870
 
989
 
871
 // For a hot wire cutter with parallel horizontal axes (X, I) where the heights of the two wire
990
 // For a hot wire cutter with parallel horizontal axes (X, I) where the heights of the two wire
1239
  */
1358
  */
1240
 //#define SENSORLESS_PROBING
1359
 //#define SENSORLESS_PROBING
1241
 
1360
 
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
1245
 
1392
 
1246
 /**
1393
 /**
1247
  * Nozzle-to-Probe offsets { X, Y, Z }
1394
  * Nozzle-to-Probe offsets { X, Y, Z }
1816
 //#define LCD_BED_TRAMMING
1963
 //#define LCD_BED_TRAMMING
1817
 
1964
 
1818
 #if ENABLED(LCD_BED_TRAMMING)
1965
 #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
1820
   #define BED_TRAMMING_HEIGHT      0.0        // (mm) Z height of nozzle at leveling points
1967
   #define BED_TRAMMING_HEIGHT      0.0        // (mm) Z height of nozzle at leveling points
1821
   #define BED_TRAMMING_Z_HOP       4.0        // (mm) Z height of nozzle between leveling points
1968
   #define BED_TRAMMING_Z_HOP       4.0        // (mm) Z height of nozzle between leveling points
1822
   //#define BED_TRAMMING_INCLUDE_CENTER       // Move to the center after the last corner
1969
   //#define BED_TRAMMING_INCLUDE_CENTER       // Move to the center after the last corner

+ 1
- 1
Marlin/Configuration_adv.h Wyświetl plik

30
  *
30
  *
31
  * Basic settings can be found in Configuration.h
31
  * Basic settings can be found in Configuration.h
32
  */
32
  */
33
-#define CONFIGURATION_ADV_H_VERSION 02010000
33
+#define CONFIGURATION_ADV_H_VERSION 02010100
34
 
34
 
35
 //===========================================================================
35
 //===========================================================================
36
 //============================= Thermal Settings ============================
36
 //============================= Thermal Settings ============================

+ 1
- 1
Marlin/src/inc/Version.h Wyświetl plik

52
  * to alert users to major changes.
52
  * to alert users to major changes.
53
  */
53
  */
54
 
54
 
55
-#define MARLIN_HEX_VERSION 02010000
55
+#define MARLIN_HEX_VERSION 02010100
56
 #ifndef REQUIRED_CONFIGURATION_H_VERSION
56
 #ifndef REQUIRED_CONFIGURATION_H_VERSION
57
   #define REQUIRED_CONFIGURATION_H_VERSION MARLIN_HEX_VERSION
57
   #define REQUIRED_CONFIGURATION_H_VERSION MARLIN_HEX_VERSION
58
 #endif
58
 #endif

+ 4
- 42
buildroot/share/git/mfconfig Wyświetl plik

110
   ((COMMIT_STEPS)) && git add . >/dev/null && git commit -m "Commit for comparison" >/dev/null
110
   ((COMMIT_STEPS)) && git add . >/dev/null && git commit -m "Commit for comparison" >/dev/null
111
 
111
 
112
   # Init Cartesian/SCARA/TPARA configurations to default
112
   # Init Cartesian/SCARA/TPARA configurations to default
113
-  echo "- Initializing Cartesian/SCARA/TPARA configs to default state..."
113
+  echo "- Initializing configs to default state..."
114
 
114
 
115
-  find "$CEXA" -name $BC ! -path */delta/* -print0 \
115
+  find "$CEXA" -name $BC -print0 \
116
     | while read -d $'\0' F ; do cp "$CDEF/$BC" "$F" ; done
116
     | 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 \
118
     | while read -d $'\0' F ; do cp "$CDEF/$AC" "$F" ; done
118
     | while read -d $'\0' F ; do cp "$CDEF/$AC" "$F" ; done
119
 
119
 
120
   # DEBUG: Commit the reset for review
120
   # 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
160
 
122
 
161
   # Update the %VERSION% in the README.md file
123
   # Update the %VERSION% in the README.md file
162
   VERS=$( echo $EXPORT | $SED 's/release-//' )
124
   VERS=$( echo $EXPORT | $SED 's/release-//' )

Ładowanie…
Anuluj
Zapisz