Browse Source

Merge pull request #8412 from thinkyhead/bf1_mesh_test_pins

[1.1] Move test extrusion options under G26
Scott Lahteine 6 years ago
parent
commit
1962c13455
No account linked to committer's email address
69 changed files with 1369 additions and 1755 deletions
  1. 9
    46
      Marlin/Configuration.h
  2. 34
    0
      Marlin/Configuration_adv.h
  3. 4
    4
      Marlin/G26_Mesh_Validation_Tool.cpp
  4. 9
    46
      Marlin/example_configurations/AlephObjects/TAZ4/Configuration.h
  5. 34
    0
      Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h
  6. 9
    46
      Marlin/example_configurations/AliExpress/CL-260/Configuration.h
  7. 9
    46
      Marlin/example_configurations/Anet/A6/Configuration.h
  8. 34
    0
      Marlin/example_configurations/Anet/A6/Configuration_adv.h
  9. 9
    46
      Marlin/example_configurations/Anet/A8/Configuration.h
  10. 34
    0
      Marlin/example_configurations/Anet/A8/Configuration_adv.h
  11. 9
    46
      Marlin/example_configurations/BQ/Hephestos/Configuration.h
  12. 34
    0
      Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h
  13. 9
    46
      Marlin/example_configurations/BQ/Hephestos_2/Configuration.h
  14. 34
    0
      Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h
  15. 9
    46
      Marlin/example_configurations/BQ/WITBOX/Configuration.h
  16. 34
    0
      Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h
  17. 9
    46
      Marlin/example_configurations/Cartesio/Configuration.h
  18. 34
    0
      Marlin/example_configurations/Cartesio/Configuration_adv.h
  19. 9
    49
      Marlin/example_configurations/Creality/CR-10/Configuration.h
  20. 37
    0
      Marlin/example_configurations/Creality/CR-10/Configuration_adv.h
  21. 9
    46
      Marlin/example_configurations/Felix/Configuration.h
  22. 34
    0
      Marlin/example_configurations/Felix/Configuration_adv.h
  23. 9
    46
      Marlin/example_configurations/Felix/DUAL/Configuration.h
  24. 9
    46
      Marlin/example_configurations/FolgerTech/i3-2020/Configuration.h
  25. 34
    0
      Marlin/example_configurations/FolgerTech/i3-2020/Configuration_adv.h
  26. 9
    46
      Marlin/example_configurations/Geeetech/GT2560/Configuration.h
  27. 9
    46
      Marlin/example_configurations/Geeetech/I3_Pro_X-GT2560/Configuration.h
  28. 9
    46
      Marlin/example_configurations/Infitary/i3-M508/Configuration.h
  29. 34
    0
      Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h
  30. 9
    46
      Marlin/example_configurations/Malyan/M150/Configuration.h
  31. 34
    0
      Marlin/example_configurations/Malyan/M150/Configuration_adv.h
  32. 9
    46
      Marlin/example_configurations/Micromake/C1/basic/Configuration.h
  33. 9
    46
      Marlin/example_configurations/Micromake/C1/enhanced/Configuration.h
  34. 34
    0
      Marlin/example_configurations/Micromake/C1/enhanced/Configuration_adv.h
  35. 9
    46
      Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h
  36. 9
    46
      Marlin/example_configurations/RigidBot/Configuration.h
  37. 34
    0
      Marlin/example_configurations/RigidBot/Configuration_adv.h
  38. 9
    46
      Marlin/example_configurations/SCARA/Configuration.h
  39. 34
    0
      Marlin/example_configurations/SCARA/Configuration_adv.h
  40. 9
    46
      Marlin/example_configurations/Sanguinololu/Configuration.h
  41. 34
    0
      Marlin/example_configurations/Sanguinololu/Configuration_adv.h
  42. 9
    46
      Marlin/example_configurations/TinyBoy2/Configuration.h
  43. 34
    0
      Marlin/example_configurations/TinyBoy2/Configuration_adv.h
  44. 9
    46
      Marlin/example_configurations/Velleman/K8200/Configuration.h
  45. 34
    0
      Marlin/example_configurations/Velleman/K8200/Configuration_adv.h
  46. 9
    46
      Marlin/example_configurations/Velleman/K8400/Configuration.h
  47. 34
    0
      Marlin/example_configurations/Velleman/K8400/Configuration_adv.h
  48. 9
    46
      Marlin/example_configurations/Velleman/K8400/Dual-head/Configuration.h
  49. 9
    46
      Marlin/example_configurations/adafruit/ST7565/Configuration.h
  50. 9
    46
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h
  51. 34
    0
      Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h
  52. 9
    46
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h
  53. 34
    0
      Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h
  54. 9
    46
      Marlin/example_configurations/delta/generic/Configuration.h
  55. 34
    0
      Marlin/example_configurations/delta/generic/Configuration_adv.h
  56. 9
    46
      Marlin/example_configurations/delta/kossel_mini/Configuration.h
  57. 34
    0
      Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h
  58. 9
    46
      Marlin/example_configurations/delta/kossel_pro/Configuration.h
  59. 34
    0
      Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h
  60. 9
    46
      Marlin/example_configurations/delta/kossel_xl/Configuration.h
  61. 34
    0
      Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h
  62. 9
    46
      Marlin/example_configurations/gCreate/gMax1.5+/Configuration.h
  63. 34
    0
      Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h
  64. 9
    46
      Marlin/example_configurations/makibox/Configuration.h
  65. 34
    0
      Marlin/example_configurations/makibox/Configuration_adv.h
  66. 9
    46
      Marlin/example_configurations/tvrrug/Round2/Configuration.h
  67. 34
    0
      Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h
  68. 9
    46
      Marlin/example_configurations/wt150/Configuration.h
  69. 34
    0
      Marlin/example_configurations/wt150/Configuration_adv.h

+ 9
- 46
Marlin/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -954,6 +957,12 @@
954 957
   #define UBL_PROBE_PT_3_Y 20
955 958
 
956 959
   //#define UBL_G26_MESH_VALIDATION // Enable G26 mesh validation
960
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
961
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
962
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
963
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
964
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
965
+  #endif
957 966
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
958 967
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
959 968
 
@@ -1688,50 +1697,4 @@
1688 1697
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1689 1698
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1690 1699
 
1691
-/**
1692
- * Default extrusion settings
1693
- *
1694
- * These settings control basic extrusion from within the Marlin firmware.
1695
- *
1696
- */
1697
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1698
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1699
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1700
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1701
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1702
-
1703
-/**
1704
- * Filament Width Sensor
1705
- *
1706
- * Measures the filament width in real-time and adjusts
1707
- * flow rate to compensate for any irregularities.
1708
- *
1709
- * Also allows the measured filament diameter to set the
1710
- * extrusion rate, so the slicer only has to specify the
1711
- * volume.
1712
- *
1713
- * Only a single extruder is supported at this time.
1714
- *
1715
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1716
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1717
- * 301 RAMBO       : Analog input 3
1718
- *
1719
- * Note: May require analog pins to be defined for other boards.
1720
- */
1721
-//#define FILAMENT_WIDTH_SENSOR
1722
-
1723
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1724
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1725
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1726
-
1727
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1728
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1729
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1730
-
1731
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1732
-
1733
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1734
-  //#define FILAMENT_LCD_DISPLAY
1735
-#endif
1736
-
1737 1700
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/Configuration_adv.h View File

@@ -1267,6 +1267,40 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1290
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1291
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1292
+
1293
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1294
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1295
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1296
+
1297
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1298
+
1299
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1300
+  //#define FILAMENT_LCD_DISPLAY
1301
+#endif
1302
+
1303
+/**
1270 1304
  * CNC Coordinate Systems
1271 1305
  *
1272 1306
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 4
- 4
Marlin/G26_Mesh_Validation_Tool.cpp View File

@@ -619,12 +619,12 @@
619 619
 
620 620
     g26_extrusion_multiplier  = EXTRUSION_MULTIPLIER;
621 621
     g26_retraction_multiplier = RETRACTION_MULTIPLIER;
622
-    g26_nozzle                = DEFAULT_NOZZLE_SIZE;
622
+    g26_nozzle                = MESH_TEST_NOZZLE_SIZE;
623 623
     g26_filament_diameter     = DEFAULT_NOMINAL_FILAMENT_DIA;
624
-    g26_layer_height          = DEFAULT_LAYER_HEIGHT;
624
+    g26_layer_height          = MESH_TEST_LAYER_HEIGHT;
625 625
     g26_prime_length          = PRIME_LENGTH;
626
-    g26_bed_temp              = DEFAULT_BED_TEMP;
627
-    g26_hotend_temp           = DEFAULT_HOTEND_TEMP;
626
+    g26_bed_temp              = MESH_TEST_BED_TEMP;
627
+    g26_hotend_temp           = MESH_TEST_HOTEND_TEMP;
628 628
     g26_prime_flag            = 0;
629 629
 
630 630
     g26_ooze_amount           = parser.linearval('O', OOZE_AMOUNT);

+ 9
- 46
Marlin/example_configurations/AlephObjects/TAZ4/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -974,6 +977,12 @@
974 977
   #define UBL_PROBE_PT_3_Y 20
975 978
 
976 979
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
980
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
981
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
982
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
983
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
984
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
985
+  #endif
977 986
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
978 987
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
979 988
 
@@ -1708,50 +1717,4 @@
1708 1717
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1709 1718
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1710 1719
 
1711
-/**
1712
- * Default extrusion settings
1713
- *
1714
- * These settings control basic extrusion from within the Marlin firmware.
1715
- *
1716
- */
1717
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1718
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1719
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1720
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1721
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1722
-
1723
-/**
1724
- * Filament Width Sensor
1725
- *
1726
- * Measures the filament width in real-time and adjusts
1727
- * flow rate to compensate for any irregularities.
1728
- *
1729
- * Also allows the measured filament diameter to set the
1730
- * extrusion rate, so the slicer only has to specify the
1731
- * volume.
1732
- *
1733
- * Only a single extruder is supported at this time.
1734
- *
1735
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1736
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1737
- * 301 RAMBO       : Analog input 3
1738
- *
1739
- * Note: May require analog pins to be defined for other boards.
1740
- */
1741
-//#define FILAMENT_WIDTH_SENSOR
1742
-
1743
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1744
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1745
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1746
-
1747
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1748
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1749
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1750
-
1751
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1752
-
1753
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1754
-  //#define FILAMENT_LCD_DISPLAY
1755
-#endif
1756
-
1757 1720
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/AlephObjects/TAZ4/Configuration_adv.h View File

@@ -1267,6 +1267,40 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1290
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1291
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1292
+
1293
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1294
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1295
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1296
+
1297
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1298
+
1299
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1300
+  //#define FILAMENT_LCD_DISPLAY
1301
+#endif
1302
+
1303
+/**
1270 1304
  * CNC Coordinate Systems
1271 1305
  *
1272 1306
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/AliExpress/CL-260/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -954,6 +957,12 @@
954 957
   #define UBL_PROBE_PT_3_Y 20
955 958
 
956 959
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
960
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
961
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
962
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
963
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
964
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
965
+  #endif
957 966
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
958 967
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
959 968
 
@@ -1688,50 +1697,4 @@
1688 1697
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1689 1698
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1690 1699
 
1691
-/**
1692
- * Default extrusion settings
1693
- *
1694
- * These settings control basic extrusion from within the Marlin firmware.
1695
- *
1696
- */
1697
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1698
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1699
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1700
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1701
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1702
-
1703
-/**
1704
- * Filament Width Sensor
1705
- *
1706
- * Measures the filament width in real-time and adjusts
1707
- * flow rate to compensate for any irregularities.
1708
- *
1709
- * Also allows the measured filament diameter to set the
1710
- * extrusion rate, so the slicer only has to specify the
1711
- * volume.
1712
- *
1713
- * Only a single extruder is supported at this time.
1714
- *
1715
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1716
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1717
- * 301 RAMBO       : Analog input 3
1718
- *
1719
- * Note: May require analog pins to be defined for other boards.
1720
- */
1721
-//#define FILAMENT_WIDTH_SENSOR
1722
-
1723
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1724
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1725
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1726
-
1727
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1728
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1729
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1730
-
1731
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1732
-
1733
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1734
-  //#define FILAMENT_LCD_DISPLAY
1735
-#endif
1736
-
1737 1700
 #endif // CONFIGURATION_H

