|
35 | 35 | *
|
36 | 36 | * Advanced settings can be found in Configuration_adv.h
|
37 | 37 | */
|
38 |
| -#define CONFIGURATION_H_VERSION 02010200 |
| 38 | +#define CONFIGURATION_H_VERSION 02010300 |
39 | 39 |
|
40 | 40 | //===========================================================================
|
41 | 41 | //============================= Getting Started =============================
|
|
878 | 878 | // Enable for Polargraph Kinematics
|
879 | 879 | //#define POLARGRAPH
|
880 | 880 | #if ENABLED(POLARGRAPH)
|
881 |
| - #define POLARGRAPH_MAX_BELT_LEN 1035.0 |
882 |
| - #define DEFAULT_SEGMENTS_PER_SECOND 5 |
| 881 | + #define POLARGRAPH_MAX_BELT_LEN 1035.0 // (mm) Belt length at full extension. Override with M665 H. |
| 882 | + #define DEFAULT_SEGMENTS_PER_SECOND 5 // Move segmentation based on duration |
| 883 | + #define PEN_UP_DOWN_MENU // Add "Pen Up" and "Pen Down" to the MarlinUI menu |
883 | 884 | #endif
|
884 | 885 |
|
885 | 886 | // @section delta
|
|
909 | 910 | #define DELTA_CALIBRATION_DEFAULT_POINTS 4
|
910 | 911 | #endif
|
911 | 912 |
|
912 |
| - // NOTE: All values for DELTA_* values MUST be floating point, so always have a decimal point in them |
913 |
| - |
914 | 913 | #if EITHER(DELTA_AUTO_CALIBRATION, DELTA_CALIBRATION_MENU)
|
915 | 914 | // Step size for paper-test probing
|
916 | 915 | #define PROBE_MANUALLY_STEP 0.05 // (mm)
|
917 | 916 | #endif
|
918 | 917 |
|
919 | 918 | // Print surface diameter/2 minus unreachable space (avoid collisions with vertical towers).
|
920 |
| - #define DELTA_PRINTABLE_RADIUS 140.0 // (mm) |
| 919 | + #define PRINTABLE_RADIUS 140.0 // (mm) |
921 | 920 |
|
922 | 921 | // Maximum reachable area
|
923 | 922 | #define DELTA_MAX_RADIUS 140.0 // (mm)
|
|
971 | 970 | #if ENABLED(MORGAN_SCARA)
|
972 | 971 |
|
973 | 972 | //#define DEBUG_SCARA_KINEMATICS
|
974 |
| - #define SCARA_FEEDRATE_SCALING // Convert XY feedrate from mm/s to degrees/s on the fly |
| 973 | + #define FEEDRATE_SCALING // Convert XY feedrate from mm/s to degrees/s on the fly |
975 | 974 |
|
976 | 975 | // Radius around the center where the arm cannot reach
|
977 | 976 | #define MIDDLE_DEAD_ZONE_R 0 // (mm)
|
|
1006 | 1005 | #define TPARA_OFFSET_Y 0 // (mm)
|
1007 | 1006 | #define TPARA_OFFSET_Z 0 // (mm)
|
1008 | 1007 |
|
1009 |
| - #define SCARA_FEEDRATE_SCALING // Convert XY feedrate from mm/s to degrees/s on the fly |
| 1008 | + #define FEEDRATE_SCALING // Convert XY feedrate from mm/s to degrees/s on the fly |
1010 | 1009 |
|
1011 | 1010 | // Radius around the center where the arm cannot reach
|
1012 | 1011 | #define MIDDLE_DEAD_ZONE_R 0 // (mm)
|
|
1016 | 1015 | #define PSI_HOMING_OFFSET 0
|
1017 | 1016 | #endif
|
1018 | 1017 |
|
| 1018 | +// @section polar |
| 1019 | + |
| 1020 | +/** |
| 1021 | + * POLAR Kinematics |
| 1022 | + * developed by Kadir ilkimen for PolarBear CNC and babyBear |
| 1023 | + * https://github.com/kadirilkimen/Polar-Bear-Cnc-Machine |
| 1024 | + * https://github.com/kadirilkimen/babyBear-3D-printer |
| 1025 | + * |
| 1026 | + * A polar machine can have different configurations. |
| 1027 | + * This kinematics is only compatible with the following configuration: |
| 1028 | + * X : Independent linear |
| 1029 | + * Y or B : Polar |
| 1030 | + * Z : Independent linear |
| 1031 | + * |
| 1032 | + * For example, PolarBear has CoreXZ plus Polar Y or B. |
| 1033 | + * |
| 1034 | + * Motion problem for Polar axis near center / origin: |
| 1035 | + * |
| 1036 | + * 3D printing: |
| 1037 | + * Movements very close to the center of the polar axis take more time than others. |
| 1038 | + * This brief delay results in more material deposition due to the pressure in the nozzle. |
| 1039 | + * |
| 1040 | + * Current Kinematics and feedrate scaling deals with this by making the movement as fast |
| 1041 | + * as possible. It works for slow movements but doesn't work well with fast ones. A more |
| 1042 | + * complicated extrusion compensation must be implemented. |
| 1043 | + * |
| 1044 | + * Ideally, it should estimate that a long rotation near the center is ahead and will cause |
| 1045 | + * unwanted deposition. Therefore it can compensate the extrusion beforehand. |
| 1046 | + * |
| 1047 | + * Laser cutting: |
| 1048 | + * Same thing would be a problem for laser engraving too. As it spends time rotating at the |
| 1049 | + * center point, more likely it will burn more material than it should. Therefore similar |
| 1050 | + * compensation would be implemented for laser-cutting operations. |
| 1051 | + * |
| 1052 | + * Milling: |
| 1053 | + * This shouldn't be a problem for cutting/milling operations. |
| 1054 | + */ |
| 1055 | +//#define POLAR |
| 1056 | +#if ENABLED(POLAR) |
| 1057 | + #define DEFAULT_SEGMENTS_PER_SECOND 180 // If movement is choppy try lowering this value |
| 1058 | + #define PRINTABLE_RADIUS 82.0f // (mm) Maximum travel of X axis |
| 1059 | + |
| 1060 | + // Movements fall inside POLAR_FAST_RADIUS are assigned the highest possible feedrate |
| 1061 | + // to compensate unwanted deposition related to the near-origin motion problem. |
| 1062 | + #define POLAR_FAST_RADIUS 3.0f // (mm) |
| 1063 | + |
| 1064 | + // Radius which is unreachable by the tool. |
| 1065 | + // Needed if the tool is not perfectly aligned to the center of the polar axis. |
| 1066 | + #define POLAR_CENTER_OFFSET 0.0f // (mm) |
| 1067 | + |
| 1068 | + #define FEEDRATE_SCALING // Convert XY feedrate from mm/s to degrees/s on the fly |
| 1069 | +#endif |
| 1070 | + |
1019 | 1071 | // @section machine
|
1020 | 1072 |
|
1021 | 1073 | // Articulated robot (arm). Joints are directly mapped to axes with no kinematics.
|
|
1422 | 1474 | // 2 or 3 sets of coordinates for deploying and retracting the spring loaded touch probe on G29,
|
1423 | 1475 | // if servo actuated touch probe is not defined. Uncomment as appropriate for your printer/probe.
|
1424 | 1476 |
|
1425 |
| - #define Z_PROBE_ALLEN_KEY_DEPLOY_1 { 30.0, DELTA_PRINTABLE_RADIUS, 100.0 } |
| 1477 | + #define Z_PROBE_ALLEN_KEY_DEPLOY_1 { 30.0, PRINTABLE_RADIUS, 100.0 } |
1426 | 1478 | #define Z_PROBE_ALLEN_KEY_DEPLOY_1_FEEDRATE XY_PROBE_FEEDRATE
|
1427 | 1479 |
|
1428 |
| - #define Z_PROBE_ALLEN_KEY_DEPLOY_2 { 0.0, DELTA_PRINTABLE_RADIUS, 100.0 } |
| 1480 | + #define Z_PROBE_ALLEN_KEY_DEPLOY_2 { 0.0, PRINTABLE_RADIUS, 100.0 } |
1429 | 1481 | #define Z_PROBE_ALLEN_KEY_DEPLOY_2_FEEDRATE (XY_PROBE_FEEDRATE)/10
|
1430 | 1482 |
|
1431 |
| - #define Z_PROBE_ALLEN_KEY_DEPLOY_3 { 0.0, (DELTA_PRINTABLE_RADIUS) * 0.75, 100.0 } |
| 1483 | + #define Z_PROBE_ALLEN_KEY_DEPLOY_3 { 0.0, (PRINTABLE_RADIUS) * 0.75, 100.0 } |
1432 | 1484 | #define Z_PROBE_ALLEN_KEY_DEPLOY_3_FEEDRATE XY_PROBE_FEEDRATE
|
1433 | 1485 |
|
1434 | 1486 | #define Z_PROBE_ALLEN_KEY_STOW_1 { -64.0, 56.0, 23.0 } // Move the probe into position
|
|
1918 | 1970 | #endif
|
1919 | 1971 |
|
1920 | 1972 | #if ANY(MESH_BED_LEVELING, AUTO_BED_LEVELING_BILINEAR, AUTO_BED_LEVELING_UBL)
|
1921 |
| - // Gradually reduce leveling correction until a set height is reached, |
1922 |
| - // at which point movement will be level to the machine's XY plane. |
1923 |
| - // The height can be set with M420 Z<height> |
| 1973 | + /** |
| 1974 | + * Gradually reduce leveling correction until a set height is reached, |
| 1975 | + * at which point movement will be level to the machine's XY plane. |
| 1976 | + * The height can be set with M420 Z<height> |
| 1977 | + */ |
1924 | 1978 | #define ENABLE_LEVELING_FADE_HEIGHT
|
1925 | 1979 | #if ENABLED(ENABLE_LEVELING_FADE_HEIGHT)
|
1926 | 1980 | #define DEFAULT_LEVELING_FADE_HEIGHT 10.0 // (mm) Default fade height.
|
1927 | 1981 | #endif
|
1928 | 1982 |
|
1929 |
| - // For Cartesian machines, instead of dividing moves on mesh boundaries, |
1930 |
| - // split up moves into short segments like a Delta. This follows the |
1931 |
| - // contours of the bed more closely than edge-to-edge straight moves. |
| 1983 | + /** |
| 1984 | + * For Cartesian machines, instead of dividing moves on mesh boundaries, |
| 1985 | + * split up moves into short segments like a Delta. This follows the |
| 1986 | + * contours of the bed more closely than edge-to-edge straight moves. |
| 1987 | + */ |
1932 | 1988 | #define SEGMENT_LEVELED_MOVES
|
1933 | 1989 | #define LEVELED_SEGMENT_LENGTH 5.0 // (mm) Length of all segments (except the last one)
|
1934 | 1990 |
|
|
1964 | 2020 | //#define EXTRAPOLATE_BEYOND_GRID
|
1965 | 2021 |
|
1966 | 2022 | //
|
1967 |
| - // Experimental Subdivision of the grid by Catmull-Rom method. |
| 2023 | + // Subdivision of the grid by Catmull-Rom method. |
1968 | 2024 | // Synthesizes intermediate points to produce a more detailed mesh.
|
1969 | 2025 | //
|
1970 | 2026 | //#define ABL_BILINEAR_SUBDIVISION
|
|
2249 | 2305 | #endif
|
2250 | 2306 |
|
2251 | 2307 | /**
|
2252 |
| - * Clean Nozzle Feature -- EXPERIMENTAL |
| 2308 | + * Clean Nozzle Feature |
2253 | 2309 | *
|
2254 | 2310 | * Adds the G12 command to perform a nozzle cleaning process.
|
2255 | 2311 | *
|
|
2283 | 2339 | * Before starting, the nozzle moves to NOZZLE_CLEAN_START_POINT.
|
2284 | 2340 | *
|
2285 | 2341 | * Caveats: The ending Z should be the same as starting Z.
|
2286 |
| - * Attention: EXPERIMENTAL. G-code arguments may change. |
2287 | 2342 | */
|
2288 | 2343 | //#define NOZZLE_CLEAN_FEATURE
|
2289 | 2344 |
|
|
2739 | 2794 |
|
2740 | 2795 | //
|
2741 | 2796 | // ReprapWorld Graphical LCD
|
2742 |
| -// https://reprapworld.com/?products_details&products_id/1218 |
| 2797 | +// https://reprapworld.com/electronics/3d-printer-modules/autonomous-printing/graphical-lcd-screen-v1-0/ |
2743 | 2798 | //
|
2744 | 2799 | //#define REPRAPWORLD_GRAPHICAL_LCD
|
2745 | 2800 |
|
|
2937 | 2992 |
|
2938 | 2993 | /**
|
2939 | 2994 | * DGUS Touch Display with DWIN OS. (Choose one.)
|
2940 |
| - * ORIGIN : https://www.aliexpress.com/item/32993409517.html |
2941 |
| - * FYSETC : https://www.aliexpress.com/item/32961471929.html |
2942 |
| - * MKS : https://www.aliexpress.com/item/1005002008179262.html |
2943 |
| - * |
2944 |
| - * Flash display with DGUS Displays for Marlin: |
2945 |
| - * - Format the SD card to FAT32 with an allocation size of 4kb. |
2946 |
| - * - Download files as specified for your type of display. |
2947 |
| - * - Plug the microSD card into the back of the display. |
2948 |
| - * - Boot the display and wait for the update to complete. |
2949 | 2995 | *
|
2950 | 2996 | * ORIGIN (Marlin DWIN_SET)
|
2951 | 2997 | * - Download https://github.com/coldtobi/Marlin_DGUS_Resources
|
2952 | 2998 | * - Copy the downloaded DWIN_SET folder to the SD card.
|
| 2999 | + * - Product: https://www.aliexpress.com/item/32993409517.html |
2953 | 3000 | *
|
2954 | 3001 | * FYSETC (Supplier default)
|
2955 | 3002 | * - Download https://github.com/FYSETC/FYSTLCD-2.0
|
2956 | 3003 | * - Copy the downloaded SCREEN folder to the SD card.
|
| 3004 | + * - Product: https://www.aliexpress.com/item/32961471929.html |
2957 | 3005 | *
|
2958 | 3006 | * HIPRECY (Supplier default)
|
2959 | 3007 | * - Download https://github.com/HiPrecy/Touch-Lcd-LEO
|
|
2962 | 3010 | * MKS (MKS-H43) (Supplier default)
|
2963 | 3011 | * - Download https://github.com/makerbase-mks/MKS-H43
|
2964 | 3012 | * - Copy the downloaded DWIN_SET folder to the SD card.
|
| 3013 | + * - Product: https://www.aliexpress.com/item/1005002008179262.html |
2965 | 3014 | *
|
2966 | 3015 | * RELOADED (T5UID1)
|
2967 | 3016 | * - Download https://github.com/Desuuuu/DGUS-reloaded/releases
|
2968 | 3017 | * - Copy the downloaded DWIN_SET folder to the SD card.
|
| 3018 | + * |
| 3019 | + * IA_CREALITY (T5UID1) |
| 3020 | + * - Download https://github.com/InsanityAutomation/Marlin/raw/CrealityDwin2.0_Bleeding/TM3D_Combined480272_Landscape_V7.7z |
| 3021 | + * - Copy the downloaded DWIN_SET folder to the SD card. |
| 3022 | + * |
| 3023 | + * Flash display with DGUS Displays for Marlin: |
| 3024 | + * - Format the SD card to FAT32 with an allocation size of 4kb. |
| 3025 | + * - Download files as specified for your type of display. |
| 3026 | + * - Plug the microSD card into the back of the display. |
| 3027 | + * - Boot the display and wait for the update to complete. |
2969 | 3028 | */
|
2970 |
| -//#define DGUS_LCD_UI_ORIGIN |
2971 |
| -//#define DGUS_LCD_UI_FYSETC |
2972 |
| -//#define DGUS_LCD_UI_HIPRECY |
2973 |
| -//#define DGUS_LCD_UI_MKS |
2974 |
| -//#define DGUS_LCD_UI_RELOADED |
2975 |
| -#if ENABLED(DGUS_LCD_UI_MKS) |
| 3029 | +//#define DGUS_LCD_UI ORIGIN |
| 3030 | +#if DGUS_UI_IS(MKS) |
2976 | 3031 | #define USE_MKS_GREEN_UI
|
2977 | 3032 | #endif
|
2978 | 3033 |
|
|
3130 | 3185 | //#define TFT_COLOR_UI
|
3131 | 3186 | //#define TFT_LVGL_UI
|
3132 | 3187 |
|
| 3188 | +#if ENABLED(TFT_COLOR_UI) |
| 3189 | + /** |
| 3190 | + * TFT Font for Color_UI. Choose one of the following: |
| 3191 | + * |
| 3192 | + * NOTOSANS - Default font with antialiasing. Supports Latin Extended and non-Latin characters. |
| 3193 | + * UNIFONT - Lightweight font, no antialiasing. Supports Latin Extended and non-Latin characters. |
| 3194 | + * HELVETICA - Lightweight font, no antialiasing. Supports Basic Latin (0x0020-0x007F) and Latin-1 Supplement (0x0080-0x00FF) characters only. |
| 3195 | + */ |
| 3196 | + #define TFT_FONT NOTOSANS |
| 3197 | + |
| 3198 | + //#define TFT_SHARED_SPI // SPI is shared between TFT display and other devices. Disable async data transfer |
| 3199 | +#endif |
| 3200 | + |
3133 | 3201 | #if ENABLED(TFT_LVGL_UI)
|
3134 | 3202 | //#define MKS_WIFI_MODULE // MKS WiFi module
|
3135 | 3203 | #endif
|
|
3278 | 3346 | //#define RGB_LED_G_PIN 43
|
3279 | 3347 | //#define RGB_LED_B_PIN 35
|
3280 | 3348 | //#define RGB_LED_W_PIN -1
|
| 3349 | +#endif |
| 3350 | + |
| 3351 | +#if ANY(RGB_LED, RGBW_LED, PCA9632) |
3281 | 3352 | //#define RGB_STARTUP_TEST // For PWM pins, fade between all colors
|
3282 | 3353 | #if ENABLED(RGB_STARTUP_TEST)
|
3283 | 3354 | #define RGB_STARTUP_TEST_INNER_MS 10 // (ms) Reduce or increase fading speed
|
|
3303 | 3374 | #define NEOPIXEL2_PIXELS 15 // Number of LEDs in the second strip
|
3304 | 3375 | #define NEOPIXEL2_BRIGHTNESS 127 // Initial brightness (0-255)
|
3305 | 3376 | #define NEOPIXEL2_STARTUP_TEST // Cycle through colors at startup
|
| 3377 | + #define NEOPIXEL_M150_DEFAULT -1 // Default strip for M150 without 'S'. Use -1 to set all by default. |
3306 | 3378 | #else
|
3307 | 3379 | //#define NEOPIXEL2_INSERIES // Default behavior is NeoPixel 2 in parallel
|
3308 | 3380 | #endif
|
|
0 commit comments