+ 9
- 46
Marlin/example_configurations/Anet/A6/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -1097,6 +1100,12 @@
1097 1100
   #define UBL_PROBE_PT_3_Y 20
1098 1101
 
1099 1102
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
1103
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
1104
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
1105
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
1106
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
1107
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
1108
+  #endif
1100 1109
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1101 1110
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1102 1111
 
@@ -1847,50 +1856,4 @@
1847 1856
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1848 1857
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1849 1858
 
1850
-/**
1851
- * Default extrusion settings
1852
- *
1853
- * These settings control basic extrusion from within the Marlin firmware.
1854
- *
1855
- */
1856
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1857
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1858
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1859
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1860
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1861
-
1862
-/**
1863
- * Filament Width Sensor
1864
- *
1865
- * Measures the filament width in real-time and adjusts
1866
- * flow rate to compensate for any irregularities.
1867
- *
1868
- * Also allows the measured filament diameter to set the
1869
- * extrusion rate, so the slicer only has to specify the
1870
- * volume.
1871
- *
1872
- * Only a single extruder is supported at this time.
1873
- *
1874
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1875
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1876
- * 301 RAMBO       : Analog input 3
1877
- *
1878
- * Note: May require analog pins to be defined for other boards.
1879
- */
1880
-//#define FILAMENT_WIDTH_SENSOR
1881
-
1882
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1883
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1884
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1885
-
1886
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1887
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1888
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1889
-
1890
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1891
-
1892
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1893
-  //#define FILAMENT_LCD_DISPLAY
1894
-#endif
1895
-
1896 1859
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/Anet/A6/Configuration_adv.h View File

@@ -1267,6 +1267,40 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1290
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1291
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1292
+
1293
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1294
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1295
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1296
+
1297
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1298
+
1299
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1300
+  //#define FILAMENT_LCD_DISPLAY
1301
+#endif
1302
+
1303
+/**
1270 1304
  * CNC Coordinate Systems
1271 1305
  *
1272 1306
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/Anet/A8/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -960,6 +963,12 @@
960 963
   #define UBL_PROBE_PT_3_Y 20
961 964
 
962 965
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
966
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
967
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
968
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
969
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
970
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
971
+  #endif
963 972
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
964 973
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
965 974
 
@@ -1696,50 +1705,4 @@
1696 1705
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1697 1706
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1698 1707
 
1699
-/**
1700
- * Default extrusion settings
1701
- *
1702
- * These settings control basic extrusion from within the Marlin firmware.
1703
- *
1704
- */
1705
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1706
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1707
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1708
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1709
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1710
-
1711
-/**
1712
- * Filament Width Sensor
1713
- *
1714
- * Measures the filament width in real-time and adjusts
1715
- * flow rate to compensate for any irregularities.
1716
- *
1717
- * Also allows the measured filament diameter to set the
1718
- * extrusion rate, so the slicer only has to specify the
1719
- * volume.
1720
- *
1721
- * Only a single extruder is supported at this time.
1722
- *
1723
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1724
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1725
- * 301 RAMBO       : Analog input 3
1726
- *
1727
- * Note: May require analog pins to be defined for other boards.
1728
- */
1729
-//#define FILAMENT_WIDTH_SENSOR
1730
-
1731
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1732
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1733
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1734
-
1735
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1736
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1737
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1738
-
1739
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1740
-
1741
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1742
-  //#define FILAMENT_LCD_DISPLAY
1743
-#endif
1744
-
1745 1708
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/Anet/A8/Configuration_adv.h View File

@@ -1267,6 +1267,40 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1290
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1291
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1292
+
1293
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1294
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1295
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1296
+
1297
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1298
+
1299
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1300
+  //#define FILAMENT_LCD_DISPLAY
1301
+#endif
1302
+
1303
+/**
1270 1304
  * CNC Coordinate Systems
1271 1305
  *
1272 1306
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/BQ/Hephestos/Configuration.h View File

@@ -139,6 +139,9 @@
139 139
 // :[1, 2, 3, 4, 5]
140 140
 #define EXTRUDERS 1
141 141
 
142
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
143
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
144
+
142 145
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
143 146
 //#define SINGLENOZZLE
144 147
 
@@ -945,6 +948,12 @@
945 948
   #define UBL_PROBE_PT_3_Y 20
946 949
 
947 950
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
951
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
952
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
953
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
954
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
955
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
956
+  #endif
948 957
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
949 958
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
950 959
 
@@ -1679,50 +1688,4 @@
1679 1688
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1680 1689
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1681 1690
 
1682
-/**
1683
- * Default extrusion settings
1684
- *
1685
- * These settings control basic extrusion from within the Marlin firmware.
1686
- *
1687
- */
1688
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1689
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1690
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1691
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1692
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1693
-
1694
-/**
1695
- * Filament Width Sensor
1696
- *
1697
- * Measures the filament width in real-time and adjusts
1698
- * flow rate to compensate for any irregularities.
1699
- *
1700
- * Also allows the measured filament diameter to set the
1701
- * extrusion rate, so the slicer only has to specify the
1702
- * volume.
1703
- *
1704
- * Only a single extruder is supported at this time.
1705
- *
1706
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1707
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1708
- * 301 RAMBO       : Analog input 3
1709
- *
1710
- * Note: May require analog pins to be defined for other boards.
1711
- */
1712
-//#define FILAMENT_WIDTH_SENSOR
1713
-
1714
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1715
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1716
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1717
-
1718
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1719
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1720
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1721
-
1722
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1723
-
1724
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1725
-  //#define FILAMENT_LCD_DISPLAY
1726
-#endif
1727
-
1728 1691
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/BQ/Hephestos/Configuration_adv.h View File

@@ -1267,6 +1267,40 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1290
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1291
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1292
+
1293
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1294
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1295
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1296
+
1297
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1298
+
1299
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1300
+  //#define FILAMENT_LCD_DISPLAY
1301
+#endif
1302
+
1303
+/**
1270 1304
  * CNC Coordinate Systems
1271 1305
  *
1272 1306
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/BQ/Hephestos_2/Configuration.h View File

@@ -135,6 +135,9 @@
135 135
 // :[1, 2, 3, 4, 5]
136 136
 #define EXTRUDERS 1
137 137
 
138
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
139
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
140
+
138 141
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
139 142
 //#define SINGLENOZZLE
140 143
 
@@ -955,6 +958,12 @@
955 958
   #define UBL_PROBE_PT_3_Y 20
956 959
 
957 960
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
961
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
962
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
963
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
964
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
965
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
966
+  #endif
958 967
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
959 968
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
960 969
 
@@ -1689,50 +1698,4 @@
1689 1698
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1690 1699
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1691 1700
 
1692
-/**
1693
- * Default extrusion settings
1694
- *
1695
- * These settings control basic extrusion from within the Marlin firmware.
1696
- *
1697
- */
1698
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1699
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1700
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1701
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1702
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1703
-
1704
-/**
1705
- * Filament Width Sensor
1706
- *
1707
- * Measures the filament width in real-time and adjusts
1708
- * flow rate to compensate for any irregularities.
1709
- *
1710
- * Also allows the measured filament diameter to set the
1711
- * extrusion rate, so the slicer only has to specify the
1712
- * volume.
1713
- *
1714
- * Only a single extruder is supported at this time.
1715
- *
1716
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1717
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1718
- * 301 RAMBO       : Analog input 3
1719
- *
1720
- * Note: May require analog pins to be defined for other boards.
1721
- */
1722
-//#define FILAMENT_WIDTH_SENSOR
1723
-
1724
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1725
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1726
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1727
-
1728
-  #define MEASURED_UPPER_LIMIT         2.00 // (mm) Upper limit used to validate sensor reading
1729
-  #define MEASURED_LOWER_LIMIT         1.60 // (mm) Lower limit used to validate sensor reading
1730
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1731
-
1732
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1733
-
1734
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1735
-  //#define FILAMENT_LCD_DISPLAY
1736
-#endif
1737
-
1738 1701
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/BQ/Hephestos_2/Configuration_adv.h View File

@@ -1264,6 +1264,40 @@
1264 1264
 #endif
1265 1265
 
1266 1266
 /**
1267
+ * Filament Width Sensor
1268
+ *
1269
+ * Measures the filament width in real-time and adjusts
1270
+ * flow rate to compensate for any irregularities.
1271
+ *
1272
+ * Also allows the measured filament diameter to set the
1273
+ * extrusion rate, so the slicer only has to specify the
1274
+ * volume.
1275
+ *
1276
+ * Only a single extruder is supported at this time.
1277
+ *
1278
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1279
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1280
+ * 301 RAMBO       : Analog input 3
1281
+ *
1282
+ * Note: May require analog pins to be defined for other boards.
1283
+ */
1284
+//#define FILAMENT_WIDTH_SENSOR
1285
+
1286
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1287
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1288
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1289
+
1290
+  #define MEASURED_UPPER_LIMIT         2.00 // (mm) Upper limit used to validate sensor reading
1291
+  #define MEASURED_LOWER_LIMIT         1.60 // (mm) Lower limit used to validate sensor reading
1292
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1293
+
1294
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1295
+
1296
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1297
+  //#define FILAMENT_LCD_DISPLAY
1298
+#endif
1299
+
1300
+/**
1267 1301
  * CNC Coordinate Systems
1268 1302
  *
1269 1303
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/BQ/WITBOX/Configuration.h View File

@@ -139,6 +139,9 @@
139 139
 // :[1, 2, 3, 4, 5]
140 140
 #define EXTRUDERS 1
141 141
 
142
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
143
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
144
+
142 145
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
143 146
 //#define SINGLENOZZLE
144 147
 
@@ -945,6 +948,12 @@
945 948
   #define UBL_PROBE_PT_3_Y 20
946 949
 
947 950
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
951
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
952
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
953
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
954
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
955
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
956
+  #endif
948 957
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
949 958
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
950 959
 
@@ -1679,50 +1688,4 @@
1679 1688
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1680 1689
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1681 1690
 
1682
-/**
1683
- * Default extrusion settings
1684
- *
1685
- * These settings control basic extrusion from within the Marlin firmware.
1686
- *
1687
- */
1688
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1689
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1690
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1691
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1692
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1693
-
1694
-/**
1695
- * Filament Width Sensor
1696
- *
1697
- * Measures the filament width in real-time and adjusts
1698
- * flow rate to compensate for any irregularities.
1699
- *
1700
- * Also allows the measured filament diameter to set the
1701
- * extrusion rate, so the slicer only has to specify the
1702
- * volume.
1703
- *
1704
- * Only a single extruder is supported at this time.
1705
- *
1706
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1707
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1708
- * 301 RAMBO       : Analog input 3
1709
- *
1710
- * Note: May require analog pins to be defined for other boards.
1711
- */
1712
-//#define FILAMENT_WIDTH_SENSOR
1713
-
1714
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1715
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1716
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1717
-
1718
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1719
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1720
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1721
-
1722
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1723
-
1724
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1725
-  //#define FILAMENT_LCD_DISPLAY
1726
-#endif
1727
-
1728 1691
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/BQ/WITBOX/Configuration_adv.h View File

@@ -1267,6 +1267,40 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1290
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1291
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1292
+
1293
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1294
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1295
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1296
+
1297
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1298
+
1299
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1300
+  //#define FILAMENT_LCD_DISPLAY
1301
+#endif
1302
+
1303
+/**
1270 1304
  * CNC Coordinate Systems
1271 1305
  *
1272 1306
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/Cartesio/Configuration.h View File

@@ -137,6 +137,9 @@
137 137
 // :[1, 2, 3, 4, 5]
138 138
 #define EXTRUDERS 3
139 139
 
140
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
141
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
142
+
140 143
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
141 144
 //#define SINGLENOZZLE
142 145
 
@@ -953,6 +956,12 @@
953 956
   #define UBL_PROBE_PT_3_Y 20
954 957
 
955 958
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
959
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
960
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
961
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
962
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
963
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
964
+  #endif
956 965
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
957 966
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
958 967
 
@@ -1687,50 +1696,4 @@
1687 1696
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1688 1697
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1689 1698
 
1690
-/**
1691
- * Default extrusion settings
1692
- *
1693
- * These settings control basic extrusion from within the Marlin firmware.
1694
- *
1695
- */
1696
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1697
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1698
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1699
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1700
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1701
-
1702
-/**
1703
- * Filament Width Sensor
1704
- *
1705
- * Measures the filament width in real-time and adjusts
1706
- * flow rate to compensate for any irregularities.
1707
- *
1708
- * Also allows the measured filament diameter to set the
1709
- * extrusion rate, so the slicer only has to specify the
1710
- * volume.
1711
- *
1712
- * Only a single extruder is supported at this time.
1713
- *
1714
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1715
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1716
- * 301 RAMBO       : Analog input 3
1717
- *
1718
- * Note: May require analog pins to be defined for other boards.
1719
- */
1720
-//#define FILAMENT_WIDTH_SENSOR
1721
-
1722
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1723
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1724
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1725
-
1726
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1727
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1728
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1729
-
1730
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1731
-
1732
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1733
-  //#define FILAMENT_LCD_DISPLAY
1734
-#endif
1735
-
1736 1699
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/Cartesio/Configuration_adv.h View File

@@ -1267,6 +1267,40 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1290
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1291
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1292
+
1293
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1294
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1295
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1296
+
1297
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1298
+
1299
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1300
+  //#define FILAMENT_LCD_DISPLAY
1301
+#endif
1302
+
1303
+/**
1270 1304
  * CNC Coordinate Systems
1271 1305
  *
1272 1306
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 49
Marlin/example_configurations/Creality/CR-10/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -964,6 +967,12 @@
964 967
   #define UBL_PROBE_PT_3_Y 20
965 968
 
966 969
   //#define UBL_G26_MESH_VALIDATION // Enable G26 mesh validation
970
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
971
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
972
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
973
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
974
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
975
+  #endif
967 976
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
968 977
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
969 978
 
@@ -1698,53 +1707,4 @@
1698 1707
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1699 1708
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1700 1709
 
1701
-/**
1702
- * Default extrusion settings
1703
- *
1704
- * These settings control basic extrusion from within the Marlin firmware.
1705
- *
1706
- */
1707
-#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1708
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1709
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1710
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1711
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1712
-
1713
-/**
1714
- * Filament Width Sensor
1715
- *
1716
- * Measures the filament width in real-time and adjusts
1717
- * flow rate to compensate for any irregularities.
1718
- *
1719
- * Also allows the measured filament diameter to set the
1720
- * extrusion rate, so the slicer only has to specify the
1721
- * volume.
1722
- *
1723
- * Only a single extruder is supported at this time.
1724
- *
1725
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1726
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1727
- * 301 RAMBO       : Analog input 3
1728
- *
1729
- * Note: May require analog pins to be defined for other boards.
1730
- */
1731
-//#define FILAMENT_WIDTH_SENSOR
1732
-
1733
-#define DEFAULT_STDDEV_FILAMENT_DIA 0.05    // Typical estimate for cheap filament
1734
-//#define DEFAULT_STDDEV_FILAMENT_DIA 0.02  // Typical advertised for higher quality filament
1735
-
1736
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1737
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1738
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1739
-
1740
-  #define MEASURED_UPPER_LIMIT        (DEFAULT_NOMINAL_FILAMENT_DIA+4*DEFAULT_STDDEV_FILAMENT_DIA) // (mm) Upper limit used to validate sensor reading
1741
-  #define MEASURED_LOWER_LIMIT        (DEFAULT_NOMINAL_FILAMENT_DIA-4*DEFAULT_STDDEV_FILAMENT_DIA) // (mm) Lower limit used to validate sensor reading
1742
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1743
-
1744
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1745
-
1746
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1747
-  //#define FILAMENT_LCD_DISPLAY
1748
-#endif
1749
-
1750 1710
 #endif // CONFIGURATION_H

+ 37
- 0
Marlin/example_configurations/Creality/CR-10/Configuration_adv.h View File

@@ -1267,6 +1267,43 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#define DEFAULT_STDDEV_FILAMENT_DIA 0.05    // Typical estimate for cheap filament
1290
+//#define DEFAULT_STDDEV_FILAMENT_DIA 0.02  // Typical advertised for higher quality filament
1291
+
1292
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1293
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1294
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1295
+
1296
+  #define MEASURED_UPPER_LIMIT        (DEFAULT_NOMINAL_FILAMENT_DIA+4*DEFAULT_STDDEV_FILAMENT_DIA) // (mm) Upper limit used to validate sensor reading
1297
+  #define MEASURED_LOWER_LIMIT        (DEFAULT_NOMINAL_FILAMENT_DIA-4*DEFAULT_STDDEV_FILAMENT_DIA) // (mm) Lower limit used to validate sensor reading
1298
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1299
+
1300
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1301
+
1302
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1303
+  //#define FILAMENT_LCD_DISPLAY
1304
+#endif
1305
+
1306
+/**
1270 1307
  * CNC Coordinate Systems
1271 1308
  *
1272 1309
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/Felix/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -936,6 +939,12 @@
936 939
   #define UBL_PROBE_PT_3_Y 20
937 940
 
938 941
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
942
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
943
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
944
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
945
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
946
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
947
+  #endif
939 948
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
940 949
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
941 950
 
@@ -1670,50 +1679,4 @@
1670 1679
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1671 1680
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1672 1681
 
1673
-/**
1674
- * Default extrusion settings
1675
- *
1676
- * These settings control basic extrusion from within the Marlin firmware.
1677
- *
1678
- */
1679
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1680
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1681
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1682
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1683
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1684
-
1685
-/**
1686
- * Filament Width Sensor
1687
- *
1688
- * Measures the filament width in real-time and adjusts
1689
- * flow rate to compensate for any irregularities.
1690
- *
1691
- * Also allows the measured filament diameter to set the
1692
- * extrusion rate, so the slicer only has to specify the
1693
- * volume.
1694
- *
1695
- * Only a single extruder is supported at this time.
1696
- *
1697
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1698
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1699
- * 301 RAMBO       : Analog input 3
1700
- *
1701
- * Note: May require analog pins to be defined for other boards.
1702
- */
1703
-//#define FILAMENT_WIDTH_SENSOR
1704
-
1705
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1706
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1707
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1708
-
1709
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1710
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1711
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1712
-
1713
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1714
-
1715
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1716
-  //#define FILAMENT_LCD_DISPLAY
1717
-#endif
1718
-
1719 1682
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/Felix/Configuration_adv.h View File

@@ -1267,6 +1267,40 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1290
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1291
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1292
+
1293
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1294
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1295
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1296
+
1297
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1298
+
1299
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1300
+  //#define FILAMENT_LCD_DISPLAY
1301
+#endif
1302
+
1303
+/**
1270 1304
  * CNC Coordinate Systems
1271 1305
  *
1272 1306
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/Felix/DUAL/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 2
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -936,6 +939,12 @@
936 939
   #define UBL_PROBE_PT_3_Y 20
937 940
 
938 941
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
942
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
943
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
944
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
945
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
946
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
947
+  #endif
939 948
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
940 949
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
941 950
 
@@ -1670,50 +1679,4 @@
1670 1679
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1671 1680
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1672 1681
 
1673
-/**
1674
- * Default extrusion settings
1675
- *
1676
- * These settings control basic extrusion from within the Marlin firmware.
1677
- *
1678
- */
1679
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1680
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1681
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1682
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1683
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1684
-
1685
-/**
1686
- * Filament Width Sensor
1687
- *
1688
- * Measures the filament width in real-time and adjusts
1689
- * flow rate to compensate for any irregularities.
1690
- *
1691
- * Also allows the measured filament diameter to set the
1692
- * extrusion rate, so the slicer only has to specify the
1693
- * volume.
1694
- *
1695
- * Only a single extruder is supported at this time.
1696
- *
1697
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1698
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1699
- * 301 RAMBO       : Analog input 3
1700
- *
1701
- * Note: May require analog pins to be defined for other boards.
1702
- */
1703
-//#define FILAMENT_WIDTH_SENSOR
1704
-
1705
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1706
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1707
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1708
-
1709
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1710
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1711
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1712
-
1713
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1714
-
1715
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1716
-  //#define FILAMENT_LCD_DISPLAY
1717
-#endif
1718
-
1719 1682
 #endif // CONFIGURATION_H

+ 9
- 46
Marlin/example_configurations/FolgerTech/i3-2020/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -959,6 +962,12 @@
959 962
   #define UBL_PROBE_PT_3_Y 25
960 963
 
961 964
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
965
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
966
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
967
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
968
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
969
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
970
+  #endif
962 971
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
963 972
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
964 973
 
@@ -1693,50 +1702,4 @@
1693 1702
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1694 1703
 #define DEACTIVATE_SERVOS_AFTER_MOVE
1695 1704
 
1696
-/**
1697
- * Default extrusion settings
1698
- *
1699
- * These settings control basic extrusion from within the Marlin firmware.
1700
- *
1701
- */
1702
-#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1703
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1704
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1705
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1706
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1707
-
1708
-/**
1709
- * Filament Width Sensor
1710
- *
1711
- * Measures the filament width in real-time and adjusts
1712
- * flow rate to compensate for any irregularities.
1713
- *
1714
- * Also allows the measured filament diameter to set the
1715
- * extrusion rate, so the slicer only has to specify the
1716
- * volume.
1717
- *
1718
- * Only a single extruder is supported at this time.
1719
- *
1720
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1721
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1722
- * 301 RAMBO       : Analog input 3
1723
- *
1724
- * Note: May require analog pins to be defined for other boards.
1725
- */
1726
-//#define FILAMENT_WIDTH_SENSOR
1727
-
1728
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1729
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1730
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1731
-
1732
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1733
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1734
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1735
-
1736
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1737
-
1738
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1739
-  //#define FILAMENT_LCD_DISPLAY
1740
-#endif
1741
-
1742 1705
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/FolgerTech/i3-2020/Configuration_adv.h View File

@@ -1267,6 +1267,40 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1290
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1291
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1292
+
1293
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1294
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1295
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1296
+
1297
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1298
+
1299
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1300
+  //#define FILAMENT_LCD_DISPLAY
1301
+#endif
1302
+
1303
+/**
1270 1304
  * CNC Coordinate Systems
1271 1305
  *
1272 1306
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/Geeetech/GT2560/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -969,6 +972,12 @@
969 972
   #define UBL_PROBE_PT_3_Y 20
970 973
 
971 974
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
975
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
976
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
977
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
978
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
979
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
980
+  #endif
972 981
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
973 982
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
974 983
 
@@ -1704,52 +1713,6 @@
1704 1713
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1705 1714
 
1706 1715
 /**
1707
- * Default extrusion settings
1708
- *
1709
- * These settings control basic extrusion from within the Marlin firmware.
1710
- *
1711
- */
1712
-#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1713
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1714
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1715
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1716
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1717
-
1718
-/**
1719
- * Filament Width Sensor
1720
- *
1721
- * Measures the filament width in real-time and adjusts
1722
- * flow rate to compensate for any irregularities.
1723
- *
1724
- * Also allows the measured filament diameter to set the
1725
- * extrusion rate, so the slicer only has to specify the
1726
- * volume.
1727
- *
1728
- * Only a single extruder is supported at this time.
1729
- *
1730
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1731
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1732
- * 301 RAMBO       : Analog input 3
1733
- *
1734
- * Note: May require analog pins to be defined for other boards.
1735
- */
1736
-//#define FILAMENT_WIDTH_SENSOR
1737
-
1738
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1739
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1740
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1741
-
1742
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1743
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1744
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1745
-
1746
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1747
-
1748
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1749
-  //#define FILAMENT_LCD_DISPLAY
1750
-#endif
1751
-
1752
-/**
1753 1716
  * Customize common displays for GT2560
1754 1717
  */
1755 1718
 #if ENABLED(ULTIMAKERCONTROLLER) || ENABLED(REPRAP_DISCOUNT_SMART_CONTROLLER) || ENABLED(G3D_PANEL) || ENABLED(MKS_MINI_12864)

+ 9
- 46
Marlin/example_configurations/Geeetech/I3_Pro_X-GT2560/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -954,6 +957,12 @@
954 957
   #define UBL_PROBE_PT_3_Y 20
955 958
 
956 959
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
960
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
961
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
962
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
963
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
964
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
965
+  #endif
957 966
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
958 967
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
959 968
 
@@ -1688,50 +1697,4 @@
1688 1697
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1689 1698
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1690 1699
 
1691
-/**
1692
- * Default extrusion settings
1693
- *
1694
- * These settings control basic extrusion from within the Marlin firmware.
1695
- *
1696
- */
1697
-#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1698
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1699
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1700
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1701
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1702
-
1703
-/**
1704
- * Filament Width Sensor
1705
- *
1706
- * Measures the filament width in real-time and adjusts
1707
- * flow rate to compensate for any irregularities.
1708
- *
1709
- * Also allows the measured filament diameter to set the
1710
- * extrusion rate, so the slicer only has to specify the
1711
- * volume.
1712
- *
1713
- * Only a single extruder is supported at this time.
1714
- *
1715
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1716
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1717
- * 301 RAMBO       : Analog input 3
1718
- *
1719
- * Note: May require analog pins to be defined for other boards.
1720
- */
1721
-//#define FILAMENT_WIDTH_SENSOR
1722
-
1723
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1724
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1725
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1726
-
1727
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1728
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1729
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1730
-
1731
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1732
-
1733
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1734
-  //#define FILAMENT_LCD_DISPLAY
1735
-#endif
1736
-
1737 1700
 #endif // CONFIGURATION_H

+ 9
- 46
Marlin/example_configurations/Infitary/i3-M508/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -958,6 +961,12 @@
958 961
   #define UBL_PROBE_PT_3_Y 20
959 962
 
960 963
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
964
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
965
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
966
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
967
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
968
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
969
+  #endif
961 970
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
962 971
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
963 972
 
@@ -1692,50 +1701,4 @@
1692 1701
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1693 1702
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1694 1703
 
1695
-/**
1696
- * Default extrusion settings
1697
- *
1698
- * These settings control basic extrusion from within the Marlin firmware.
1699
- *
1700
- */
1701
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1702
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1703
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1704
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1705
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1706
-
1707
-/**
1708
- * Filament Width Sensor
1709
- *
1710
- * Measures the filament width in real-time and adjusts
1711
- * flow rate to compensate for any irregularities.
1712
- *
1713
- * Also allows the measured filament diameter to set the
1714
- * extrusion rate, so the slicer only has to specify the
1715
- * volume.
1716
- *
1717
- * Only a single extruder is supported at this time.
1718
- *
1719
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1720
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1721
- * 301 RAMBO       : Analog input 3
1722
- *
1723
- * Note: May require analog pins to be defined for other boards.
1724
- */
1725
-//#define FILAMENT_WIDTH_SENSOR
1726
-
1727
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1728
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1729
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1730
-
1731
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1732
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1733
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1734
-
1735
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1736
-
1737
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1738
-  //#define FILAMENT_LCD_DISPLAY
1739
-#endif
1740
-
1741 1704
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/Infitary/i3-M508/Configuration_adv.h View File

@@ -1267,6 +1267,40 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1290
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1291
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1292
+
1293
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1294
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1295
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1296
+
1297
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1298
+
1299
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1300
+  //#define FILAMENT_LCD_DISPLAY
1301
+#endif
1302
+
1303
+/**
1270 1304
  * CNC Coordinate Systems
1271 1305
  *
1272 1306
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/Malyan/M150/Configuration.h View File

@@ -141,6 +141,9 @@
141 141
 // :[1, 2, 3, 4, 5]
142 142
 #define EXTRUDERS 1
143 143
 
144
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
145
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
146
+
144 147
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
145 148
 //#define SINGLENOZZLE
146 149
 
@@ -982,6 +985,12 @@
982 985
   #define UBL_PROBE_PT_3_Y 20
983 986
 
984 987
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
988
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
989
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
990
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
991
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
992
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
993
+  #endif
985 994
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
986 995
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
987 996
 
@@ -1716,50 +1725,4 @@
1716 1725
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1717 1726
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1718 1727
 
1719
-/**
1720
- * Default extrusion settings
1721
- *
1722
- * These settings control basic extrusion from within the Marlin firmware.
1723
- *
1724
- */
1725
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1726
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1727
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1728
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1729
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1730
-
1731
-/**
1732
- * Filament Width Sensor
1733
- *
1734
- * Measures the filament width in real-time and adjusts
1735
- * flow rate to compensate for any irregularities.
1736
- *
1737
- * Also allows the measured filament diameter to set the
1738
- * extrusion rate, so the slicer only has to specify the
1739
- * volume.
1740
- *
1741
- * Only a single extruder is supported at this time.
1742
- *
1743
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1744
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1745
- * 301 RAMBO       : Analog input 3
1746
- *
1747
- * Note: May require analog pins to be defined for other boards.
1748
- */
1749
-//#define FILAMENT_WIDTH_SENSOR
1750
-
1751
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1752
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1753
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1754
-
1755
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1756
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1757
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1758
-
1759
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1760
-
1761
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1762
-  //#define FILAMENT_LCD_DISPLAY
1763
-#endif
1764
-
1765 1728
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/Malyan/M150/Configuration_adv.h View File

@@ -1264,6 +1264,40 @@
1264 1264
 #endif
1265 1265
 
1266 1266
 /**
1267
+ * Filament Width Sensor
1268
+ *
1269
+ * Measures the filament width in real-time and adjusts
1270
+ * flow rate to compensate for any irregularities.
1271
+ *
1272
+ * Also allows the measured filament diameter to set the
1273
+ * extrusion rate, so the slicer only has to specify the
1274
+ * volume.
1275
+ *
1276
+ * Only a single extruder is supported at this time.
1277
+ *
1278
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1279
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1280
+ * 301 RAMBO       : Analog input 3
1281
+ *
1282
+ * Note: May require analog pins to be defined for other boards.
1283
+ */
1284
+//#define FILAMENT_WIDTH_SENSOR
1285
+
1286
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1287
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1288
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1289
+
1290
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1291
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1292
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1293
+
1294
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1295
+
1296
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1297
+  //#define FILAMENT_LCD_DISPLAY
1298
+#endif
1299
+
1300
+/**
1267 1301
  * CNC Coordinate Systems
1268 1302
  *
1269 1303
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/Micromake/C1/basic/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -958,6 +961,12 @@
958 961
   #define UBL_PROBE_PT_3_Y 20
959 962
 
960 963
   //#define UBL_G26_MESH_VALIDATION // Enable G26 mesh validation
964
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
965
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
966
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
967
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
968
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
969
+  #endif
961 970
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
962 971
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
963 972
 
@@ -1692,50 +1701,4 @@
1692 1701
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1693 1702
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1694 1703
 
1695
-/**
1696
- * Default extrusion settings
1697
- *
1698
- * These settings control basic extrusion from within the Marlin firmware.
1699
- *
1700
- */
1701
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1702
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1703
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1704
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1705
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1706
-
1707
-/**
1708
- * Filament Width Sensor
1709
- *
1710
- * Measures the filament width in real-time and adjusts
1711
- * flow rate to compensate for any irregularities.
1712
- *
1713
- * Also allows the measured filament diameter to set the
1714
- * extrusion rate, so the slicer only has to specify the
1715
- * volume.
1716
- *
1717
- * Only a single extruder is supported at this time.
1718
- *
1719
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1720
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1721
- * 301 RAMBO       : Analog input 3
1722
- *
1723
- * Note: May require analog pins to be defined for other boards.
1724
- */
1725
-//#define FILAMENT_WIDTH_SENSOR
1726
-
1727
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1728
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1729
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1730
-
1731
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1732
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1733
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1734
-
1735
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1736
-
1737
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1738
-  //#define FILAMENT_LCD_DISPLAY
1739
-#endif
1740
-
1741 1704
 #endif // CONFIGURATION_H

+ 9
- 46
Marlin/example_configurations/Micromake/C1/enhanced/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -958,6 +961,12 @@
958 961
   #define UBL_PROBE_PT_3_Y 20
959 962
 
960 963
   //#define UBL_G26_MESH_VALIDATION // Enable G26 mesh validation
964
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
965
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
966
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
967
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
968
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
969
+  #endif
961 970
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
962 971
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
963 972
 
@@ -1692,50 +1701,4 @@
1692 1701
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1693 1702
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1694 1703
 
1695
-/**
1696
- * Default extrusion settings
1697
- *
1698
- * These settings control basic extrusion from within the Marlin firmware.
1699
- *
1700
- */
1701
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1702
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1703
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1704
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1705
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1706
-
1707
-/**
1708
- * Filament Width Sensor
1709
- *
1710
- * Measures the filament width in real-time and adjusts
1711
- * flow rate to compensate for any irregularities.
1712
- *
1713
- * Also allows the measured filament diameter to set the
1714
- * extrusion rate, so the slicer only has to specify the
1715
- * volume.
1716
- *
1717
- * Only a single extruder is supported at this time.
1718
- *
1719
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1720
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1721
- * 301 RAMBO       : Analog input 3
1722
- *
1723
- * Note: May require analog pins to be defined for other boards.
1724
- */
1725
-//#define FILAMENT_WIDTH_SENSOR
1726
-
1727
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1728
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1729
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1730
-
1731
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1732
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1733
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1734
-
1735
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1736
-
1737
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1738
-  //#define FILAMENT_LCD_DISPLAY
1739
-#endif
1740
-
1741 1704
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/Micromake/C1/enhanced/Configuration_adv.h View File

@@ -1271,6 +1271,40 @@
1271 1271
 #endif
1272 1272
 
1273 1273
 /**
1274
+ * Filament Width Sensor
1275
+ *
1276
+ * Measures the filament width in real-time and adjusts
1277
+ * flow rate to compensate for any irregularities.
1278
+ *
1279
+ * Also allows the measured filament diameter to set the
1280
+ * extrusion rate, so the slicer only has to specify the
1281
+ * volume.
1282
+ *
1283
+ * Only a single extruder is supported at this time.
1284
+ *
1285
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1286
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1287
+ * 301 RAMBO       : Analog input 3
1288
+ *
1289
+ * Note: May require analog pins to be defined for other boards.
1290
+ */
1291
+//#define FILAMENT_WIDTH_SENSOR
1292
+
1293
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1294
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1295
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1296
+
1297
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1298
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1299
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1300
+
1301
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1302
+
1303
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1304
+  //#define FILAMENT_LCD_DISPLAY
1305
+#endif
1306
+
1307
+/**
1274 1308
  * CNC Coordinate Systems
1275 1309
  *
1276 1310
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/RepRapWorld/Megatronics/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -954,6 +957,12 @@
954 957
   #define UBL_PROBE_PT_3_Y 20
955 958
 
956 959
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
960
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
961
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
962
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
963
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
964
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
965
+  #endif
957 966
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
958 967
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
959 968
 
@@ -1688,50 +1697,4 @@
1688 1697
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1689 1698
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1690 1699
 
1691
-/**
1692
- * Default extrusion settings
1693
- *
1694
- * These settings control basic extrusion from within the Marlin firmware.
1695
- *
1696
- */
1697
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1698
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1699
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1700
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1701
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1702
-
1703
-/**
1704
- * Filament Width Sensor
1705
- *
1706
- * Measures the filament width in real-time and adjusts
1707
- * flow rate to compensate for any irregularities.
1708
- *
1709
- * Also allows the measured filament diameter to set the
1710
- * extrusion rate, so the slicer only has to specify the
1711
- * volume.
1712
- *
1713
- * Only a single extruder is supported at this time.
1714
- *
1715
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1716
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1717
- * 301 RAMBO       : Analog input 3
1718
- *
1719
- * Note: May require analog pins to be defined for other boards.
1720
- */
1721
-//#define FILAMENT_WIDTH_SENSOR
1722
-
1723
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1724
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1725
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1726
-
1727
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1728
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1729
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1730
-
1731
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1732
-
1733
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1734
-  //#define FILAMENT_LCD_DISPLAY
1735
-#endif
1736
-
1737 1700
 #endif // CONFIGURATION_H

+ 9
- 46
Marlin/example_configurations/RigidBot/Configuration.h View File

@@ -139,6 +139,9 @@
139 139
 // :[1, 2, 3, 4, 5]
140 140
 #define EXTRUDERS 1  // Single extruder. Set to 2 for dual extruders
141 141
 
142
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
143
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
144
+
142 145
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
143 146
 //#define SINGLENOZZLE
144 147
 
@@ -952,6 +955,12 @@
952 955
   #define UBL_PROBE_PT_3_Y 20
953 956
 
954 957
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
958
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
959
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
960
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
961
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
962
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
963
+  #endif
955 964
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
956 965
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
957 966
 
@@ -1688,50 +1697,4 @@
1688 1697
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1689 1698
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1690 1699
 
1691
-/**
1692
- * Default extrusion settings
1693
- *
1694
- * These settings control basic extrusion from within the Marlin firmware.
1695
- *
1696
- */
1697
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1698
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1699
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1700
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1701
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1702
-
1703
-/**
1704
- * Filament Width Sensor
1705
- *
1706
- * Measures the filament width in real-time and adjusts
1707
- * flow rate to compensate for any irregularities.
1708
- *
1709
- * Also allows the measured filament diameter to set the
1710
- * extrusion rate, so the slicer only has to specify the
1711
- * volume.
1712
- *
1713
- * Only a single extruder is supported at this time.
1714
- *
1715
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1716
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1717
- * 301 RAMBO       : Analog input 3
1718
- *
1719
- * Note: May require analog pins to be defined for other boards.
1720
- */
1721
-//#define FILAMENT_WIDTH_SENSOR
1722
-
1723
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1724
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1725
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1726
-
1727
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1728
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1729
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1730
-
1731
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1732
-
1733
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1734
-  //#define FILAMENT_LCD_DISPLAY
1735
-#endif
1736
-
1737 1700
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/RigidBot/Configuration_adv.h View File

@@ -1267,6 +1267,40 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1290
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1291
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1292
+
1293
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1294
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1295
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1296
+
1297
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1298
+
1299
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1300
+  //#define FILAMENT_LCD_DISPLAY
1301
+#endif
1302
+
1303
+/**
1270 1304
  * CNC Coordinate Systems
1271 1305
  *
1272 1306
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/SCARA/Configuration.h View File

@@ -166,6 +166,9 @@
166 166
 // :[1, 2, 3, 4, 5]
167 167
 #define EXTRUDERS 1
168 168
 
169
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
170
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
171
+
169 172
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
170 173
 //#define SINGLENOZZLE
171 174
 
@@ -966,6 +969,12 @@
966 969
   #define UBL_PROBE_PT_3_Y 20
967 970
 
968 971
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
972
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
973
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
974
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
975
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
976
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
977
+  #endif
969 978
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
970 979
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
971 980
 
@@ -1700,50 +1709,4 @@
1700 1709
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1701 1710
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1702 1711
 
1703
-/**
1704
- * Default extrusion settings
1705
- *
1706
- * These settings control basic extrusion from within the Marlin firmware.
1707
- *
1708
- */
1709
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1710
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1711
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1712
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1713
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1714
-
1715
-/**
1716
- * Filament Width Sensor
1717
- *
1718
- * Measures the filament width in real-time and adjusts
1719
- * flow rate to compensate for any irregularities.
1720
- *
1721
- * Also allows the measured filament diameter to set the
1722
- * extrusion rate, so the slicer only has to specify the
1723
- * volume.
1724
- *
1725
- * Only a single extruder is supported at this time.
1726
- *
1727
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1728
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1729
- * 301 RAMBO       : Analog input 3
1730
- *
1731
- * Note: May require analog pins to be defined for other boards.
1732
- */
1733
-//#define FILAMENT_WIDTH_SENSOR
1734
-
1735
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1736
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1737
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1738
-
1739
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1740
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1741
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1742
-
1743
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1744
-
1745
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1746
-  //#define FILAMENT_LCD_DISPLAY
1747
-#endif
1748
-
1749 1712
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/SCARA/Configuration_adv.h View File

@@ -1267,6 +1267,40 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1290
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1291
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1292
+
1293
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1294
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1295
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1296
+
1297
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1298
+
1299
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1300
+  //#define FILAMENT_LCD_DISPLAY
1301
+#endif
1302
+
1303
+/**
1270 1304
  * CNC Coordinate Systems
1271 1305
  *
1272 1306
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/Sanguinololu/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -985,6 +988,12 @@
985 988
   #define UBL_PROBE_PT_3_Y 20
986 989
 
987 990
   //#define UBL_G26_MESH_VALIDATION // Enable G26 mesh validation
991
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
992
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
993
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
994
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
995
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
996
+  #endif
988 997
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
989 998
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
990 999
 
@@ -1719,50 +1728,4 @@
1719 1728
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1720 1729
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1721 1730
 
1722
-/**
1723
- * Default extrusion settings
1724
- *
1725
- * These settings control basic extrusion from within the Marlin firmware.
1726
- *
1727
- */
1728
-#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1729
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1730
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1731
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1732
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1733
-
1734
-/**
1735
- * Filament Width Sensor
1736
- *
1737
- * Measures the filament width in real-time and adjusts
1738
- * flow rate to compensate for any irregularities.
1739
- *
1740
- * Also allows the measured filament diameter to set the
1741
- * extrusion rate, so the slicer only has to specify the
1742
- * volume.
1743
- *
1744
- * Only a single extruder is supported at this time.
1745
- *
1746
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1747
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1748
- * 301 RAMBO       : Analog input 3
1749
- *
1750
- * Note: May require analog pins to be defined for other boards.
1751
- */
1752
-//#define FILAMENT_WIDTH_SENSOR
1753
-
1754
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1755
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1756
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1757
-
1758
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1759
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1760
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1761
-
1762
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1763
-
1764
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1765
-  //#define FILAMENT_LCD_DISPLAY
1766
-#endif
1767
-
1768 1731
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/Sanguinololu/Configuration_adv.h View File

@@ -1234,6 +1234,40 @@
1234 1234
 #endif
1235 1235
 
1236 1236
 /**
1237
+ * Filament Width Sensor
1238
+ *
1239
+ * Measures the filament width in real-time and adjusts
1240
+ * flow rate to compensate for any irregularities.
1241
+ *
1242
+ * Also allows the measured filament diameter to set the
1243
+ * extrusion rate, so the slicer only has to specify the
1244
+ * volume.
1245
+ *
1246
+ * Only a single extruder is supported at this time.
1247
+ *
1248
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1249
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1250
+ * 301 RAMBO       : Analog input 3
1251
+ *
1252
+ * Note: May require analog pins to be defined for other boards.
1253
+ */
1254
+//#define FILAMENT_WIDTH_SENSOR
1255
+
1256
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1257
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1258
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1259
+
1260
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1261
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1262
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1263
+
1264
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1265
+
1266
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1267
+  //#define FILAMENT_LCD_DISPLAY
1268
+#endif
1269
+
1270
+/**
1237 1271
  * CNC Coordinate Systems
1238 1272
  *
1239 1273
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/TinyBoy2/Configuration.h View File

@@ -158,6 +158,9 @@
158 158
 // :[1, 2, 3, 4, 5]
159 159
 #define EXTRUDERS 1
160 160
 
161
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
162
+#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
163
+
161 164
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
162 165
 //#define SINGLENOZZLE
163 166
 
@@ -1010,6 +1013,12 @@
1010 1013
   #define UBL_PROBE_PT_3_Y 20
1011 1014
 
1012 1015
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
1016
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
1017
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
1018
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
1019
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
1020
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
1021
+  #endif
1013 1022
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1014 1023
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1015 1024
 
@@ -1744,50 +1753,4 @@
1744 1753
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1745 1754
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1746 1755
 
1747
-/**
1748
- * Default extrusion settings
1749
- *
1750
- * These settings control basic extrusion from within the Marlin firmware.
1751
- *
1752
- */
1753
-#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1754
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1755
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1756
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1757
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1758
-
1759
-/**
1760
- * Filament Width Sensor
1761
- *
1762
- * Measures the filament width in real-time and adjusts
1763
- * flow rate to compensate for any irregularities.
1764
- *
1765
- * Also allows the measured filament diameter to set the
1766
- * extrusion rate, so the slicer only has to specify the
1767
- * volume.
1768
- *
1769
- * Only a single extruder is supported at this time.
1770
- *
1771
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1772
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1773
- * 301 RAMBO       : Analog input 3
1774
- *
1775
- * Note: May require analog pins to be defined for other boards.
1776
- */
1777
-//#define FILAMENT_WIDTH_SENSOR
1778
-
1779
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1780
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1781
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1782
-
1783
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1784
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1785
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1786
-
1787
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1788
-
1789
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1790
-  //#define FILAMENT_LCD_DISPLAY
1791
-#endif
1792
-
1793 1756
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/TinyBoy2/Configuration_adv.h View File

@@ -1267,6 +1267,40 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1290
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1291
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1292
+
1293
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1294
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1295
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1296
+
1297
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1298
+
1299
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1300
+  //#define FILAMENT_LCD_DISPLAY
1301
+#endif
1302
+
1303
+/**
1270 1304
  * CNC Coordinate Systems
1271 1305
  *
1272 1306
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/Velleman/K8200/Configuration.h View File

@@ -156,6 +156,9 @@
156 156
 // :[1, 2, 3, 4, 5]
157 157
 #define EXTRUDERS 1
158 158
 
159
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
160
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
161
+
159 162
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
160 163
 //#define SINGLENOZZLE
161 164
 
@@ -984,6 +987,12 @@
984 987
   #define UBL_PROBE_PT_3_Y 20
985 988
 
986 989
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
990
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
991
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
992
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
993
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
994
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
995
+  #endif
987 996
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
988 997
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
989 998
 
@@ -1718,50 +1727,4 @@
1718 1727
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1719 1728
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1720 1729
 
1721
-/**
1722
- * Default extrusion settings
1723
- *
1724
- * These settings control basic extrusion from within the Marlin firmware.
1725
- *
1726
- */
1727
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1728
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1729
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1730
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1731
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1732
-
1733
-/**
1734
- * Filament Width Sensor
1735
- *
1736
- * Measures the filament width in real-time and adjusts
1737
- * flow rate to compensate for any irregularities.
1738
- *
1739
- * Also allows the measured filament diameter to set the
1740
- * extrusion rate, so the slicer only has to specify the
1741
- * volume.
1742
- *
1743
- * Only a single extruder is supported at this time.
1744
- *
1745
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1746
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1747
- * 301 RAMBO       : Analog input 3
1748
- *
1749
- * Note: May require analog pins to be defined for other boards.
1750
- */
1751
-//#define FILAMENT_WIDTH_SENSOR
1752
-
1753
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1754
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1755
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1756
-
1757
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1758
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1759
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1760
-
1761
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1762
-
1763
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1764
-  //#define FILAMENT_LCD_DISPLAY
1765
-#endif
1766
-
1767 1730
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/Velleman/K8200/Configuration_adv.h View File

@@ -1275,6 +1275,40 @@
1275 1275
 #endif
1276 1276
 
1277 1277
 /**
1278
+ * Filament Width Sensor
1279
+ *
1280
+ * Measures the filament width in real-time and adjusts
1281
+ * flow rate to compensate for any irregularities.
1282
+ *
1283
+ * Also allows the measured filament diameter to set the
1284
+ * extrusion rate, so the slicer only has to specify the
1285
+ * volume.
1286
+ *
1287
+ * Only a single extruder is supported at this time.
1288
+ *
1289
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1290
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1291
+ * 301 RAMBO       : Analog input 3
1292
+ *
1293
+ * Note: May require analog pins to be defined for other boards.
1294
+ */
1295
+//#define FILAMENT_WIDTH_SENSOR
1296
+
1297
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1298
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1299
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1300
+
1301
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1302
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1303
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1304
+
1305
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1306
+
1307
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1308
+  //#define FILAMENT_LCD_DISPLAY
1309
+#endif
1310
+
1311
+/**
1278 1312
  * CNC Coordinate Systems
1279 1313
  *
1280 1314
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/Velleman/K8400/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -954,6 +957,12 @@
954 957
   #define UBL_PROBE_PT_3_Y 20
955 958
 
956 959
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
960
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
961
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
962
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
963
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
964
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
965
+  #endif
957 966
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
958 967
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
959 968
 
@@ -1688,50 +1697,4 @@
1688 1697
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1689 1698
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1690 1699
 
1691
-/**
1692
- * Default extrusion settings
1693
- *
1694
- * These settings control basic extrusion from within the Marlin firmware.
1695
- *
1696
- */
1697
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1698
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1699
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1700
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1701
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1702
-
1703
-/**
1704
- * Filament Width Sensor
1705
- *
1706
- * Measures the filament width in real-time and adjusts
1707
- * flow rate to compensate for any irregularities.
1708
- *
1709
- * Also allows the measured filament diameter to set the
1710
- * extrusion rate, so the slicer only has to specify the
1711
- * volume.
1712
- *
1713
- * Only a single extruder is supported at this time.
1714
- *
1715
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1716
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1717
- * 301 RAMBO       : Analog input 3
1718
- *
1719
- * Note: May require analog pins to be defined for other boards.
1720
- */
1721
-//#define FILAMENT_WIDTH_SENSOR
1722
-
1723
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1724
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1725
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1726
-
1727
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1728
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1729
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1730
-
1731
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1732
-
1733
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1734
-  //#define FILAMENT_LCD_DISPLAY
1735
-#endif
1736
-
1737 1700
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/Velleman/K8400/Configuration_adv.h View File

@@ -1267,6 +1267,40 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1290
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1291
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1292
+
1293
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1294
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1295
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1296
+
1297
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1298
+
1299
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1300
+  //#define FILAMENT_LCD_DISPLAY
1301
+#endif
1302
+
1303
+/**
1270 1304
  * CNC Coordinate Systems
1271 1305
  *
1272 1306
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/Velleman/K8400/Dual-head/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 2
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -954,6 +957,12 @@
954 957
   #define UBL_PROBE_PT_3_Y 20
955 958
 
956 959
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
960
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
961
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
962
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
963
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
964
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
965
+  #endif
957 966
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
958 967
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
959 968
 
@@ -1688,50 +1697,4 @@
1688 1697
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1689 1698
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1690 1699
 
1691
-/**
1692
- * Default extrusion settings
1693
- *
1694
- * These settings control basic extrusion from within the Marlin firmware.
1695
- *
1696
- */
1697
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1698
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1699
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1700
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1701
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1702
-
1703
-/**
1704
- * Filament Width Sensor
1705
- *
1706
- * Measures the filament width in real-time and adjusts
1707
- * flow rate to compensate for any irregularities.
1708
- *
1709
- * Also allows the measured filament diameter to set the
1710
- * extrusion rate, so the slicer only has to specify the
1711
- * volume.
1712
- *
1713
- * Only a single extruder is supported at this time.
1714
- *
1715
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1716
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1717
- * 301 RAMBO       : Analog input 3
1718
- *
1719
- * Note: May require analog pins to be defined for other boards.
1720
- */
1721
-//#define FILAMENT_WIDTH_SENSOR
1722
-
1723
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1724
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1725
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1726
-
1727
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1728
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1729
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1730
-
1731
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1732
-
1733
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1734
-  //#define FILAMENT_LCD_DISPLAY
1735
-#endif
1736
-
1737 1700
 #endif // CONFIGURATION_H

+ 9
- 46
Marlin/example_configurations/adafruit/ST7565/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -954,6 +957,12 @@
954 957
   #define UBL_PROBE_PT_3_Y 20
955 958
 
956 959
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
960
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
961
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
962
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
963
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
964
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
965
+  #endif
957 966
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
958 967
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
959 968
 
@@ -1688,50 +1697,4 @@
1688 1697
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1689 1698
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1690 1699
 
1691
-/**
1692
- * Default extrusion settings
1693
- *
1694
- * These settings control basic extrusion from within the Marlin firmware.
1695
- *
1696
- */
1697
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1698
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1699
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1700
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1701
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1702
-
1703
-/**
1704
- * Filament Width Sensor
1705
- *
1706
- * Measures the filament width in real-time and adjusts
1707
- * flow rate to compensate for any irregularities.
1708
- *
1709
- * Also allows the measured filament diameter to set the
1710
- * extrusion rate, so the slicer only has to specify the
1711
- * volume.
1712
- *
1713
- * Only a single extruder is supported at this time.
1714
- *
1715
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1716
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1717
- * 301 RAMBO       : Analog input 3
1718
- *
1719
- * Note: May require analog pins to be defined for other boards.
1720
- */
1721
-//#define FILAMENT_WIDTH_SENSOR
1722
-
1723
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1724
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1725
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1726
-
1727
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1728
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1729
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1730
-
1731
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1732
-
1733
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1734
-  //#define FILAMENT_LCD_DISPLAY
1735
-#endif
1736
-
1737 1700
 #endif // CONFIGURATION_H

+ 9
- 46
Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -1088,6 +1091,12 @@
1088 1091
   #define UBL_PROBE_PT_3_Y _PY(DELTA_PROBEABLE_RADIUS, 240)
1089 1092
 
1090 1093
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
1094
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
1095
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
1096
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
1097
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
1098
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
1099
+  #endif
1091 1100
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1092 1101
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1093 1102
 
@@ -1822,50 +1831,4 @@
1822 1831
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1823 1832
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1824 1833
 
1825
-/**
1826
- * Default extrusion settings
1827
- *
1828
- * These settings control basic extrusion from within the Marlin firmware.
1829
- *
1830
- */
1831
-#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1832
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1833
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1834
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1835
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1836
-
1837
-/**
1838
- * Filament Width Sensor
1839
- *
1840
- * Measures the filament width in real-time and adjusts
1841
- * flow rate to compensate for any irregularities.
1842
- *
1843
- * Also allows the measured filament diameter to set the
1844
- * extrusion rate, so the slicer only has to specify the
1845
- * volume.
1846
- *
1847
- * Only a single extruder is supported at this time.
1848
- *
1849
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1850
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1851
- * 301 RAMBO       : Analog input 3
1852
- *
1853
- * Note: May require analog pins to be defined for other boards.
1854
- */
1855
-//#define FILAMENT_WIDTH_SENSOR
1856
-
1857
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1858
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1859
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1860
-
1861
-  #define MEASURED_UPPER_LIMIT         1.95 // (mm) Upper limit used to validate sensor reading
1862
-  #define MEASURED_LOWER_LIMIT         1.20 // (mm) Lower limit used to validate sensor reading
1863
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1864
-
1865
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1866
-
1867
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1868
-  //#define FILAMENT_LCD_DISPLAY
1869
-#endif
1870
-
1871 1834
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/delta/FLSUN/auto_calibrate/Configuration_adv.h View File

@@ -1269,6 +1269,40 @@
1269 1269
 #endif
1270 1270
 
1271 1271
 /**
1272
+ * Filament Width Sensor
1273
+ *
1274
+ * Measures the filament width in real-time and adjusts
1275
+ * flow rate to compensate for any irregularities.
1276
+ *
1277
+ * Also allows the measured filament diameter to set the
1278
+ * extrusion rate, so the slicer only has to specify the
1279
+ * volume.
1280
+ *
1281
+ * Only a single extruder is supported at this time.
1282
+ *
1283
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1284
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1285
+ * 301 RAMBO       : Analog input 3
1286
+ *
1287
+ * Note: May require analog pins to be defined for other boards.
1288
+ */
1289
+//#define FILAMENT_WIDTH_SENSOR
1290
+
1291
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1292
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1293
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1294
+
1295
+  #define MEASURED_UPPER_LIMIT         1.95 // (mm) Upper limit used to validate sensor reading
1296
+  #define MEASURED_LOWER_LIMIT         1.20 // (mm) Lower limit used to validate sensor reading
1297
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1298
+
1299
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1300
+
1301
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1302
+  //#define FILAMENT_LCD_DISPLAY
1303
+#endif
1304
+
1305
+/**
1272 1306
  * CNC Coordinate Systems
1273 1307
  *
1274 1308
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -1082,6 +1085,12 @@
1082 1085
   #define UBL_PROBE_PT_3_Y _PY(DELTA_PROBEABLE_RADIUS, 240)
1083 1086
 
1084 1087
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
1088
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
1089
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
1090
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
1091
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
1092
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
1093
+  #endif
1085 1094
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1086 1095
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1087 1096
 
@@ -1815,50 +1824,4 @@
1815 1824
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1816 1825
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1817 1826
 
1818
-/**
1819
- * Default extrusion settings
1820
- *
1821
- * These settings control basic extrusion from within the Marlin firmware.
1822
- *
1823
- */
1824
-#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1825
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1826
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1827
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1828
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1829
-
1830
-/**
1831
- * Filament Width Sensor
1832
- *
1833
- * Measures the filament width in real-time and adjusts
1834
- * flow rate to compensate for any irregularities.
1835
- *
1836
- * Also allows the measured filament diameter to set the
1837
- * extrusion rate, so the slicer only has to specify the
1838
- * volume.
1839
- *
1840
- * Only a single extruder is supported at this time.
1841
- *
1842
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1843
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1844
- * 301 RAMBO       : Analog input 3
1845
- *
1846
- * Note: May require analog pins to be defined for other boards.
1847
- */
1848
-//#define FILAMENT_WIDTH_SENSOR
1849
-
1850
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1851
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1852
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1853
-
1854
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1855
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1856
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1857
-
1858
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1859
-
1860
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1861
-  //#define FILAMENT_LCD_DISPLAY
1862
-#endif
1863
-
1864 1827
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/delta/FLSUN/kossel_mini/Configuration_adv.h View File

@@ -1269,6 +1269,40 @@
1269 1269
 #endif
1270 1270
 
1271 1271
 /**
1272
+ * Filament Width Sensor
1273
+ *
1274
+ * Measures the filament width in real-time and adjusts
1275
+ * flow rate to compensate for any irregularities.
1276
+ *
1277
+ * Also allows the measured filament diameter to set the
1278
+ * extrusion rate, so the slicer only has to specify the
1279
+ * volume.
1280
+ *
1281
+ * Only a single extruder is supported at this time.
1282
+ *
1283
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1284
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1285
+ * 301 RAMBO       : Analog input 3
1286
+ *
1287
+ * Note: May require analog pins to be defined for other boards.
1288
+ */
1289
+//#define FILAMENT_WIDTH_SENSOR
1290
+
1291
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1292
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1293
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1294
+
1295
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1296
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1297
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1298
+
1299
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1300
+
1301
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1302
+  //#define FILAMENT_LCD_DISPLAY
1303
+#endif
1304
+
1305
+/**
1272 1306
  * CNC Coordinate Systems
1273 1307
  *
1274 1308
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/delta/generic/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -1077,6 +1080,12 @@
1077 1080
   #define UBL_PROBE_PT_3_Y _PY(DELTA_PROBEABLE_RADIUS, 240)
1078 1081
 
1079 1082
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
1083
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
1084
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
1085
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
1086
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
1087
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
1088
+  #endif
1080 1089
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1081 1090
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1082 1091
 
@@ -1810,50 +1819,4 @@
1810 1819
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1811 1820
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1812 1821
 
1813
-/**
1814
- * Default extrusion settings
1815
- *
1816
- * These settings control basic extrusion from within the Marlin firmware.
1817
- *
1818
- */
1819
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1820
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1821
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1822
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1823
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1824
-
1825
-/**
1826
- * Filament Width Sensor
1827
- *
1828
- * Measures the filament width in real-time and adjusts
1829
- * flow rate to compensate for any irregularities.
1830
- *
1831
- * Also allows the measured filament diameter to set the
1832
- * extrusion rate, so the slicer only has to specify the
1833
- * volume.
1834
- *
1835
- * Only a single extruder is supported at this time.
1836
- *
1837
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1838
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1839
- * 301 RAMBO       : Analog input 3
1840
- *
1841
- * Note: May require analog pins to be defined for other boards.
1842
- */
1843
-//#define FILAMENT_WIDTH_SENSOR
1844
-
1845
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1846
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1847
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1848
-
1849
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1850
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1851
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1852
-
1853
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1854
-
1855
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1856
-  //#define FILAMENT_LCD_DISPLAY
1857
-#endif
1858
-
1859 1822
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/delta/generic/Configuration_adv.h View File

@@ -1269,6 +1269,40 @@
1269 1269
 #endif
1270 1270
 
1271 1271
 /**
1272
+ * Filament Width Sensor
1273
+ *
1274
+ * Measures the filament width in real-time and adjusts
1275
+ * flow rate to compensate for any irregularities.
1276
+ *
1277
+ * Also allows the measured filament diameter to set the
1278
+ * extrusion rate, so the slicer only has to specify the
1279
+ * volume.
1280
+ *
1281
+ * Only a single extruder is supported at this time.
1282
+ *
1283
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1284
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1285
+ * 301 RAMBO       : Analog input 3
1286
+ *
1287
+ * Note: May require analog pins to be defined for other boards.
1288
+ */
1289
+//#define FILAMENT_WIDTH_SENSOR
1290
+
1291
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1292
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1293
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1294
+
1295
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1296
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1297
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1298
+
1299
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1300
+
1301
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1302
+  //#define FILAMENT_LCD_DISPLAY
1303
+#endif
1304
+
1305
+/**
1272 1306
  * CNC Coordinate Systems
1273 1307
  *
1274 1308
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/delta/kossel_mini/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -1080,6 +1083,12 @@
1080 1083
   #define UBL_PROBE_PT_3_Y _PY(DELTA_PROBEABLE_RADIUS, 240)
1081 1084
 
1082 1085
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
1086
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
1087
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
1088
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
1089
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
1090
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
1091
+  #endif
1083 1092
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1084 1093
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1085 1094
 
@@ -1813,50 +1822,4 @@
1813 1822
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1814 1823
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1815 1824
 
1816
-/**
1817
- * Default extrusion settings
1818
- *
1819
- * These settings control basic extrusion from within the Marlin firmware.
1820
- *
1821
- */
1822
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1823
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1824
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1825
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1826
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1827
-
1828
-/**
1829
- * Filament Width Sensor
1830
- *
1831
- * Measures the filament width in real-time and adjusts
1832
- * flow rate to compensate for any irregularities.
1833
- *
1834
- * Also allows the measured filament diameter to set the
1835
- * extrusion rate, so the slicer only has to specify the
1836
- * volume.
1837
- *
1838
- * Only a single extruder is supported at this time.
1839
- *
1840
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1841
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1842
- * 301 RAMBO       : Analog input 3
1843
- *
1844
- * Note: May require analog pins to be defined for other boards.
1845
- */
1846
-//#define FILAMENT_WIDTH_SENSOR
1847
-
1848
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1849
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1850
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1851
-
1852
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1853
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1854
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1855
-
1856
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1857
-
1858
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1859
-  //#define FILAMENT_LCD_DISPLAY
1860
-#endif
1861
-
1862 1825
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/delta/kossel_mini/Configuration_adv.h View File

@@ -1269,6 +1269,40 @@
1269 1269
 #endif
1270 1270
 
1271 1271
 /**
1272
+ * Filament Width Sensor
1273
+ *
1274
+ * Measures the filament width in real-time and adjusts
1275
+ * flow rate to compensate for any irregularities.
1276
+ *
1277
+ * Also allows the measured filament diameter to set the
1278
+ * extrusion rate, so the slicer only has to specify the
1279
+ * volume.
1280
+ *
1281
+ * Only a single extruder is supported at this time.
1282
+ *
1283
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1284
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1285
+ * 301 RAMBO       : Analog input 3
1286
+ *
1287
+ * Note: May require analog pins to be defined for other boards.
1288
+ */
1289
+//#define FILAMENT_WIDTH_SENSOR
1290
+
1291
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1292
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1293
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1294
+
1295
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1296
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1297
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1298
+
1299
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1300
+
1301
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1302
+  //#define FILAMENT_LCD_DISPLAY
1303
+#endif
1304
+
1305
+/**
1272 1306
  * CNC Coordinate Systems
1273 1307
  *
1274 1308
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/delta/kossel_pro/Configuration.h View File

@@ -140,6 +140,9 @@
140 140
 // :[1, 2, 3, 4, 5]
141 141
 #define EXTRUDERS 1
142 142
 
143
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
144
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
145
+
143 146
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
144 147
 //#define SINGLENOZZLE
145 148
 
@@ -1080,6 +1083,12 @@
1080 1083
   #define UBL_PROBE_PT_3_Y _PY(DELTA_PROBEABLE_RADIUS, 240)
1081 1084
 
1082 1085
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
1086
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
1087
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
1088
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
1089
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
1090
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
1091
+  #endif
1083 1092
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1084 1093
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1085 1094
 
@@ -1813,50 +1822,4 @@
1813 1822
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1814 1823
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1815 1824
 
1816
-/**
1817
- * Default extrusion settings
1818
- *
1819
- * These settings control basic extrusion from within the Marlin firmware.
1820
- *
1821
- */
1822
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1823
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1824
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1825
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1826
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1827
-
1828
-/**
1829
- * Filament Width Sensor
1830
- *
1831
- * Measures the filament width in real-time and adjusts
1832
- * flow rate to compensate for any irregularities.
1833
- *
1834
- * Also allows the measured filament diameter to set the
1835
- * extrusion rate, so the slicer only has to specify the
1836
- * volume.
1837
- *
1838
- * Only a single extruder is supported at this time.
1839
- *
1840
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1841
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1842
- * 301 RAMBO       : Analog input 3
1843
- *
1844
- * Note: May require analog pins to be defined for other boards.
1845
- */
1846
-//#define FILAMENT_WIDTH_SENSOR
1847
-
1848
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1849
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1850
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1851
-
1852
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1853
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1854
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1855
-
1856
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1857
-
1858
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1859
-  //#define FILAMENT_LCD_DISPLAY
1860
-#endif
1861
-
1862 1825
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/delta/kossel_pro/Configuration_adv.h View File

@@ -1274,6 +1274,40 @@
1274 1274
 #endif
1275 1275
 
1276 1276
 /**
1277
+ * Filament Width Sensor
1278
+ *
1279
+ * Measures the filament width in real-time and adjusts
1280
+ * flow rate to compensate for any irregularities.
1281
+ *
1282
+ * Also allows the measured filament diameter to set the
1283
+ * extrusion rate, so the slicer only has to specify the
1284
+ * volume.
1285
+ *
1286
+ * Only a single extruder is supported at this time.
1287
+ *
1288
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1289
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1290
+ * 301 RAMBO       : Analog input 3
1291
+ *
1292
+ * Note: May require analog pins to be defined for other boards.
1293
+ */
1294
+//#define FILAMENT_WIDTH_SENSOR
1295
+
1296
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1297
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1298
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1299
+
1300
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1301
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1302
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1303
+
1304
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1305
+
1306
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1307
+  //#define FILAMENT_LCD_DISPLAY
1308
+#endif
1309
+
1310
+/**
1277 1311
  * CNC Coordinate Systems
1278 1312
  *
1279 1313
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/delta/kossel_xl/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -1089,6 +1092,12 @@
1089 1092
   #define UBL_PROBE_PT_3_Y _PY(DELTA_PROBEABLE_RADIUS, 240)
1090 1093
 
1091 1094
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
1095
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
1096
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
1097
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
1098
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
1099
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
1100
+  #endif
1092 1101
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
1093 1102
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
1094 1103
 
@@ -1822,50 +1831,4 @@
1822 1831
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1823 1832
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1824 1833
 
1825
-/**
1826
- * Default extrusion settings
1827
- *
1828
- * These settings control basic extrusion from within the Marlin firmware.
1829
- *
1830
- */
1831
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1832
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1833
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1834
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1835
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1836
-
1837
-/**
1838
- * Filament Width Sensor
1839
- *
1840
- * Measures the filament width in real-time and adjusts
1841
- * flow rate to compensate for any irregularities.
1842
- *
1843
- * Also allows the measured filament diameter to set the
1844
- * extrusion rate, so the slicer only has to specify the
1845
- * volume.
1846
- *
1847
- * Only a single extruder is supported at this time.
1848
- *
1849
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1850
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1851
- * 301 RAMBO       : Analog input 3
1852
- *
1853
- * Note: May require analog pins to be defined for other boards.
1854
- */
1855
-//#define FILAMENT_WIDTH_SENSOR
1856
-
1857
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1858
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1859
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1860
-
1861
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1862
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1863
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1864
-
1865
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1866
-
1867
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1868
-  //#define FILAMENT_LCD_DISPLAY
1869
-#endif
1870
-
1871 1834
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/delta/kossel_xl/Configuration_adv.h View File

@@ -1269,6 +1269,40 @@
1269 1269
 #endif
1270 1270
 
1271 1271
 /**
1272
+ * Filament Width Sensor
1273
+ *
1274
+ * Measures the filament width in real-time and adjusts
1275
+ * flow rate to compensate for any irregularities.
1276
+ *
1277
+ * Also allows the measured filament diameter to set the
1278
+ * extrusion rate, so the slicer only has to specify the
1279
+ * volume.
1280
+ *
1281
+ * Only a single extruder is supported at this time.
1282
+ *
1283
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1284
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1285
+ * 301 RAMBO       : Analog input 3
1286
+ *
1287
+ * Note: May require analog pins to be defined for other boards.
1288
+ */
1289
+//#define FILAMENT_WIDTH_SENSOR
1290
+
1291
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1292
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1293
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1294
+
1295
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1296
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1297
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1298
+
1299
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1300
+
1301
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1302
+  //#define FILAMENT_LCD_DISPLAY
1303
+#endif
1304
+
1305
+/**
1272 1306
  * CNC Coordinate Systems
1273 1307
  *
1274 1308
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/gCreate/gMax1.5+/Configuration.h View File

@@ -141,6 +141,9 @@
141 141
 // :[1, 2, 3, 4, 5]
142 142
 #define EXTRUDERS 1
143 143
 
144
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
145
+#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75
146
+
144 147
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
145 148
 //#define SINGLENOZZLE
146 149
 
@@ -968,6 +971,12 @@
968 971
   #define UBL_PROBE_PT_3_Y 211
969 972
 
970 973
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
974
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
975
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
976
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
977
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
978
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
979
+  #endif
971 980
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
972 981
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
973 982
 
@@ -1702,50 +1711,4 @@
1702 1711
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1703 1712
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1704 1713
 
1705
-/**
1706
- * Default extrusion settings
1707
- *
1708
- * These settings control basic extrusion from within the Marlin firmware.
1709
- *
1710
- */
1711
-#define DEFAULT_NOMINAL_FILAMENT_DIA 1.75   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1712
-#define DEFAULT_NOZZLE_SIZE           .5    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1713
-#define DEFAULT_LAYER_HEIGHT          .35   // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1714
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1715
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1716
-
1717
-/**
1718
- * Filament Width Sensor
1719
- *
1720
- * Measures the filament width in real-time and adjusts
1721
- * flow rate to compensate for any irregularities.
1722
- *
1723
- * Also allows the measured filament diameter to set the
1724
- * extrusion rate, so the slicer only has to specify the
1725
- * volume.
1726
- *
1727
- * Only a single extruder is supported at this time.
1728
- *
1729
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1730
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1731
- * 301 RAMBO       : Analog input 3
1732
- *
1733
- * Note: May require analog pins to be defined for other boards.
1734
- */
1735
-//#define FILAMENT_WIDTH_SENSOR
1736
-
1737
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1738
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1739
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1740
-
1741
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1742
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1743
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1744
-
1745
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1746
-
1747
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1748
-  //#define FILAMENT_LCD_DISPLAY
1749
-#endif
1750
-
1751 1714
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/gCreate/gMax1.5+/Configuration_adv.h View File

@@ -1267,6 +1267,40 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1290
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1291
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1292
+
1293
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1294
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1295
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1296
+
1297
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1298
+
1299
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1300
+  //#define FILAMENT_LCD_DISPLAY
1301
+#endif
1302
+
1303
+/**
1270 1304
  * CNC Coordinate Systems
1271 1305
  *
1272 1306
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/makibox/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -957,6 +960,12 @@
957 960
   #define UBL_PROBE_PT_3_Y 20
958 961
 
959 962
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
963
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
964
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
965
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
966
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
967
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
968
+  #endif
960 969
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
961 970
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
962 971
 
@@ -1691,50 +1700,4 @@
1691 1700
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1692 1701
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1693 1702
 
1694
-/**
1695
- * Default extrusion settings
1696
- *
1697
- * These settings control basic extrusion from within the Marlin firmware.
1698
- *
1699
- */
1700
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1701
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1702
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1703
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1704
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1705
-
1706
-/**
1707
- * Filament Width Sensor
1708
- *
1709
- * Measures the filament width in real-time and adjusts
1710
- * flow rate to compensate for any irregularities.
1711
- *
1712
- * Also allows the measured filament diameter to set the
1713
- * extrusion rate, so the slicer only has to specify the
1714
- * volume.
1715
- *
1716
- * Only a single extruder is supported at this time.
1717
- *
1718
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1719
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1720
- * 301 RAMBO       : Analog input 3
1721
- *
1722
- * Note: May require analog pins to be defined for other boards.
1723
- */
1724
-//#define FILAMENT_WIDTH_SENSOR
1725
-
1726
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1727
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1728
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1729
-
1730
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1731
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1732
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1733
-
1734
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1735
-
1736
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1737
-  //#define FILAMENT_LCD_DISPLAY
1738
-#endif
1739
-
1740 1703
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/makibox/Configuration_adv.h View File

@@ -1267,6 +1267,40 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1290
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1291
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1292
+
1293
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1294
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1295
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1296
+
1297
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1298
+
1299
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1300
+  //#define FILAMENT_LCD_DISPLAY
1301
+#endif
1302
+
1303
+/**
1270 1304
  * CNC Coordinate Systems
1271 1305
  *
1272 1306
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/tvrrug/Round2/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -949,6 +952,12 @@
949 952
   #define UBL_PROBE_PT_3_Y 20
950 953
 
951 954
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
955
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
956
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
957
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
958
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
959
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
960
+  #endif
952 961
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
953 962
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
954 963
 
@@ -1683,50 +1692,4 @@
1683 1692
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1684 1693
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1685 1694
 
1686
-/**
1687
- * Default extrusion settings
1688
- *
1689
- * These settings control basic extrusion from within the Marlin firmware.
1690
- *
1691
- */
1692
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1693
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1694
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1695
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1696
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1697
-
1698
-/**
1699
- * Filament Width Sensor
1700
- *
1701
- * Measures the filament width in real-time and adjusts
1702
- * flow rate to compensate for any irregularities.
1703
- *
1704
- * Also allows the measured filament diameter to set the
1705
- * extrusion rate, so the slicer only has to specify the
1706
- * volume.
1707
- *
1708
- * Only a single extruder is supported at this time.
1709
- *
1710
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1711
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1712
- * 301 RAMBO       : Analog input 3
1713
- *
1714
- * Note: May require analog pins to be defined for other boards.
1715
- */
1716
-//#define FILAMENT_WIDTH_SENSOR
1717
-
1718
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1719
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1720
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1721
-
1722
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1723
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1724
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1725
-
1726
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1727
-
1728
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1729
-  //#define FILAMENT_LCD_DISPLAY
1730
-#endif
1731
-
1732 1695
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/tvrrug/Round2/Configuration_adv.h View File

@@ -1267,6 +1267,40 @@
1267 1267
 #endif
1268 1268
 
1269 1269
 /**
1270
+ * Filament Width Sensor
1271
+ *
1272
+ * Measures the filament width in real-time and adjusts
1273
+ * flow rate to compensate for any irregularities.
1274
+ *
1275
+ * Also allows the measured filament diameter to set the
1276
+ * extrusion rate, so the slicer only has to specify the
1277
+ * volume.
1278
+ *
1279
+ * Only a single extruder is supported at this time.
1280
+ *
1281
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1282
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1283
+ * 301 RAMBO       : Analog input 3
1284
+ *
1285
+ * Note: May require analog pins to be defined for other boards.
1286
+ */
1287
+//#define FILAMENT_WIDTH_SENSOR
1288
+
1289
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1290
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1291
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1292
+
1293
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1294
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1295
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1296
+
1297
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1298
+
1299
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1300
+  //#define FILAMENT_LCD_DISPLAY
1301
+#endif
1302
+
1303
+/**
1270 1304
  * CNC Coordinate Systems
1271 1305
  *
1272 1306
  * Enables G53 and G54-G59.3 commands to select coordinate systems

+ 9
- 46
Marlin/example_configurations/wt150/Configuration.h View File

@@ -136,6 +136,9 @@
136 136
 // :[1, 2, 3, 4, 5]
137 137
 #define EXTRUDERS 1
138 138
 
139
+// Generally expected filament diameter (1.75, 2.85, 3.0, ...). Used for Volumetric, Filament Width Sensor, etc.
140
+#define DEFAULT_NOMINAL_FILAMENT_DIA 3.0
141
+
139 142
 // For Cyclops or any "multi-extruder" that shares a single nozzle.
140 143
 //#define SINGLENOZZLE
141 144
 
@@ -959,6 +962,12 @@
959 962
   #define UBL_PROBE_PT_3_Y 20
960 963
 
961 964
   #define UBL_G26_MESH_VALIDATION   // Enable G26 mesh validation
965
+  #if ENABLED(UBL_G26_MESH_VALIDATION)
966
+    #define MESH_TEST_NOZZLE_SIZE     0.4   // (mm) Diameter of primary nozzle.
967
+    #define MESH_TEST_LAYER_HEIGHT    0.2   // (mm) Default layer height for the G26 Mesh Validation Tool.
968
+    #define MESH_TEST_HOTEND_TEMP   205.0   // (°C) Default nozzle temperature for the G26 Mesh Validation Tool.
969
+    #define MESH_TEST_BED_TEMP       60.0   // (°C) Default bed temperature for the G26 Mesh Validation Tool.
970
+  #endif
962 971
   #define UBL_MESH_EDIT_MOVES_Z     // Sophisticated users prefer no movement of nozzle
963 972
   #define UBL_SAVE_ACTIVE_ON_M500   // Save the currently active mesh in the current slot on M500
964 973
 
@@ -1693,50 +1702,4 @@
1693 1702
 // With this option servos are powered only during movement, then turned off to prevent jitter.
1694 1703
 //#define DEACTIVATE_SERVOS_AFTER_MOVE
1695 1704
 
1696
-/**
1697
- * Default extrusion settings
1698
- *
1699
- * These settings control basic extrusion from within the Marlin firmware.
1700
- *
1701
- */
1702
-#define DEFAULT_NOMINAL_FILAMENT_DIA 3.00   // (mm) Diameter of the filament generally used (3.0 or 1.75mm), also used in the slicer. Used to validate sensor reading.
1703
-#define DEFAULT_NOZZLE_SIZE           .4    // (mm) Diameter of primary nozzle.  Used by G26 Mesh Validation Pattern tool.
1704
-#define DEFAULT_LAYER_HEIGHT          .2    // (mm) Default layer height that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1705
-#define DEFAULT_HOTEND_TEMP        205.0    // (c)  Default nozzle temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1706
-#define DEFAULT_BED_TEMP            60.0    // (c)  Default bed temperature that will produce usable results by the printer.  Used by G26 Mesh Validation Pattern tool.
1707
-
1708
-/**
1709
- * Filament Width Sensor
1710
- *
1711
- * Measures the filament width in real-time and adjusts
1712
- * flow rate to compensate for any irregularities.
1713
- *
1714
- * Also allows the measured filament diameter to set the
1715
- * extrusion rate, so the slicer only has to specify the
1716
- * volume.
1717
- *
1718
- * Only a single extruder is supported at this time.
1719
- *
1720
- *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1721
- *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1722
- * 301 RAMBO       : Analog input 3
1723
- *
1724
- * Note: May require analog pins to be defined for other boards.
1725
- */
1726
-//#define FILAMENT_WIDTH_SENSOR
1727
-
1728
-#if ENABLED(FILAMENT_WIDTH_SENSOR)
1729
-  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor (0,1,2,3)
1730
-  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1731
-
1732
-  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1733
-  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1734
-  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1735
-
1736
-  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1737
-
1738
-  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1739
-  //#define FILAMENT_LCD_DISPLAY
1740
-#endif
1741
-
1742 1705
 #endif // CONFIGURATION_H

+ 34
- 0
Marlin/example_configurations/wt150/Configuration_adv.h View File

@@ -1254,6 +1254,40 @@
1254 1254
 #endif
1255 1255
 
1256 1256
 /**
1257
+ * Filament Width Sensor
1258
+ *
1259
+ * Measures the filament width in real-time and adjusts
1260
+ * flow rate to compensate for any irregularities.
1261
+ *
1262
+ * Also allows the measured filament diameter to set the
1263
+ * extrusion rate, so the slicer only has to specify the
1264
+ * volume.
1265
+ *
1266
+ * Only a single extruder is supported at this time.
1267
+ *
1268
+ *  34 RAMPS_14    : Analog input 5 on the AUX2 connector
1269
+ *  81 PRINTRBOARD : Analog input 2 on the Exp1 connector (version B,C,D,E)
1270
+ * 301 RAMBO       : Analog input 3
1271
+ *
1272
+ * Note: May require analog pins to be defined for other boards.
1273
+ */
1274
+//#define FILAMENT_WIDTH_SENSOR
1275
+
1276
+#if ENABLED(FILAMENT_WIDTH_SENSOR)
1277
+  #define FILAMENT_SENSOR_EXTRUDER_NUM 0    // Index of the extruder that has the filament sensor. :[0,1,2,3,4]
1278
+  #define MEASUREMENT_DELAY_CM        14    // (cm) The distance from the filament sensor to the melting chamber
1279
+
1280
+  #define MEASURED_UPPER_LIMIT         3.30 // (mm) Upper limit used to validate sensor reading
1281
+  #define MEASURED_LOWER_LIMIT         1.90 // (mm) Lower limit used to validate sensor reading
1282
+  #define MAX_MEASUREMENT_DELAY       20    // (bytes) Buffer size for stored measurements (1 byte per cm). Must be larger than MEASUREMENT_DELAY_CM.
1283
+
1284
+  #define DEFAULT_MEASURED_FILAMENT_DIA DEFAULT_NOMINAL_FILAMENT_DIA // Set measured to nominal initially
1285
+
1286
+  // Display filament width on the LCD status line. Status messages will expire after 5 seconds.
1287
+  //#define FILAMENT_LCD_DISPLAY
1288
+#endif
1289
+
1290
+/**
1257 1291
  * CNC Coordinate Systems
1258 1292
  *
1259 1293
  * Enables G53 and G54-G59.3 commands to select coordinate systems

Loading…
Cancel
Save