Pārlūkot izejas kodu

Enable junction deviation by default (#15481)

Scott Lahteine 4 gadus atpakaļ
vecāks
revīzija
c0005e939c
Revīzijas autora e-pasta adrese nav piesaistīta nevienam kontam
100 mainītis faili ar 1298 papildinājumiem un 1442 dzēšanām
  1. 118
    111
      Marlin/Configuration.h
  2. 18
    18
      Marlin/Configuration_adv.h
  3. 4
    4
      Marlin/src/gcode/config/M200-M205.cpp
  4. 1
    1
      Marlin/src/gcode/config/M92.cpp
  5. 2
    0
      Marlin/src/inc/Conditionals_LCD.h
  6. 2
    1
      Marlin/src/inc/Conditionals_post.h
  7. 7
    5
      Marlin/src/inc/SanityCheck.h
  8. 3
    3
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/advanced_settings_menu.cpp
  9. 2
    2
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_advanced_settings.cpp
  10. 2
    2
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/jerk_screen.cpp
  11. 2
    2
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/junction_deviation_screen.cpp
  12. 1
    1
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/screens.cpp
  13. 2
    2
      Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/screens.h
  14. 1
    1
      Marlin/src/lcd/extensible_ui/ui_api.cpp
  15. 1
    1
      Marlin/src/lcd/extensible_ui/ui_api.h
  16. 2
    2
      Marlin/src/lcd/menu/menu_advanced.cpp
  17. 6
    6
      Marlin/src/module/configuration_store.cpp
  18. 2
    2
      Marlin/src/module/motion.cpp
  19. 17
    17
      Marlin/src/module/planner.cpp
  20. 10
    10
      Marlin/src/module/planner.h
  21. 1
    1
      buildroot/share/tests/megaatmega2560-tests
  22. 14
    16
      config/default/Configuration.h
  23. 14
    16
      config/examples/3DFabXYZ/Migbot/Configuration.h
  24. 14
    16
      config/examples/ADIMLab/Gantry v1/Configuration.h
  25. 14
    16
      config/examples/ADIMLab/Gantry v2/Configuration.h
  26. 14
    16
      config/examples/AlephObjects/TAZ4/Configuration.h
  27. 14
    16
      config/examples/Alfawise/U20-bltouch/Configuration.h
  28. 14
    16
      config/examples/Alfawise/U20/Configuration.h
  29. 14
    16
      config/examples/AliExpress/CL-260/Configuration.h
  30. 14
    16
      config/examples/AliExpress/UM2pExt/Configuration.h
  31. 14
    16
      config/examples/Anet/A2/Configuration.h
  32. 14
    16
      config/examples/Anet/A2plus/Configuration.h
  33. 16
    18
      config/examples/Anet/A6/Configuration.h
  34. 14
    16
      config/examples/Anet/A8/Configuration.h
  35. 14
    16
      config/examples/Anet/A8plus/Configuration.h
  36. 14
    16
      config/examples/Anet/E16/Configuration.h
  37. 14
    16
      config/examples/AnyCubic/i3/Configuration.h
  38. 14
    16
      config/examples/ArmEd/Configuration.h
  39. 14
    16
      config/examples/Azteeg/X5GT/Configuration.h
  40. 14
    16
      config/examples/BIBO/TouchX/cyclops/Configuration.h
  41. 14
    16
      config/examples/BIBO/TouchX/default/Configuration.h
  42. 14
    16
      config/examples/BQ/Hephestos/Configuration.h
  43. 14
    16
      config/examples/BQ/Hephestos_2/Configuration.h
  44. 14
    16
      config/examples/BQ/WITBOX/Configuration.h
  45. 14
    16
      config/examples/Cartesio/Configuration.h
  46. 14
    16
      config/examples/Creality/CR-10/Configuration.h
  47. 14
    16
      config/examples/Creality/CR-10S/Configuration.h
  48. 14
    16
      config/examples/Creality/CR-10_5S/Configuration.h
  49. 14
    16
      config/examples/Creality/CR-10mini/Configuration.h
  50. 14
    16
      config/examples/Creality/CR-20 Pro/Configuration.h
  51. 14
    16
      config/examples/Creality/CR-20/Configuration.h
  52. 14
    16
      config/examples/Creality/CR-8/Configuration.h
  53. 14
    16
      config/examples/Creality/Ender-2/Configuration.h
  54. 14
    16
      config/examples/Creality/Ender-3/Configuration.h
  55. 14
    16
      config/examples/Creality/Ender-4/Configuration.h
  56. 14
    16
      config/examples/Creality/Ender-5/Configuration.h
  57. 14
    16
      config/examples/Dagoma/Disco Ultimate/Configuration.h
  58. 14
    16
      config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration.h
  59. 14
    16
      config/examples/Einstart-S/Configuration.h
  60. 14
    16
      config/examples/FYSETC/AIO_II/Configuration.h
  61. 14
    16
      config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration.h
  62. 14
    16
      config/examples/FYSETC/Cheetah 1.2/base/Configuration.h
  63. 14
    16
      config/examples/FYSETC/Cheetah/BLTouch/Configuration.h
  64. 14
    16
      config/examples/FYSETC/Cheetah/base/Configuration.h
  65. 14
    16
      config/examples/FYSETC/F6_13/Configuration.h
  66. 14
    16
      config/examples/Felix/DUAL/Configuration.h
  67. 14
    16
      config/examples/Felix/Single/Configuration.h
  68. 14
    16
      config/examples/FlashForge/CreatorPro/Configuration.h
  69. 14
    16
      config/examples/FolgerTech/i3-2020/Configuration.h
  70. 14
    16
      config/examples/Formbot/Raptor/Configuration.h
  71. 14
    16
      config/examples/Formbot/T_Rex_2+/Configuration.h
  72. 14
    16
      config/examples/Formbot/T_Rex_3/Configuration.h
  73. 14
    16
      config/examples/Geeetech/A10/Configuration.h
  74. 14
    16
      config/examples/Geeetech/A10M/Configuration.h
  75. 14
    16
      config/examples/Geeetech/A20M/Configuration.h
  76. 14
    16
      config/examples/Geeetech/GT2560/Configuration.h
  77. 14
    16
      config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h
  78. 14
    16
      config/examples/Geeetech/MeCreator2/Configuration.h
  79. 14
    16
      config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h
  80. 14
    16
      config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h
  81. 14
    16
      config/examples/Geeetech/Prusa i3 Pro C/Configuration.h
  82. 14
    16
      config/examples/Geeetech/Prusa i3 Pro W/Configuration.h
  83. 14
    16
      config/examples/HMS434/Configuration.h
  84. 14
    16
      config/examples/Infitary/i3-M508/Configuration.h
  85. 14
    16
      config/examples/JGAurora/A1/Configuration.h
  86. 14
    16
      config/examples/JGAurora/A5/Configuration.h
  87. 14
    16
      config/examples/JGAurora/A5S/Configuration.h
  88. 14
    16
      config/examples/MakerParts/Configuration.h
  89. 14
    16
      config/examples/Malyan/M150/Configuration.h
  90. 14
    16
      config/examples/Malyan/M200/Configuration.h
  91. 14
    16
      config/examples/Micromake/C1/basic/Configuration.h
  92. 14
    16
      config/examples/Micromake/C1/enhanced/Configuration.h
  93. 14
    16
      config/examples/Mks/Robin/Configuration.h
  94. 14
    16
      config/examples/Mks/Sbase/Configuration.h
  95. 14
    16
      config/examples/Printrbot/PrintrboardG2/Configuration.h
  96. 14
    16
      config/examples/RapideLite/RL200/Configuration.h
  97. 14
    16
      config/examples/RepRapPro/Huxley/Configuration.h
  98. 14
    16
      config/examples/RepRapWorld/Megatronics/Configuration.h
  99. 14
    16
      config/examples/RigidBot/Configuration.h
  100. 0
    0
      config/examples/SCARA/Configuration.h

+ 118
- 111
Marlin/Configuration.h Parādīt failu

@@ -55,18 +55,45 @@
55 55
  */
56 56
 
57 57
 //===========================================================================
58
-//============================= DELTA Printer ===============================
58
+//============================= SCARA Printer ===============================
59 59
 //===========================================================================
60
-// For a Delta printer start with one of the configuration files in the
61
-// config/examples/delta directory and customize for your machine.
62
-//
60
+
61
+/**
62
+ * MORGAN_SCARA was developed by QHARLEY in South Africa in 2012-2013.
63
+ * Implemented and slightly reworked by JCERNY in June, 2014.
64
+ */
65
+
66
+// Specify the specific SCARA model
67
+#define MORGAN_SCARA
68
+
69
+#if ENABLED(MORGAN_SCARA)
70
+
71
+  //#define DEBUG_SCARA_KINEMATICS
72
+  #define SCARA_FEEDRATE_SCALING // Convert XY feedrate from mm/s to degrees/s on the fly
73
+
74
+  // If movement is choppy try lowering this value
75
+  #define SCARA_SEGMENTS_PER_SECOND 200
76
+
77
+  // Length of inner and outer support arms. Measure arm lengths precisely.
78
+  #define SCARA_LINKAGE_1 150 //mm
79
+  #define SCARA_LINKAGE_2 150 //mm
80
+
81
+  // SCARA tower offset (position of Tower relative to bed zero position)
82
+  // This needs to be reasonably accurate as it defines the printbed position in the SCARA space.
83
+  #define SCARA_OFFSET_X 100 //mm
84
+  #define SCARA_OFFSET_Y -56 //mm
85
+
86
+  // Radius around the center where the arm cannot reach
87
+  #define MIDDLE_DEAD_ZONE_R 0 //mm
88
+
89
+  #define THETA_HOMING_OFFSET 0  //calculatated from Calibration Guide and command M360 / M114 see picture in http://reprap.harleystudio.co.za/?page_id=1073
90
+  #define PSI_HOMING_OFFSET   0  //calculatated from Calibration Guide and command M364 / M114 see picture in http://reprap.harleystudio.co.za/?page_id=1073
91
+
92
+#endif
63 93
 
64 94
 //===========================================================================
65
-//============================= SCARA Printer ===============================
95
+//==================== END ==== SCARA Printer ==== END ======================
66 96
 //===========================================================================
67
-// For a SCARA printer start with the configuration files in
68
-// config/examples/SCARA and customize for your machine.
69
-//
70 97
 
71 98
 // @section info
72 99
 
@@ -133,7 +160,7 @@
133 160
 #endif
134 161
 
135 162
 // Name displayed in the LCD "Ready" message and Info menu
136
-//#define CUSTOM_MACHINE_NAME "3D Printer"
163
+#define CUSTOM_MACHINE_NAME "SCARA"
137 164
 
138 165
 // Printer's unique ID, used by some programs to differentiate between machines.
139 166
 // Choose your own or use a service like http://www.uuidgenerator.net/version4
@@ -320,7 +347,7 @@
320 347
  * Enable and connect the power supply to the PS_ON_PIN.
321 348
  * Specify whether the power supply is active HIGH or active LOW.
322 349
  */
323
-//#define PSU_CONTROL
350
+#define PSU_CONTROL
324 351
 //#define PSU_NAME "Power Supply"
325 352
 
326 353
 #if ENABLED(PSU_CONTROL)
@@ -409,7 +436,7 @@
409 436
 #define TEMP_SENSOR_3 0
410 437
 #define TEMP_SENSOR_4 0
411 438
 #define TEMP_SENSOR_5 0
412
-#define TEMP_SENSOR_BED 0
439
+#define TEMP_SENSOR_BED 1
413 440
 #define TEMP_SENSOR_CHAMBER 0
414 441
 
415 442
 // Dummy thermistor constant temperature readings, for use with 998 and 999
@@ -421,11 +448,11 @@
421 448
 //#define TEMP_SENSOR_1_AS_REDUNDANT
422 449
 #define MAX_REDUNDANT_TEMP_SENSOR_DIFF 10
423 450
 
424
-#define TEMP_RESIDENCY_TIME     10  // (seconds) Time to wait for hotend to "settle" in M109
425
-#define TEMP_WINDOW              1  // (°C) Temperature proximity for the "temperature reached" timer
426
-#define TEMP_HYSTERESIS          3  // (°C) Temperature proximity considered "close enough" to the target
451
+#define TEMP_RESIDENCY_TIME 3  // (seconds) Time to wait for hotend to "settle" in M109
452
+#define TEMP_HYSTERESIS 2       // (°C) Temperature proximity considered "close enough" to the target
453
+#define TEMP_WINDOW     1       // (°C) Temperature proximity for the "temperature reached" timer
427 454
 
428
-#define TEMP_BED_RESIDENCY_TIME 10  // (seconds) Time to wait for bed to "settle" in M190
455
+#define TEMP_BED_RESIDENCY_TIME  0  // (seconds) Time to wait for bed to "settle" in M190
429 456
 #define TEMP_BED_WINDOW          1  // (°C) Temperature proximity for the "temperature reached" timer
430 457
 #define TEMP_BED_HYSTERESIS      3  // (°C) Temperature proximity considered "close enough" to the target
431 458
 
@@ -468,25 +495,13 @@
468 495
   //#define SLOW_PWM_HEATERS      // PWM with very low frequency (roughly 0.125Hz=8s) and minimum state time of approximately 1s useful for heaters driven by a relay
469 496
   //#define PID_PARAMS_PER_HOTEND // Uses separate PID parameters for each extruder (useful for mismatched extruders)
470 497
                                   // Set/get with gcode: M301 E[extruder number, 0-2]
471
-  #define PID_FUNCTIONAL_RANGE 10 // If the temperature difference between the target temperature and the actual temperature
498
+  #define PID_FUNCTIONAL_RANGE 20 // If the temperature difference between the target temperature and the actual temperature
472 499
                                   // is more than PID_FUNCTIONAL_RANGE then the PID will be shut off and the heater will be set to min/max.
473 500
 
474
-  // If you are using a pre-configured hotend then you can use one of the value sets by uncommenting it
475
-
476
-  // Ultimaker
477
-  #define DEFAULT_Kp 22.2
478
-  #define DEFAULT_Ki 1.08
479
-  #define DEFAULT_Kd 114
480
-
481
-  // MakerGear
482
-  //#define DEFAULT_Kp 7.0
483
-  //#define DEFAULT_Ki 0.1
484
-  //#define DEFAULT_Kd 12
485
-
486
-  // Mendel Parts V9 on 12V
487
-  //#define DEFAULT_Kp 63.0
488
-  //#define DEFAULT_Ki 2.25
489
-  //#define DEFAULT_Kd 440
501
+  // Merlin Hotend: From Autotune
502
+  #define DEFAULT_Kp 24.5
503
+  #define DEFAULT_Ki 1.72
504
+  #define DEFAULT_Kd 87.73
490 505
 
491 506
 #endif // PIDTEMP
492 507
 
@@ -507,7 +522,7 @@
507 522
  * heater. If your configuration is significantly different than this and you don't understand
508 523
  * the issues involved, don't use bed PID until someone else verifies that your hardware works.
509 524
  */
510
-//#define PIDTEMPBED
525
+#define PIDTEMPBED
511 526
 
512 527
 //#define BED_LIMIT_SWITCHING
513 528
 
@@ -523,17 +538,11 @@
523 538
   //#define MIN_BED_POWER 0
524 539
   //#define PID_BED_DEBUG // Sends debug data to the serial port.
525 540
 
526
-  //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
527
-  //from FOPDT model - kp=.39 Tp=405 Tdead=66, Tc set to 79.2, aggressive factor of .15 (vs .1, 1, 10)
528
-  #define DEFAULT_bedKp 10.00
529
-  #define DEFAULT_bedKi .023
530
-  #define DEFAULT_bedKd 305.4
531
-
532
-  //120V 250W silicone heater into 4mm borosilicate (MendelMax 1.5+)
541
+  //12v Heatbed Mk3 12V in parallel
533 542
   //from pidautotune
534
-  //#define DEFAULT_bedKp 97.1
535
-  //#define DEFAULT_bedKi 1.41
536
-  //#define DEFAULT_bedKd 1675.16
543
+  #define DEFAULT_bedKp 630.14
544
+  #define DEFAULT_bedKi 121.71
545
+  #define DEFAULT_bedKd 815.64
537 546
 
538 547
   // FIND YOUR OWN: "M303 E-1 C8 S90" to run autotune on the bed at 90 degreesC for 8 cycles.
539 548
 #endif // PIDTEMPBED
@@ -602,23 +611,23 @@
602 611
 // Specify here all the endstop connectors that are connected to any endstop or probe.
603 612
 // Almost all printers will be using one per axis. Probes will use one or more of the
604 613
 // extra connectors. Leave undefined any used for non-endstop and non-probe purposes.
605
-#define USE_XMIN_PLUG
606
-#define USE_YMIN_PLUG
614
+//#define USE_XMIN_PLUG
615
+//#define USE_YMIN_PLUG
607 616
 #define USE_ZMIN_PLUG
608
-//#define USE_XMAX_PLUG
609
-//#define USE_YMAX_PLUG
617
+#define USE_XMAX_PLUG
618
+#define USE_YMAX_PLUG
610 619
 //#define USE_ZMAX_PLUG
611 620
 
612 621
 // Enable pullup for all endstops to prevent a floating state
613
-#define ENDSTOPPULLUPS
622
+//#define ENDSTOPPULLUPS
614 623
 #if DISABLED(ENDSTOPPULLUPS)
615 624
   // Disable ENDSTOPPULLUPS to set pullups individually
616
-  //#define ENDSTOPPULLUP_XMAX
617
-  //#define ENDSTOPPULLUP_YMAX
618
-  //#define ENDSTOPPULLUP_ZMAX
619
-  //#define ENDSTOPPULLUP_XMIN
620
-  //#define ENDSTOPPULLUP_YMIN
621
-  //#define ENDSTOPPULLUP_ZMIN
625
+  #define ENDSTOPPULLUP_XMAX
626
+  #define ENDSTOPPULLUP_YMAX
627
+  //#define ENDSTOPPULLUP_ZMAX  // open pin, inverted
628
+  //#define ENDSTOPPULLUP_XMIN  // open pin, inverted
629
+  //#define ENDSTOPPULLUP_YMIN  // open pin, inverted
630
+  #define ENDSTOPPULLUP_ZMIN
622 631
   //#define ENDSTOPPULLUP_ZMIN_PROBE
623 632
 #endif
624 633
 
@@ -636,13 +645,13 @@
636 645
 #endif
637 646
 
638 647
 // Mechanical endstop with COM to ground and NC to Signal uses "false" here (most common setup).
639
-#define X_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
640
-#define Y_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
641
-#define Z_MIN_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
642
-#define X_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
643
-#define Y_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
644
-#define Z_MAX_ENDSTOP_INVERTING false // Set to true to invert the logic of the endstop.
645
-#define Z_MIN_PROBE_ENDSTOP_INVERTING false // Set to true to invert the logic of the probe.
648
+#define X_MIN_ENDSTOP_INVERTING true  // Set to true to invert the logic of the endstop.
649
+#define Y_MIN_ENDSTOP_INVERTING true  // Set to true to invert the logic of the endstop.
650
+#define Z_MIN_ENDSTOP_INVERTING true  // Set to true to invert the logic of the endstop.
651
+#define X_MAX_ENDSTOP_INVERTING false
652
+#define Y_MAX_ENDSTOP_INVERTING true  // Set to true to invert the logic of the endstop.
653
+#define Z_MAX_ENDSTOP_INVERTING true  // Set to true to invert the logic of the endstop.
654
+#define Z_MIN_PROBE_ENDSTOP_INVERTING true  // Set to true to invert the logic of the probe.
646 655
 
647 656
 /**
648 657
  * Stepper Drivers
@@ -659,14 +668,14 @@
659 668
  *          TMC5130, TMC5130_STANDALONE, TMC5160, TMC5160_STANDALONE
660 669
  * :['A4988', 'A5984', 'DRV8825', 'LV8729', 'L6470', 'TB6560', 'TB6600', 'TMC2100', 'TMC2130', 'TMC2130_STANDALONE', 'TMC2160', 'TMC2160_STANDALONE', 'TMC2208', 'TMC2208_STANDALONE', 'TMC2209', 'TMC2209_STANDALONE', 'TMC26X', 'TMC26X_STANDALONE', 'TMC2660', 'TMC2660_STANDALONE', 'TMC5130', 'TMC5130_STANDALONE', 'TMC5160', 'TMC5160_STANDALONE']
661 670
  */
662
-//#define X_DRIVER_TYPE  A4988
663
-//#define Y_DRIVER_TYPE  A4988
664
-//#define Z_DRIVER_TYPE  A4988
671
+#define X_DRIVER_TYPE TMC2209
672
+#define Y_DRIVER_TYPE TMC2130
673
+#define Z_DRIVER_TYPE TMC2130
665 674
 //#define X2_DRIVER_TYPE A4988
666 675
 //#define Y2_DRIVER_TYPE A4988
667 676
 //#define Z2_DRIVER_TYPE A4988
668 677
 //#define Z3_DRIVER_TYPE A4988
669
-//#define E0_DRIVER_TYPE A4988
678
+#define E0_DRIVER_TYPE TMC2660
670 679
 //#define E1_DRIVER_TYPE A4988
671 680
 //#define E2_DRIVER_TYPE A4988
672 681
 //#define E3_DRIVER_TYPE A4988
@@ -716,14 +725,14 @@
716 725
  * Override with M92
717 726
  *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4[, E5]]]]]
718 727
  */
719
-#define DEFAULT_AXIS_STEPS_PER_UNIT   { 80, 80, 4000, 500 }
728
+#define DEFAULT_AXIS_STEPS_PER_UNIT   { 103.69, 106.65, 200/1.25, 1000 }  // default steps per unit for SCARA
720 729
 
721 730
 /**
722 731
  * Default Max Feed Rate (mm/s)
723 732
  * Override with M203
724 733
  *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4[, E5]]]]]
725 734
  */
726
-#define DEFAULT_MAX_FEEDRATE          { 300, 300, 5, 25 }
735
+#define DEFAULT_MAX_FEEDRATE          { 300, 300, 30, 25 }
727 736
 
728 737
 //#define LIMITED_MAX_FR_EDITING        // Limit edit via M203 or LCD to DEFAULT_MAX_FEEDRATE * 2
729 738
 #if ENABLED(LIMITED_MAX_FR_EDITING)
@@ -736,7 +745,7 @@
736 745
  * Override with M201
737 746
  *                                      X, Y, Z, E0 [, E1[, E2[, E3[, E4[, E5]]]]]
738 747
  */
739
-#define DEFAULT_MAX_ACCELERATION      { 3000, 3000, 100, 10000 }
748
+#define DEFAULT_MAX_ACCELERATION      { 300, 300, 20, 1000 }
740 749
 
741 750
 //#define LIMITED_MAX_ACCEL_EDITING     // Limit edit via M201 or LCD to DEFAULT_MAX_ACCELERATION * 2
742 751
 #if ENABLED(LIMITED_MAX_ACCEL_EDITING)
@@ -751,35 +760,22 @@
751 760
  *   M204 R    Retract Acceleration
752 761
  *   M204 T    Travel Acceleration
753 762
  */
754
-#define DEFAULT_ACCELERATION          3000    // X, Y, Z and E acceleration for printing moves
755
-#define DEFAULT_RETRACT_ACCELERATION  3000    // E acceleration for retracts
756
-#define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
757
-
758
-/**
759
- * Junction Deviation
760
- *
761
- * Use Junction Deviation instead of traditional Jerk Limiting
762
- *
763
- * See:
764
- *   https://reprap.org/forum/read.php?1,739819
765
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
766
- */
767
-//#define JUNCTION_DEVIATION
768
-#if ENABLED(JUNCTION_DEVIATION)
769
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
770
-#endif
763
+#define DEFAULT_ACCELERATION          400    // X, Y, Z and E acceleration for printing moves
764
+#define DEFAULT_RETRACT_ACCELERATION  2000   // E acceleration for retracts
765
+#define DEFAULT_TRAVEL_ACCELERATION   400    // X, Y, Z acceleration for travel (non printing) moves
771 766
 
772 767
 /**
773
- * Default Jerk (mm/s)
768
+ * Default Jerk limits (mm/s)
774 769
  * Override with M205 X Y Z E
775 770
  *
776 771
  * "Jerk" specifies the minimum speed change that requires acceleration.
777 772
  * When changing speed and direction, if the difference is less than the
778 773
  * value set here, it may happen instantaneously.
779 774
  */
780
-#if DISABLED(JUNCTION_DEVIATION)
781
-  #define DEFAULT_XJERK 10.0
782
-  #define DEFAULT_YJERK 10.0
775
+#define CLASSIC_JERK
776
+#if ENABLED(CLASSIC_JERK)
777
+  #define DEFAULT_XJERK  5.0
778
+  #define DEFAULT_YJERK  5.0
783 779
   #define DEFAULT_ZJERK  0.3
784 780
 
785 781
   //#define LIMITED_JERK_EDITING        // Limit edit via M205 or LCD to DEFAULT_aJERK * 2
@@ -788,7 +784,18 @@
788 784
   #endif
789 785
 #endif
790 786
 
791
-#define DEFAULT_EJERK    5.0  // May be used by Linear Advance
787
+#define DEFAULT_EJERK    3.0  // May be used by Linear Advance
788
+
789
+/**
790
+ * Junction Deviation Factor
791
+ *
792
+ * See:
793
+ *   https://reprap.org/forum/read.php?1,739819
794
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
795
+ */
796
+#if DISABLED(CLASSIC_JERK)
797
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
798
+#endif
792 799
 
793 800
 /**
794 801
  * S-Curve Acceleration
@@ -853,7 +860,7 @@
853 860
  * A Fix-Mounted Probe either doesn't deploy or needs manual deployment.
854 861
  *   (e.g., an inductive probe or a nozzle-based probe-switch.)
855 862
  */
856
-//#define FIX_MOUNTED_PROBE
863
+#define FIX_MOUNTED_PROBE
857 864
 
858 865
 /**
859 866
  * Z Servo Probe, such as an endstop switch on a rotating arm.
@@ -921,7 +928,7 @@
921 928
  *
922 929
  * Specify a Probe position as { X, Y, Z }
923 930
  */
924
-#define NOZZLE_TO_PROBE_OFFSET { 10, 10, 0 }
931
+#define NOZZLE_TO_PROBE_OFFSET { -25, -29, -12.35 }
925 932
 
926 933
 // Certain types of probes need to stay away from edges
927 934
 #define MIN_PROBE_EDGE 10
@@ -961,7 +968,7 @@
961 968
  * Example: `M851 Z-5` with a CLEARANCE of 4  =>  9mm from bed to nozzle.
962 969
  *     But: `M851 Z+1` with a CLEARANCE of 2  =>  2mm from bed to nozzle.
963 970
  */
964
-#define Z_CLEARANCE_DEPLOY_PROBE   10 // Z Clearance for Deploy/Stow
971
+#define Z_CLEARANCE_DEPLOY_PROBE   15 // Z Clearance for Deploy/Stow
965 972
 #define Z_CLEARANCE_BETWEEN_PROBES  5 // Z Clearance between probe points
966 973
 #define Z_CLEARANCE_MULTI_PROBE     5 // Z Clearance between multiple probes
967 974
 //#define Z_AFTER_PROBING           5 // Z position after probing is done
@@ -976,7 +983,7 @@
976 983
 //#define Z_MIN_PROBE_REPEATABILITY_TEST
977 984
 
978 985
 // Before deploy/stow pause for user confirmation
979
-//#define PAUSE_BEFORE_DEPLOY_STOW
986
+#define PAUSE_BEFORE_DEPLOY_STOW
980 987
 #if ENABLED(PAUSE_BEFORE_DEPLOY_STOW)
981 988
   //#define PAUSE_PROBE_DEPLOY_WHEN_TRIGGERED // For Manual Deploy Allenkey Probe
982 989
 #endif
@@ -1021,8 +1028,8 @@
1021 1028
 
1022 1029
 // Invert the stepper direction. Change (or reverse the motor connector) if an axis goes the wrong way.
1023 1030
 #define INVERT_X_DIR false
1024
-#define INVERT_Y_DIR true
1025
-#define INVERT_Z_DIR false
1031
+#define INVERT_Y_DIR false
1032
+#define INVERT_Z_DIR true
1026 1033
 
1027 1034
 // @section extruder
1028 1035
 
@@ -1045,8 +1052,8 @@
1045 1052
 
1046 1053
 // Direction of endstops when homing; 1=MAX, -1=MIN
1047 1054
 // :[-1,1]
1048
-#define X_HOME_DIR -1
1049
-#define Y_HOME_DIR -1
1055
+#define X_HOME_DIR 1
1056
+#define Y_HOME_DIR 1
1050 1057
 #define Z_HOME_DIR -1
1051 1058
 
1052 1059
 // @section machine
@@ -1058,10 +1065,10 @@
1058 1065
 // Travel limits (mm) after homing, corresponding to endstop positions.
1059 1066
 #define X_MIN_POS 0
1060 1067
 #define Y_MIN_POS 0
1061
-#define Z_MIN_POS 0
1068
+#define Z_MIN_POS MANUAL_Z_HOME_POS
1062 1069
 #define X_MAX_POS X_BED_SIZE
1063 1070
 #define Y_MAX_POS Y_BED_SIZE
1064
-#define Z_MAX_POS 200
1071
+#define Z_MAX_POS 225
1065 1072
 
1066 1073
 /**
1067 1074
  * Software Endstops
@@ -1164,7 +1171,7 @@
1164 1171
  */
1165 1172
 //#define AUTO_BED_LEVELING_3POINT
1166 1173
 //#define AUTO_BED_LEVELING_LINEAR
1167
-//#define AUTO_BED_LEVELING_BILINEAR
1174
+#define AUTO_BED_LEVELING_BILINEAR
1168 1175
 //#define AUTO_BED_LEVELING_UBL
1169 1176
 //#define MESH_BED_LEVELING
1170 1177
 
@@ -1302,9 +1309,9 @@
1302 1309
 
1303 1310
 // Manually set the home position. Leave these undefined for automatic settings.
1304 1311
 // For DELTA this is the top-center of the Cartesian print volume.
1305
-//#define MANUAL_X_HOME_POS 0
1306
-//#define MANUAL_Y_HOME_POS 0
1307
-//#define MANUAL_Z_HOME_POS 0
1312
+#define MANUAL_X_HOME_POS -22
1313
+#define MANUAL_Y_HOME_POS -52
1314
+#define MANUAL_Z_HOME_POS 0.1
1308 1315
 
1309 1316
 // Use "Z Safe Homing" to avoid homing with a Z probe outside the bed area.
1310 1317
 //
@@ -1323,8 +1330,8 @@
1323 1330
 #endif
1324 1331
 
1325 1332
 // Homing speeds (mm/m)
1326
-#define HOMING_FEEDRATE_XY (50*60)
1327
-#define HOMING_FEEDRATE_Z  (4*60)
1333
+#define HOMING_FEEDRATE_XY (40*60)
1334
+#define HOMING_FEEDRATE_Z  (10*60)
1328 1335
 
1329 1336
 // Validate that endstops are triggered on homing moves
1330 1337
 #define VALIDATE_HOMING_ENDSTOPS
@@ -1401,7 +1408,7 @@
1401 1408
  *   M501 - Read settings from EEPROM. (i.e., Throw away unsaved changes)
1402 1409
  *   M502 - Revert settings to "factory" defaults. (Follow with M500 to init the EEPROM.)
1403 1410
  */
1404
-//#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1411
+#define EEPROM_SETTINGS     // Persistent storage with M500 and M501
1405 1412
 //#define DISABLE_M503        // Saves ~2700 bytes of PROGMEM. Disable for release!
1406 1413
 #define EEPROM_CHITCHAT       // Give feedback on EEPROM commands. Disable to save PROGMEM.
1407 1414
 #if ENABLED(EEPROM_SETTINGS)
@@ -1439,12 +1446,12 @@
1439 1446
 #define PREHEAT_1_LABEL       "PLA"
1440 1447
 #define PREHEAT_1_TEMP_HOTEND 180
1441 1448
 #define PREHEAT_1_TEMP_BED     70
1442
-#define PREHEAT_1_FAN_SPEED     0 // Value from 0 to 255
1449
+#define PREHEAT_1_FAN_SPEED   255 // Value from 0 to 255
1443 1450
 
1444 1451
 #define PREHEAT_2_LABEL       "ABS"
1445 1452
 #define PREHEAT_2_TEMP_HOTEND 240
1446
-#define PREHEAT_2_TEMP_BED    110
1447
-#define PREHEAT_2_FAN_SPEED     0 // Value from 0 to 255
1453
+#define PREHEAT_2_TEMP_BED    100
1454
+#define PREHEAT_2_FAN_SPEED   255 // Value from 0 to 255
1448 1455
 
1449 1456
 /**
1450 1457
  * Nozzle Park
@@ -1740,7 +1747,7 @@
1740 1747
 //
1741 1748
 // ULTIMAKER Controller.
1742 1749
 //
1743
-//#define ULTIMAKERCONTROLLER
1750
+#define ULTIMAKERCONTROLLER
1744 1751
 
1745 1752
 //
1746 1753
 // ULTIPANEL as seen on Thingiverse.

+ 18
- 18
Marlin/Configuration_adv.h Parādīt failu

@@ -114,7 +114,7 @@
114 114
 #endif
115 115
 
116 116
 #if DISABLED(PIDTEMPBED)
117
-  #define BED_CHECK_INTERVAL 5000 // ms between checks in bang-bang control
117
+  #define BED_CHECK_INTERVAL 3000 // ms between checks in bang-bang control
118 118
   #if ENABLED(BED_LIMIT_SWITCHING)
119 119
     #define BED_HYSTERESIS 2 // Only disable heating if T>target+BED_HYSTERESIS and enable heating if T>target-BED_HYSTERESIS
120 120
   #endif
@@ -215,7 +215,7 @@
215 215
 #endif
216 216
 
217 217
 // Show extra position information with 'M114 D'
218
-//#define M114_DETAIL
218
+#define M114_DETAIL
219 219
 
220 220
 // Show Temperature ADC value
221 221
 // Enable for M105 to include ADC values read from temperature sensors.
@@ -257,8 +257,8 @@
257 257
 #if ENABLED(EXTRUDER_RUNOUT_PREVENT)
258 258
   #define EXTRUDER_RUNOUT_MINTEMP 190
259 259
   #define EXTRUDER_RUNOUT_SECONDS 30
260
-  #define EXTRUDER_RUNOUT_SPEED 1500  // (mm/m)
261
-  #define EXTRUDER_RUNOUT_EXTRUDE 5   // (mm)
260
+  #define EXTRUDER_RUNOUT_SPEED 180  // (mm/m)
261
+  #define EXTRUDER_RUNOUT_EXTRUDE 5  // (mm)
262 262
 #endif
263 263
 
264 264
 // @section temperature
@@ -516,9 +516,9 @@
516 516
 // @section homing
517 517
 
518 518
 // Homing hits each endstop, retracts by these distances, then does a slower bump.
519
-#define X_HOME_BUMP_MM 5
520
-#define Y_HOME_BUMP_MM 5
521
-#define Z_HOME_BUMP_MM 2
519
+#define X_HOME_BUMP_MM 3
520
+#define Y_HOME_BUMP_MM 3
521
+#define Z_HOME_BUMP_MM 3
522 522
 #define HOMING_BUMP_DIVISOR { 2, 2, 4 }  // Re-Bump Speed Divisor (Divides the Homing Feedrate)
523 523
 //#define QUICK_HOME                     // If homing includes X and Y, do a diagonal move initially
524 524
 //#define HOMING_BACKOFF_MM { 2, 2, 2 }  // (mm) Move away from the endstops after homing
@@ -635,7 +635,7 @@
635 635
 // Default stepper release if idle. Set to 0 to deactivate.
636 636
 // Steppers will shut down DEFAULT_STEPPER_DEACTIVE_TIME seconds after the last move when DISABLE_INACTIVE_? is true.
637 637
 // Time can be set by M18 and M84.
638
-#define DEFAULT_STEPPER_DEACTIVE_TIME 120
638
+#define DEFAULT_STEPPER_DEACTIVE_TIME 240
639 639
 #define DISABLE_INACTIVE_X true
640 640
 #define DISABLE_INACTIVE_Y true
641 641
 #define DISABLE_INACTIVE_Z true  // Set to false if the nozzle will fall down on your printed part when print has finished.
@@ -650,7 +650,7 @@
650 650
 #define DEFAULT_MINSEGMENTTIME        20000   // (ms)
651 651
 
652 652
 // If defined the movements slow down when the look ahead buffer is only half full
653
-#define SLOWDOWN
653
+//#define SLOWDOWN
654 654
 
655 655
 // Frequency limit
656 656
 // See nophead's blog for more info
@@ -824,7 +824,7 @@
824 824
 // @section lcd
825 825
 
826 826
 #if EITHER(ULTIPANEL, EXTENSIBLE_UI)
827
-  #define MANUAL_FEEDRATE { 50*60, 50*60, 4*60, 60 } // Feedrates for manual moves along X, Y, Z, E from panel
827
+  #define MANUAL_FEEDRATE { 50*60, 50*60, 10*60, 60 }  // Feedrates for manual moves along X, Y, Z, E from panel
828 828
   #define SHORT_MANUAL_Z_MOVE 0.025 // (mm) Smallest manual Z move (< 0.1mm)
829 829
   #if ENABLED(ULTIPANEL)
830 830
     #define MANUAL_E_MOVES_RELATIVE // Display extruder move distance rather than "position"
@@ -919,7 +919,7 @@
919 919
 
920 920
   //#define MENU_ADDAUTOSTART               // Add a menu option to run auto#.g files
921 921
 
922
-  #define EVENT_GCODE_SD_STOP "G28XY"       // G-code to run on Stop Print (e.g., "G28XY" or "G27")
922
+  //#define EVENT_GCODE_SD_STOP "G28XY"     // G-code to run on Stop Print (e.g., "G28XY" or "G27")
923 923
 
924 924
   /**
925 925
    * Continue after Power-Loss (Creality3D)
@@ -1587,7 +1587,7 @@
1587 1587
   #endif
1588 1588
   #define RETRACT_LENGTH 3                // (mm) Default retract length (positive value)
1589 1589
   #define RETRACT_LENGTH_SWAP 13          // (mm) Default swap retract length (positive value)
1590
-  #define RETRACT_FEEDRATE 45             // (mm/s) Default feedrate for retracting
1590
+  #define RETRACT_FEEDRATE 35             // (mm/s) Default feedrate for retracting
1591 1591
   #define RETRACT_ZRAISE 0                // (mm) Default retract Z-raise
1592 1592
   #define RETRACT_RECOVER_LENGTH 0        // (mm) Default additional recover length (added to retract length on recover)
1593 1593
   #define RETRACT_RECOVER_LENGTH_SWAP 0   // (mm) Default additional swap recover length (added to retract length on recover from toolchange)
@@ -1983,7 +1983,7 @@
1983 1983
    * M912 - Clear stepper driver overtemperature pre-warn condition flag.
1984 1984
    * M122 - Report driver parameters (Requires TMC_DEBUG)
1985 1985
    */
1986
-  //#define MONITOR_DRIVER_STATUS
1986
+  #define MONITOR_DRIVER_STATUS
1987 1987
 
1988 1988
   #if ENABLED(MONITOR_DRIVER_STATUS)
1989 1989
     #define CURRENT_STEP_DOWN     50  // [mA]
@@ -1998,7 +1998,7 @@
1998 1998
    * STEALTHCHOP_(XY|Z|E) must be enabled to use HYBRID_THRESHOLD.
1999 1999
    * M913 X/Y/Z/E to live tune the setting
2000 2000
    */
2001
-  //#define HYBRID_THRESHOLD
2001
+  #define HYBRID_THRESHOLD
2002 2002
 
2003 2003
   #define X_HYBRID_THRESHOLD     100  // [mm/s]
2004 2004
   #define X2_HYBRID_THRESHOLD    100
@@ -2037,7 +2037,7 @@
2037 2037
    * IMPROVE_HOMING_RELIABILITY tunes acceleration and jerk when
2038 2038
    * homing and adds a guard period for endstop triggering.
2039 2039
    */
2040
-  //#define SENSORLESS_HOMING // StallGuard capable drivers only
2040
+  #define SENSORLESS_HOMING // StallGuard capable drivers only
2041 2041
 
2042 2042
   /**
2043 2043
    * Use StallGuard2 to probe the bed with the nozzle.
@@ -2061,7 +2061,7 @@
2061 2061
    * Beta feature!
2062 2062
    * Create a 50/50 square wave step pulse optimal for stepper drivers.
2063 2063
    */
2064
-  //#define SQUARE_WAVE_STEPPING
2064
+  #define SQUARE_WAVE_STEPPING
2065 2065
 
2066 2066
   /**
2067 2067
    * Enable M122 debugging command for TMC stepper drivers.
@@ -2511,8 +2511,8 @@
2511 2511
   #define USER_DESC_4 "Heat Bed/Home/Level"
2512 2512
   #define USER_GCODE_4 "M140 S" STRINGIFY(PREHEAT_2_TEMP_BED) "\nG28\nG29"
2513 2513
 
2514
-  #define USER_DESC_5 "Home & Info"
2515
-  #define USER_GCODE_5 "G28\nM503"
2514
+  //#define USER_DESC_5 "Home & Info"
2515
+  //#define USER_GCODE_5 "G28\nM503"
2516 2516
 #endif
2517 2517
 
2518 2518
 /**

+ 4
- 4
Marlin/src/gcode/config/M200-M205.cpp Parādīt failu

@@ -117,10 +117,10 @@ void GcodeSuite::M204() {
117 117
  *    Y = Max Y Jerk (units/sec^2)
118 118
  *    Z = Max Z Jerk (units/sec^2)
119 119
  *    E = Max E Jerk (units/sec^2)
120
- *    J = Junction Deviation (mm) (Requires JUNCTION_DEVIATION)
120
+ *    J = Junction Deviation (mm) (If not using CLASSIC_JERK)
121 121
  */
122 122
 void GcodeSuite::M205() {
123
-  #if ENABLED(JUNCTION_DEVIATION)
123
+  #if DISABLED(CLASSIC_JERK)
124 124
     #define J_PARAM  "J"
125 125
   #else
126 126
     #define J_PARAM
@@ -136,7 +136,7 @@ void GcodeSuite::M205() {
136 136
   if (parser.seen('B')) planner.settings.min_segment_time_us = parser.value_ulong();
137 137
   if (parser.seen('S')) planner.settings.min_feedrate_mm_s = parser.value_linear_units();
138 138
   if (parser.seen('T')) planner.settings.min_travel_feedrate_mm_s = parser.value_linear_units();
139
-  #if ENABLED(JUNCTION_DEVIATION)
139
+  #if DISABLED(CLASSIC_JERK)
140 140
     if (parser.seen('J')) {
141 141
       const float junc_dev = parser.value_linear_units();
142 142
       if (WITHIN(junc_dev, 0.01f, 0.3f)) {
@@ -159,7 +159,7 @@ void GcodeSuite::M205() {
159 159
           SERIAL_ECHOLNPGM("WARNING! Low Z Jerk may lead to unwanted pauses.");
160 160
       #endif
161 161
     }
162
-    #if !BOTH(JUNCTION_DEVIATION, LIN_ADVANCE)
162
+    #if HAS_CLASSIC_E_JERK
163 163
       if (parser.seen('E')) planner.set_max_jerk(E_AXIS, parser.value_linear_units());
164 164
     #endif
165 165
   #endif

+ 1
- 1
Marlin/src/gcode/config/M92.cpp Parādīt failu

@@ -76,7 +76,7 @@ void GcodeSuite::M92() {
76 76
         const float value = parser.value_per_axis_units((AxisEnum)(E_AXIS_N(target_extruder)));
77 77
         if (value < 20) {
78 78
           float factor = planner.settings.axis_steps_per_mm[E_AXIS_N(target_extruder)] / value; // increase e constants if M92 E14 is given for netfab.
79
-          #if HAS_CLASSIC_JERK && !BOTH(JUNCTION_DEVIATION, LIN_ADVANCE)
79
+          #if HAS_CLASSIC_E_JERK
80 80
             planner.max_jerk.e *= factor;
81 81
           #endif
82 82
           planner.settings.max_feedrate_mm_s[E_AXIS_N(target_extruder)] *= factor;

+ 2
- 0
Marlin/src/inc/Conditionals_LCD.h Parādīt failu

@@ -564,3 +564,5 @@
564 564
 #define IS_RE_ARM_BOARD (MB(RAMPS_14_RE_ARM_EFB) || MB(RAMPS_14_RE_ARM_EEB) || MB(RAMPS_14_RE_ARM_EFF) || MB(RAMPS_14_RE_ARM_EEF) || MB(RAMPS_14_RE_ARM_SF))
565 565
 
566 566
 #define HAS_SDCARD_CONNECTION EITHER(TARGET_LPC1768, ADAFRUIT_GRAND_CENTRAL_M4)
567
+
568
+#define HAS_LINEAR_E_JERK (DISABLED(CLASSIC_JERK) && ENABLED(LIN_ADVANCE))

+ 2
- 1
Marlin/src/inc/Conditionals_post.h Parādīt failu

@@ -43,7 +43,8 @@
43 43
   #define NOT_A_PIN 0 // For PINS_DEBUGGING
44 44
 #endif
45 45
 
46
-#define HAS_CLASSIC_JERK (IS_KINEMATIC || DISABLED(JUNCTION_DEVIATION))
46
+#define HAS_CLASSIC_JERK (ENABLED(CLASSIC_JERK) || IS_KINEMATIC)
47
+#define HAS_CLASSIC_E_JERK (HAS_CLASSIC_JERK && DISABLED(LIN_ADVANCE))
47 48
 
48 49
 /**
49 50
  * Axis lengths and center

+ 7
- 5
Marlin/src/inc/SanityCheck.h Parādīt failu

@@ -310,7 +310,7 @@
310 310
   #error "LEVEL_BED_CORNERS requires a LEVEL_CORNERS_INSET value. Please update your Configuration.h."
311 311
 #elif defined(BEZIER_JERK_CONTROL)
312 312
   #error "BEZIER_JERK_CONTROL is now S_CURVE_ACCELERATION. Please update your configuration."
313
-#elif defined(JUNCTION_DEVIATION_FACTOR)
313
+#elif DISABLED(CLASSIC_JERK) && defined(JUNCTION_DEVIATION_FACTOR)
314 314
   #error "JUNCTION_DEVIATION_FACTOR is now JUNCTION_DEVIATION_MM. Please update your configuration."
315 315
 #elif defined(JUNCTION_ACCELERATION_FACTOR)
316 316
   #error "JUNCTION_ACCELERATION_FACTOR is obsolete. Delete it from Configuration_adv.h."
@@ -404,6 +404,8 @@
404 404
   #error "(MIN|MAX)_PROBE_[XY] are now calculated at runtime. Please remove them from Configuration.h."
405 405
 #elif defined(Z_STEPPER_ALIGN_X) || defined(Z_STEPPER_ALIGN_X)
406 406
   #error "Z_STEPPER_ALIGN_X and Z_STEPPER_ALIGN_Y are now combined as Z_STEPPER_ALIGN_XY. Please update your Configuration_adv.h."
407
+#elif defined(JUNCTION_DEVIATION)
408
+  #error "JUNCTION_DEVIATION is no longer required. (See CLASSIC_JERK). Please remove it from Configuration.h."
407 409
 #endif
408 410
 
409 411
 #define BOARD_MKS_13        -1000
@@ -1040,10 +1042,10 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
1040 1042
 #endif
1041 1043
 
1042 1044
 /**
1043
- * Junction deviation is not compatible with kinematic systems.
1045
+ * Junction deviation is incompatible with kinematic systems.
1044 1046
  */
1045
-#if ENABLED(JUNCTION_DEVIATION) && IS_KINEMATIC
1046
-  #error "Junction deviation is only compatible with Cartesians."
1047
+#if DISABLED(CLASSIC_JERK) && IS_KINEMATIC
1048
+  #error "CLASSIC_JERK is required for DELTA and SCARA."
1047 1049
 #endif
1048 1050
 
1049 1051
 /**
@@ -1270,7 +1272,7 @@ static_assert(Y_MAX_LENGTH >= Y_BED_SIZE, "Movement bounds (Y_MIN_POS, Y_MAX_POS
1270 1272
 #endif
1271 1273
 
1272 1274
 #if HAS_MESH
1273
-  #if DISABLED(JUNCTION_DEVIATION)
1275
+  #if HAS_CLASSIC_JERK
1274 1276
     static_assert(DEFAULT_ZJERK > 0.1, "Low DEFAULT_ZJERK values are incompatible with mesh-based leveling.");
1275 1277
   #endif
1276 1278
 #elif ENABLED(G26_MESH_VALIDATION)

+ 3
- 3
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/advanced_settings_menu.cpp Parādīt failu

@@ -82,7 +82,7 @@ void AdvancedSettingsMenu::onRedraw(draw_mode_t what) {
82 82
       .tag(10).button( BTN_POS(1,8), BTN_SIZE(2,1), GET_TEXT_F(RESTORE_DEFAULTS))
83 83
       .tag(5) .button( BTN_POS(2,2), BTN_SIZE(1,1), GET_TEXT_F(VELOCITY))
84 84
       .tag(6) .button( BTN_POS(2,3), BTN_SIZE(1,1), GET_TEXT_F(ACCELERATION))
85
-      #if ENABLED(JUNCTION_DEVIATION)
85
+      #if DISABLED(CLASSIC_JERK)
86 86
       .tag(7) .button( BTN_POS(2,4), BTN_SIZE(1,1), GET_TEXT_F(JUNC_DEVIATION))
87 87
       #else
88 88
       .tag(7) .button( BTN_POS(2,4), BTN_SIZE(1,1), GET_TEXT_F(JERK))
@@ -135,7 +135,7 @@ void AdvancedSettingsMenu::onRedraw(draw_mode_t what) {
135 135
       .tag(12).button( BTN_POS(3,4),  BTN_SIZE(1,1), GET_TEXT_F(ENDSTOPS))
136 136
       .tag(5) .button( BTN_POS(2,2),  BTN_SIZE(1,1), GET_TEXT_F(VELOCITY))
137 137
       .tag(6) .button( BTN_POS(2,3),  BTN_SIZE(1,1), GET_TEXT_F(ACCELERATION))
138
-      #if ENABLED(JUNCTION_DEVIATION)
138
+      #if DISABLED(CLASSIC_JERK)
139 139
       .tag(7) .button( BTN_POS(2,4),  BTN_SIZE(1,1), GET_TEXT_F(JUNC_DEVIATION))
140 140
       #else
141 141
       .tag(7) .button( BTN_POS(2,4),  BTN_SIZE(1,1), GET_TEXT_F(JERK))
@@ -163,7 +163,7 @@ bool AdvancedSettingsMenu::onTouchEnd(uint8_t tag) {
163 163
     case 5:  GOTO_SCREEN(MaxVelocityScreen);          break;
164 164
     case 6:  GOTO_SCREEN(DefaultAccelerationScreen);  break;
165 165
     case 7:
166
-      #if ENABLED(JUNCTION_DEVIATION)
166
+      #if DISABLED(CLASSIC_JERK)
167 167
         GOTO_SCREEN(JunctionDeviationScreen);
168 168
       #else
169 169
         GOTO_SCREEN(JerkScreen);

+ 2
- 2
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/bio_advanced_settings.cpp Parādīt failu

@@ -68,7 +68,7 @@ void AdvancedSettingsMenu::onRedraw(draw_mode_t what) {
68 68
       .tag(7) .button( BTN_POS(2,1), BTN_SIZE(1,1), GET_TEXT_F(STEPS_PER_MM))
69 69
       .tag(8) .button( BTN_POS(2,2), BTN_SIZE(1,1), GET_TEXT_F(VELOCITY))
70 70
       .tag(9) .button( BTN_POS(2,3), BTN_SIZE(1,1), GET_TEXT_F(ACCELERATION))
71
-      #if ENABLED(JUNCTION_DEVIATION)
71
+      #if DISABLED(CLASSIC_JERK)
72 72
         .tag(10) .button( BTN_POS(2,4), BTN_SIZE(1,1), GET_TEXT_F(JUNC_DEVIATION))
73 73
       #else
74 74
         .tag(10) .button( BTN_POS(2,4), BTN_SIZE(1,1), GET_TEXT_F(JERK))
@@ -113,7 +113,7 @@ bool AdvancedSettingsMenu::onTouchEnd(uint8_t tag) {
113 113
     case 8: GOTO_SCREEN(MaxVelocityScreen);                break;
114 114
     case 9: GOTO_SCREEN(DefaultAccelerationScreen);        break;
115 115
     case 10:
116
-      #if ENABLED(JUNCTION_DEVIATION)
116
+      #if DISABLED(CLASSIC_JERK)
117 117
         GOTO_SCREEN(JunctionDeviationScreen);
118 118
       #else
119 119
         GOTO_SCREEN(JerkScreen);

+ 2
- 2
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/jerk_screen.cpp Parādīt failu

@@ -22,7 +22,7 @@
22 22
 
23 23
 #include "../config.h"
24 24
 
25
-#if ENABLED(LULZBOT_TOUCH_UI) && DISABLED(JUNCTION_DEVIATION)
25
+#if BOTH(LULZBOT_TOUCH_UI, CLASSIC_JERK)
26 26
 
27 27
 #include "screens.h"
28 28
 
@@ -62,4 +62,4 @@ bool JerkScreen::onTouchHeld(uint8_t tag) {
62 62
   return true;
63 63
 }
64 64
 
65
-#endif // LULZBOT_TOUCH_UI
65
+#endif // LULZBOT_TOUCH_UI && CLASSIC_JERK

+ 2
- 2
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/junction_deviation_screen.cpp Parādīt failu

@@ -22,7 +22,7 @@
22 22
 
23 23
 #include "../config.h"
24 24
 
25
-#if BOTH(LULZBOT_TOUCH_UI, JUNCTION_DEVIATION)
25
+#if ENABLED(LULZBOT_TOUCH_UI) && DISABLED(CLASSIC_JERK)
26 26
 
27 27
 #include "screens.h"
28 28
 
@@ -51,4 +51,4 @@ bool JunctionDeviationScreen::onTouchHeld(uint8_t tag) {
51 51
   return true;
52 52
 }
53 53
 
54
-#endif // LULZBOT_TOUCH_UI
54
+#endif // LULZBOT_TOUCH_UI && !CLASSIC_JERK

+ 1
- 1
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/screens.cpp Parādīt failu

@@ -75,7 +75,7 @@ SCREEN_TABLE {
75 75
   DECL_SCREEN(MaxVelocityScreen),
76 76
   DECL_SCREEN(MaxAccelerationScreen),
77 77
   DECL_SCREEN(DefaultAccelerationScreen),
78
-#if ENABLED(JUNCTION_DEVIATION)
78
+#if DISABLED(CLASSIC_JERK)
79 79
   DECL_SCREEN(JunctionDeviationScreen),
80 80
 #else
81 81
   DECL_SCREEN(JerkScreen),

+ 2
- 2
Marlin/src/lcd/extensible_ui/lib/lulzbot/screens/screens.h Parādīt failu

@@ -55,7 +55,7 @@ enum {
55 55
   MAX_VELOCITY_SCREEN_CACHE,
56 56
   MAX_ACCELERATION_SCREEN_CACHE,
57 57
   DEFAULT_ACCELERATION_SCREEN_CACHE,
58
-#if ENABLED(JUNCTION_DEVIATION)
58
+#if DISABLED(CLASSIC_JERK)
59 59
   JUNC_DEV_SCREEN_CACHE,
60 60
 #else
61 61
   JERK_SCREEN_CACHE,
@@ -503,7 +503,7 @@ class DefaultAccelerationScreen : public BaseNumericAdjustmentScreen, public Cac
503 503
     static bool onTouchHeld(uint8_t tag);
504 504
 };
505 505
 
506
-#if ENABLED(JUNCTION_DEVIATION)
506
+#if DISABLED(CLASSIC_JERK)
507 507
   class JunctionDeviationScreen : public BaseNumericAdjustmentScreen, public CachedScreen<JUNC_DEV_SCREEN_CACHE> {
508 508
     public:
509 509
       static void onRedraw(draw_mode_t);

+ 1
- 1
Marlin/src/lcd/extensible_ui/ui_api.cpp Parādīt failu

@@ -622,7 +622,7 @@ namespace ExtUI {
622 622
     }
623 623
   #endif
624 624
 
625
-  #if ENABLED(JUNCTION_DEVIATION)
625
+  #if DISABLED(CLASSIC_JERK)
626 626
 
627 627
     float getJunctionDeviation_mm() {
628 628
       return planner.junction_deviation_mm;

+ 1
- 1
Marlin/src/lcd/extensible_ui/ui_api.h Parādīt failu

@@ -179,7 +179,7 @@ namespace ExtUI {
179 179
     void setLinearAdvance_mm_mm_s(const float, const extruder_t);
180 180
   #endif
181 181
 
182
-  #if ENABLED(JUNCTION_DEVIATION)
182
+  #if DISABLED(CLASSIC_JERK)
183 183
     float getJunctionDeviation_mm();
184 184
     void setJunctionDeviation_mm(const float);
185 185
   #else

+ 2
- 2
Marlin/src/lcd/menu/menu_advanced.cpp Parādīt failu

@@ -486,7 +486,7 @@ void menu_backlash();
486 486
     START_MENU();
487 487
     BACK_ITEM(MSG_ADVANCED_SETTINGS);
488 488
 
489
-    #if ENABLED(JUNCTION_DEVIATION)
489
+    #if DISABLED(CLASSIC_JERK)
490 490
       #if ENABLED(LIN_ADVANCE)
491 491
         EDIT_ITEM(float43, MSG_JUNCTION_DEVIATION, &planner.junction_deviation_mm, 0.01f, 0.3f, planner.recalculate_max_e_jerk);
492 492
       #else
@@ -511,7 +511,7 @@ void menu_backlash();
511 511
       #else
512 512
         EDIT_ITEM_FAST(float52sign, MSG_VC_JERK, &planner.max_jerk.c, 0.1f, max_jerk_edit.c);
513 513
       #endif
514
-      #if !BOTH(JUNCTION_DEVIATION, LIN_ADVANCE)
514
+      #if HAS_CLASSIC_E_JERK
515 515
         EDIT_ITEM_FAST(float52sign, MSG_VE_JERK, &planner.max_jerk.e, 0.1f, max_jerk_edit.e);
516 516
       #endif
517 517
     #endif

+ 6
- 6
Marlin/src/module/configuration_store.cpp Parādīt failu

@@ -398,7 +398,7 @@ void MarlinSettings::postprocess() {
398 398
     fwretract.refresh_autoretract();
399 399
   #endif
400 400
 
401
-  #if BOTH(JUNCTION_DEVIATION, LIN_ADVANCE)
401
+  #if HAS_LINEAR_E_JERK
402 402
     planner.recalculate_max_e_jerk();
403 403
   #endif
404 404
 
@@ -516,7 +516,7 @@ void MarlinSettings::postprocess() {
516 516
 
517 517
       #if HAS_CLASSIC_JERK
518 518
         EEPROM_WRITE(planner.max_jerk);
519
-        #if BOTH(JUNCTION_DEVIATION, LIN_ADVANCE)
519
+        #if HAS_LINEAR_E_JERK
520 520
           dummy = float(DEFAULT_EJERK);
521 521
           EEPROM_WRITE(dummy);
522 522
         #endif
@@ -1316,7 +1316,7 @@ void MarlinSettings::postprocess() {
1316 1316
 
1317 1317
         #if HAS_CLASSIC_JERK
1318 1318
           EEPROM_READ(planner.max_jerk);
1319
-          #if BOTH(JUNCTION_DEVIATION, LIN_ADVANCE)
1319
+          #if HAS_LINEAR_E_JERK
1320 1320
             EEPROM_READ(dummy);
1321 1321
           #endif
1322 1322
         #else
@@ -2230,7 +2230,7 @@ void MarlinSettings::reset() {
2230 2230
       #define DEFAULT_ZJERK 0
2231 2231
     #endif
2232 2232
     planner.max_jerk.set(DEFAULT_XJERK, DEFAULT_YJERK, DEFAULT_ZJERK);
2233
-    #if !BOTH(JUNCTION_DEVIATION, LIN_ADVANCE)
2233
+    #if HAS_CLASSIC_E_JERK
2234 2234
       planner.max_jerk.e = DEFAULT_EJERK;
2235 2235
     #endif
2236 2236
   #endif
@@ -2749,7 +2749,7 @@ void MarlinSettings::reset() {
2749 2749
       #endif
2750 2750
       #if HAS_CLASSIC_JERK
2751 2751
         SERIAL_ECHOPGM(" X<max_x_jerk> Y<max_y_jerk> Z<max_z_jerk>");
2752
-        #if !BOTH(JUNCTION_DEVIATION, LIN_ADVANCE)
2752
+        #if HAS_CLASSIC_E_JERK
2753 2753
           SERIAL_ECHOPGM(" E<max_e_jerk>");
2754 2754
         #endif
2755 2755
       #endif
@@ -2767,7 +2767,7 @@ void MarlinSettings::reset() {
2767 2767
         , " X", LINEAR_UNIT(planner.max_jerk.x)
2768 2768
         , " Y", LINEAR_UNIT(planner.max_jerk.y)
2769 2769
         , " Z", LINEAR_UNIT(planner.max_jerk.z)
2770
-        #if !BOTH(JUNCTION_DEVIATION, LIN_ADVANCE)
2770
+        #if HAS_CLASSIC_E_JERK
2771 2771
           , " E", LINEAR_UNIT(planner.max_jerk.e)
2772 2772
         #endif
2773 2773
       #endif

+ 2
- 2
Marlin/src/module/motion.cpp Parādīt failu

@@ -1287,13 +1287,13 @@ void do_homing_move(const AxisEnum axis, const float distance, const feedRate_t
1287 1287
     planner.set_machine_position_mm(target);
1288 1288
     target[axis] = distance;
1289 1289
 
1290
-    #if IS_KINEMATIC && ENABLED(JUNCTION_DEVIATION)
1290
+    #if IS_KINEMATIC && DISABLED(CLASSIC_JERK)
1291 1291
       const xyze_float_t delta_mm_cart{0};
1292 1292
     #endif
1293 1293
 
1294 1294
     // Set delta/cartesian axes directly
1295 1295
     planner.buffer_segment(target
1296
-      #if IS_KINEMATIC && ENABLED(JUNCTION_DEVIATION)
1296
+      #if IS_KINEMATIC && DISABLED(CLASSIC_JERK)
1297 1297
         , delta_mm_cart
1298 1298
       #endif
1299 1299
       , real_fr_mm_s, active_extruder

+ 17
- 17
Marlin/src/module/planner.cpp Parādīt failu

@@ -125,7 +125,7 @@ uint32_t Planner::max_acceleration_steps_per_s2[XYZE_N]; // (steps/s^2) Derived
125 125
 
126 126
 float Planner::steps_to_mm[XYZE_N];           // (mm) Millimeters per step
127 127
 
128
-#if ENABLED(JUNCTION_DEVIATION)
128
+#if DISABLED(CLASSIC_JERK)
129 129
   float Planner::junction_deviation_mm;       // (mm) M205 J
130 130
   #if ENABLED(LIN_ADVANCE)
131 131
     #if ENABLED(DISTINCT_E_FACTORS)
@@ -136,7 +136,7 @@ float Planner::steps_to_mm[XYZE_N];           // (mm) Millimeters per step
136 136
   #endif
137 137
 #endif
138 138
 #if HAS_CLASSIC_JERK
139
-  #if BOTH(JUNCTION_DEVIATION, LIN_ADVANCE)
139
+  #if HAS_LINEAR_E_JERK
140 140
     xyz_pos_t Planner::max_jerk;              // (mm/s^2) M205 XYZ - The largest speed change requiring no acceleration.
141 141
   #else
142 142
     xyze_pos_t Planner::max_jerk;             // (mm/s^2) M205 XYZE - The largest speed change requiring no acceleration.
@@ -1564,7 +1564,7 @@ bool Planner::_buffer_steps(const xyze_long_t &target
1564 1564
   #if HAS_POSITION_FLOAT
1565 1565
     , const xyze_pos_t &target_float
1566 1566
   #endif
1567
-  #if IS_KINEMATIC && ENABLED(JUNCTION_DEVIATION)
1567
+  #if IS_KINEMATIC && DISABLED(CLASSIC_JERK)
1568 1568
     , const xyze_float_t &delta_mm_cart
1569 1569
   #endif
1570 1570
   , feedRate_t fr_mm_s, const uint8_t extruder, const float &millimeters
@@ -1582,7 +1582,7 @@ bool Planner::_buffer_steps(const xyze_long_t &target
1582 1582
     #if HAS_POSITION_FLOAT
1583 1583
       , target_float
1584 1584
     #endif
1585
-    #if IS_KINEMATIC && ENABLED(JUNCTION_DEVIATION)
1585
+    #if IS_KINEMATIC && DISABLED(CLASSIC_JERK)
1586 1586
       , delta_mm_cart
1587 1587
     #endif
1588 1588
     , fr_mm_s, extruder, millimeters
@@ -1628,7 +1628,7 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
1628 1628
   #if HAS_POSITION_FLOAT
1629 1629
     , const xyze_pos_t &target_float
1630 1630
   #endif
1631
-  #if IS_KINEMATIC && ENABLED(JUNCTION_DEVIATION)
1631
+  #if IS_KINEMATIC && DISABLED(CLASSIC_JERK)
1632 1632
     , const xyze_float_t &delta_mm_cart
1633 1633
   #endif
1634 1634
   , feedRate_t fr_mm_s, const uint8_t extruder, const float &millimeters/*=0.0*/
@@ -2164,7 +2164,7 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
2164 2164
 
2165 2165
     #if ENABLED(LIN_ADVANCE)
2166 2166
 
2167
-      #if ENABLED(JUNCTION_DEVIATION)
2167
+      #if DISABLED(CLASSIC_JERK)
2168 2168
         #if ENABLED(DISTINCT_E_FACTORS)
2169 2169
           #define MAX_E_JERK max_e_jerk[extruder]
2170 2170
         #else
@@ -2252,7 +2252,7 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
2252 2252
 
2253 2253
   float vmax_junction_sqr; // Initial limit on the segment entry velocity (mm/s)^2
2254 2254
 
2255
-  #if ENABLED(JUNCTION_DEVIATION)
2255
+  #if DISABLED(CLASSIC_JERK)
2256 2256
     /**
2257 2257
      * Compute maximum allowable entry speed at junction by centripetal acceleration approximation.
2258 2258
      * Let a circle be tangent to both previous and current path line segments, where the junction
@@ -2291,7 +2291,7 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
2291 2291
     static xyze_float_t prev_unit_vec;
2292 2292
 
2293 2293
     xyze_float_t unit_vec =
2294
-      #if IS_KINEMATIC && ENABLED(JUNCTION_DEVIATION)
2294
+      #if IS_KINEMATIC && DISABLED(CLASSIC_JERK)
2295 2295
         delta_mm_cart
2296 2296
       #else
2297 2297
         { delta_mm.x, delta_mm.y, delta_mm.z, delta_mm.e }
@@ -2299,7 +2299,7 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
2299 2299
     ;
2300 2300
     unit_vec *= inverse_millimeters;
2301 2301
 
2302
-    #if IS_CORE && ENABLED(JUNCTION_DEVIATION)
2302
+    #if IS_CORE && DISABLED(CLASSIC_JERK)
2303 2303
       /**
2304 2304
        * On CoreXY the length of the vector [A,B] is SQRT(2) times the length of the head movement vector [X,Y].
2305 2305
        * So taking Z and E into account, we cannot scale to a unit vector with "inverse_millimeters".
@@ -2369,7 +2369,7 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
2369 2369
     float safe_speed = nominal_speed;
2370 2370
 
2371 2371
     uint8_t limited = 0;
2372
-    #if BOTH(JUNCTION_DEVIATION, LIN_ADVANCE)
2372
+    #if HAS_LINEAR_E_JERK
2373 2373
       LOOP_XYZ(i)
2374 2374
     #else
2375 2375
       LOOP_XYZE(i)
@@ -2406,7 +2406,7 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
2406 2406
 
2407 2407
       // Now limit the jerk in all axes.
2408 2408
       const float smaller_speed_factor = vmax_junction / previous_nominal_speed;
2409
-      #if BOTH(JUNCTION_DEVIATION, LIN_ADVANCE)
2409
+      #if HAS_LINEAR_E_JERK
2410 2410
         LOOP_XYZ(axis)
2411 2411
       #else
2412 2412
         LOOP_XYZE(axis)
@@ -2444,7 +2444,7 @@ bool Planner::_populate_block(block_t * const block, bool split_move,
2444 2444
 
2445 2445
     previous_safe_speed = safe_speed;
2446 2446
 
2447
-    #if ENABLED(JUNCTION_DEVIATION)
2447
+    #if DISABLED(CLASSIC_JERK)
2448 2448
       vmax_junction_sqr = _MIN(vmax_junction_sqr, sq(vmax_junction));
2449 2449
     #else
2450 2450
       vmax_junction_sqr = sq(vmax_junction);
@@ -2538,7 +2538,7 @@ void Planner::buffer_sync_block() {
2538 2538
  *  millimeters - the length of the movement, if known
2539 2539
  */
2540 2540
 bool Planner::buffer_segment(const float &a, const float &b, const float &c, const float &e
2541
-  #if IS_KINEMATIC && ENABLED(JUNCTION_DEVIATION)
2541
+  #if IS_KINEMATIC && DISABLED(CLASSIC_JERK)
2542 2542
     , const xyze_float_t &delta_mm_cart
2543 2543
   #endif
2544 2544
   , const feedRate_t &fr_mm_s, const uint8_t extruder, const float &millimeters/*=0.0*/
@@ -2610,7 +2610,7 @@ bool Planner::buffer_segment(const float &a, const float &b, const float &c, con
2610 2610
       #if HAS_POSITION_FLOAT
2611 2611
         , target_float
2612 2612
       #endif
2613
-      #if IS_KINEMATIC && ENABLED(JUNCTION_DEVIATION)
2613
+      #if IS_KINEMATIC && DISABLED(CLASSIC_JERK)
2614 2614
         , delta_mm_cart
2615 2615
       #endif
2616 2616
       , fr_mm_s, extruder, millimeters
@@ -2644,7 +2644,7 @@ bool Planner::buffer_line(const float &rx, const float &ry, const float &rz, con
2644 2644
 
2645 2645
   #if IS_KINEMATIC
2646 2646
 
2647
-    #if ENABLED(JUNCTION_DEVIATION)
2647
+    #if DISABLED(CLASSIC_JERK)
2648 2648
       const xyze_pos_t delta_mm_cart = {
2649 2649
         rx - position_cart.x, ry - position_cart.y,
2650 2650
         rz - position_cart.z, e  - position_cart.e
@@ -2668,7 +2668,7 @@ bool Planner::buffer_line(const float &rx, const float &ry, const float &rz, con
2668 2668
       const feedRate_t feedrate = fr_mm_s;
2669 2669
     #endif
2670 2670
     if (buffer_segment(delta.a, delta.b, delta.c, machine.e
2671
-      #if ENABLED(JUNCTION_DEVIATION)
2671
+      #if DISABLED(CLASSIC_JERK)
2672 2672
         , delta_mm_cart
2673 2673
       #endif
2674 2674
       , feedrate, extruder, mm
@@ -2769,7 +2769,7 @@ void Planner::reset_acceleration_rates() {
2769 2769
     if (AXIS_CONDITION) NOLESS(highest_rate, max_acceleration_steps_per_s2[i]);
2770 2770
   }
2771 2771
   cutoff_long = 4294967295UL / highest_rate; // 0xFFFFFFFFUL
2772
-  #if BOTH(JUNCTION_DEVIATION, LIN_ADVANCE)
2772
+  #if HAS_LINEAR_E_JERK
2773 2773
     recalculate_max_e_jerk();
2774 2774
   #endif
2775 2775
 }

+ 10
- 10
Marlin/src/module/planner.h Parādīt failu

@@ -245,7 +245,7 @@ class Planner {
245 245
     static uint32_t max_acceleration_steps_per_s2[XYZE_N]; // (steps/s^2) Derived from mm_per_s2
246 246
     static float steps_to_mm[XYZE_N];           // Millimeters per step
247 247
 
248
-    #if ENABLED(JUNCTION_DEVIATION)
248
+    #if DISABLED(CLASSIC_JERK)
249 249
       static float junction_deviation_mm;       // (mm) M205 J
250 250
       #if ENABLED(LIN_ADVANCE)
251 251
         static float max_e_jerk                 // Calculated from junction_deviation_mm
@@ -257,7 +257,7 @@ class Planner {
257 257
     #endif
258 258
 
259 259
     #if HAS_CLASSIC_JERK
260
-      #if BOTH(JUNCTION_DEVIATION, LIN_ADVANCE)
260
+      #if HAS_LINEAR_E_JERK
261 261
         static xyz_pos_t max_jerk;              // (mm/s^2) M205 XYZ - The largest speed change requiring no acceleration.
262 262
       #else
263 263
         static xyze_pos_t max_jerk;             // (mm/s^2) M205 XYZE - The largest speed change requiring no acceleration.
@@ -579,7 +579,7 @@ class Planner {
579 579
       #if HAS_POSITION_FLOAT
580 580
         , const xyze_pos_t &target_float
581 581
       #endif
582
-      #if IS_KINEMATIC && ENABLED(JUNCTION_DEVIATION)
582
+      #if IS_KINEMATIC && DISABLED(CLASSIC_JERK)
583 583
         , const xyze_float_t &delta_mm_cart
584 584
       #endif
585 585
       , feedRate_t fr_mm_s, const uint8_t extruder, const float &millimeters=0.0
@@ -602,7 +602,7 @@ class Planner {
602 602
       #if HAS_POSITION_FLOAT
603 603
         , const xyze_pos_t &target_float
604 604
       #endif
605
-      #if IS_KINEMATIC && ENABLED(JUNCTION_DEVIATION)
605
+      #if IS_KINEMATIC && DISABLED(CLASSIC_JERK)
606 606
         , const xyze_float_t &delta_mm_cart
607 607
       #endif
608 608
       , feedRate_t fr_mm_s, const uint8_t extruder, const float &millimeters=0.0
@@ -634,20 +634,20 @@ class Planner {
634 634
      *  millimeters - the length of the movement, if known
635 635
      */
636 636
     static bool buffer_segment(const float &a, const float &b, const float &c, const float &e
637
-      #if IS_KINEMATIC && ENABLED(JUNCTION_DEVIATION)
637
+      #if IS_KINEMATIC && DISABLED(CLASSIC_JERK)
638 638
         , const xyze_float_t &delta_mm_cart
639 639
       #endif
640 640
       , const feedRate_t &fr_mm_s, const uint8_t extruder, const float &millimeters=0.0
641 641
     );
642 642
 
643 643
     FORCE_INLINE static bool buffer_segment(abce_pos_t &abce
644
-      #if IS_KINEMATIC && ENABLED(JUNCTION_DEVIATION)
644
+      #if IS_KINEMATIC && DISABLED(CLASSIC_JERK)
645 645
         , const xyze_float_t &delta_mm_cart
646 646
       #endif
647 647
       , const feedRate_t &fr_mm_s, const uint8_t extruder, const float &millimeters=0.0
648 648
     ) {
649 649
       return buffer_segment(abce.a, abce.b, abce.c, abce.e
650
-        #if IS_KINEMATIC && ENABLED(JUNCTION_DEVIATION)
650
+        #if IS_KINEMATIC && DISABLED(CLASSIC_JERK)
651 651
           , delta_mm_cart
652 652
         #endif
653 653
         , fr_mm_s, extruder, millimeters);
@@ -865,7 +865,7 @@ class Planner {
865 865
       static void autotemp_M104_M109();
866 866
     #endif
867 867
 
868
-    #if BOTH(JUNCTION_DEVIATION, LIN_ADVANCE)
868
+    #if HAS_LINEAR_E_JERK
869 869
       FORCE_INLINE static void recalculate_max_e_jerk() {
870 870
         #define GET_MAX_E_JERK(N) SQRT(SQRT(0.5) * junction_deviation_mm * (N) * RECIPROCAL(1.0 - SQRT(0.5)))
871 871
         #if ENABLED(DISTINCT_E_FACTORS)
@@ -937,7 +937,7 @@ class Planner {
937 937
 
938 938
     static void recalculate();
939 939
 
940
-    #if ENABLED(JUNCTION_DEVIATION)
940
+    #if DISABLED(CLASSIC_JERK)
941 941
 
942 942
       FORCE_INLINE static void normalize_junction_vector(xyze_float_t &vector) {
943 943
         float magnitude_sq = 0;
@@ -952,7 +952,7 @@ class Planner {
952 952
         return limit_value;
953 953
       }
954 954
 
955
-    #endif // JUNCTION_DEVIATION
955
+    #endif // !CLASSIC_JERK
956 956
 };
957 957
 
958 958
 #define PLANNER_XY_FEEDRATE() (_MIN(planner.settings.max_feedrate_mm_s[X_AXIS], planner.settings.max_feedrate_mm_s[Y_AXIS]))

+ 1
- 1
buildroot/share/tests/megaatmega2560-tests Parādīt failu

@@ -61,7 +61,7 @@ opt_enable AUTO_BED_LEVELING_UBL RESTORE_LEVELING_AFTER_G28 DEBUG_LEVELING_FEATU
61 61
            REPRAP_DISCOUNT_FULL_GRAPHIC_SMART_CONTROLLER LIGHTWEIGHT_UI STATUS_MESSAGE_SCROLLING BOOT_MARLIN_LOGO_SMALL \
62 62
            SDSUPPORT SDCARD_SORT_ALPHA USB_FLASH_DRIVE_SUPPORT SCROLL_LONG_FILENAMES \
63 63
            EEPROM_SETTINGS EEPROM_CHITCHAT GCODE_MACROS CUSTOM_USER_MENUS \
64
-           MULTI_NOZZLE_DUPLICATION JUNCTION_DEVIATION LIN_ADVANCE QUICK_HOME \
64
+           MULTI_NOZZLE_DUPLICATION CLASSIC_JERK LIN_ADVANCE QUICK_HOME \
65 65
            BABYSTEPPING BABYSTEP_XY NANODLP_Z_SYNC I2C_POSITION_ENCODERS M114_DETAIL
66 66
 exec_test $1 $2 "Azteeg X3 Pro with 5 extruders, RRDFGSC, probeless UBL, Linear Advance, and more"
67 67
 

+ 14
- 16
config/default/Configuration.h Parādīt failu

@@ -756,28 +756,15 @@
756 756
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
757 757
 
758 758
 /**
759
- * Junction Deviation
760
- *
761
- * Use Junction Deviation instead of traditional Jerk Limiting
762
- *
763
- * See:
764
- *   https://reprap.org/forum/read.php?1,739819
765
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
766
- */
767
-//#define JUNCTION_DEVIATION
768
-#if ENABLED(JUNCTION_DEVIATION)
769
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
770
-#endif
771
-
772
-/**
773
- * Default Jerk (mm/s)
759
+ * Default Jerk limits (mm/s)
774 760
  * Override with M205 X Y Z E
775 761
  *
776 762
  * "Jerk" specifies the minimum speed change that requires acceleration.
777 763
  * When changing speed and direction, if the difference is less than the
778 764
  * value set here, it may happen instantaneously.
779 765
  */
780
-#if DISABLED(JUNCTION_DEVIATION)
766
+//#define CLASSIC_JERK
767
+#if ENABLED(CLASSIC_JERK)
781 768
   #define DEFAULT_XJERK 10.0
782 769
   #define DEFAULT_YJERK 10.0
783 770
   #define DEFAULT_ZJERK  0.3
@@ -791,6 +778,17 @@
791 778
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
792 779
 
793 780
 /**
781
+ * Junction Deviation Factor
782
+ *
783
+ * See:
784
+ *   https://reprap.org/forum/read.php?1,739819
785
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
+ */
787
+#if DISABLED(CLASSIC_JERK)
788
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
789
+#endif
790
+
791
+/**
794 792
  * S-Curve Acceleration
795 793
  *
796 794
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/3DFabXYZ/Migbot/Configuration.h Parādīt failu

@@ -762,28 +762,15 @@
762 762
 #define DEFAULT_TRAVEL_ACCELERATION   1590    // X, Y, Z acceleration for travel (non printing) moves
763 763
 
764 764
 /**
765
- * Junction Deviation
766
- *
767
- * Use Junction Deviation instead of traditional Jerk Limiting
768
- *
769
- * See:
770
- *   https://reprap.org/forum/read.php?1,739819
771
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
772
- */
773
-//#define JUNCTION_DEVIATION
774
-#if ENABLED(JUNCTION_DEVIATION)
775
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
776
-#endif
777
-
778
-/**
779
- * Default Jerk (mm/s)
765
+ * Default Jerk limits (mm/s)
780 766
  * Override with M205 X Y Z E
781 767
  *
782 768
  * "Jerk" specifies the minimum speed change that requires acceleration.
783 769
  * When changing speed and direction, if the difference is less than the
784 770
  * value set here, it may happen instantaneously.
785 771
  */
786
-#if DISABLED(JUNCTION_DEVIATION)
772
+//#define CLASSIC_JERK
773
+#if ENABLED(CLASSIC_JERK)
787 774
   #define DEFAULT_XJERK 8.0
788 775
   #define DEFAULT_YJERK 8.0
789 776
   #define DEFAULT_ZJERK  0.3
@@ -797,6 +784,17 @@
797 784
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
798 785
 
799 786
 /**
787
+ * Junction Deviation Factor
788
+ *
789
+ * See:
790
+ *   https://reprap.org/forum/read.php?1,739819
791
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
792
+ */
793
+#if DISABLED(CLASSIC_JERK)
794
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
795
+#endif
796
+
797
+/**
800 798
  * S-Curve Acceleration
801 799
  *
802 800
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/ADIMLab/Gantry v1/Configuration.h Parādīt failu

@@ -746,28 +746,15 @@
746 746
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration for travel (non printing) moves
747 747
 
748 748
 /**
749
- * Junction Deviation
750
- *
751
- * Use Junction Deviation instead of traditional Jerk Limiting
752
- *
753
- * See:
754
- *   https://reprap.org/forum/read.php?1,739819
755
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
756
- */
757
-//#define JUNCTION_DEVIATION
758
-#if ENABLED(JUNCTION_DEVIATION)
759
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
760
-#endif
761
-
762
-/**
763
- * Default Jerk (mm/s)
749
+ * Default Jerk limits (mm/s)
764 750
  * Override with M205 X Y Z E
765 751
  *
766 752
  * "Jerk" specifies the minimum speed change that requires acceleration.
767 753
  * When changing speed and direction, if the difference is less than the
768 754
  * value set here, it may happen instantaneously.
769 755
  */
770
-#if DISABLED(JUNCTION_DEVIATION)
756
+//#define CLASSIC_JERK
757
+#if ENABLED(CLASSIC_JERK)
771 758
   #define DEFAULT_XJERK 20.0
772 759
   #define DEFAULT_YJERK 20.0
773 760
   #define DEFAULT_ZJERK  0.4
@@ -776,6 +763,17 @@
776 763
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
777 764
 
778 765
 /**
766
+ * Junction Deviation Factor
767
+ *
768
+ * See:
769
+ *   https://reprap.org/forum/read.php?1,739819
770
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
771
+ */
772
+#if DISABLED(CLASSIC_JERK)
773
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
774
+#endif
775
+
776
+/**
779 777
  * S-Curve Acceleration
780 778
  *
781 779
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/ADIMLab/Gantry v2/Configuration.h Parādīt failu

@@ -756,28 +756,15 @@
756 756
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
757 757
 
758 758
 /**
759
- * Junction Deviation
760
- *
761
- * Use Junction Deviation instead of traditional Jerk Limiting
762
- *
763
- * See:
764
- *   https://reprap.org/forum/read.php?1,739819
765
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
766
- */
767
-//#define JUNCTION_DEVIATION
768
-#if ENABLED(JUNCTION_DEVIATION)
769
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
770
-#endif
771
-
772
-/**
773
- * Default Jerk (mm/s)
759
+ * Default Jerk limits (mm/s)
774 760
  * Override with M205 X Y Z E
775 761
  *
776 762
  * "Jerk" specifies the minimum speed change that requires acceleration.
777 763
  * When changing speed and direction, if the difference is less than the
778 764
  * value set here, it may happen instantaneously.
779 765
  */
780
-#if DISABLED(JUNCTION_DEVIATION)
766
+//#define CLASSIC_JERK
767
+#if ENABLED(CLASSIC_JERK)
781 768
   #define DEFAULT_XJERK 10.0
782 769
   #define DEFAULT_YJERK 10.0
783 770
   #define DEFAULT_ZJERK  0.3
@@ -791,6 +778,17 @@
791 778
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
792 779
 
793 780
 /**
781
+ * Junction Deviation Factor
782
+ *
783
+ * See:
784
+ *   https://reprap.org/forum/read.php?1,739819
785
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
+ */
787
+#if DISABLED(CLASSIC_JERK)
788
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
789
+#endif
790
+
791
+/**
794 792
  * S-Curve Acceleration
795 793
  *
796 794
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/AlephObjects/TAZ4/Configuration.h Parādīt failu

@@ -776,28 +776,15 @@
776 776
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
777 777
 
778 778
 /**
779
- * Junction Deviation
780
- *
781
- * Use Junction Deviation instead of traditional Jerk Limiting
782
- *
783
- * See:
784
- *   https://reprap.org/forum/read.php?1,739819
785
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
- */
787
-//#define JUNCTION_DEVIATION
788
-#if ENABLED(JUNCTION_DEVIATION)
789
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
790
-#endif
791
-
792
-/**
793
- * Default Jerk (mm/s)
779
+ * Default Jerk limits (mm/s)
794 780
  * Override with M205 X Y Z E
795 781
  *
796 782
  * "Jerk" specifies the minimum speed change that requires acceleration.
797 783
  * When changing speed and direction, if the difference is less than the
798 784
  * value set here, it may happen instantaneously.
799 785
  */
800
-#if DISABLED(JUNCTION_DEVIATION)
786
+//#define CLASSIC_JERK
787
+#if ENABLED(CLASSIC_JERK)
801 788
   #define DEFAULT_XJERK  8.0
802 789
   #define DEFAULT_YJERK  8.0
803 790
   #define DEFAULT_ZJERK  0.3
@@ -811,6 +798,17 @@
811 798
 #define DEFAULT_EJERK   10.0  // May be used by Linear Advance
812 799
 
813 800
 /**
801
+ * Junction Deviation Factor
802
+ *
803
+ * See:
804
+ *   https://reprap.org/forum/read.php?1,739819
805
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
806
+ */
807
+#if DISABLED(CLASSIC_JERK)
808
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
809
+#endif
810
+
811
+/**
814 812
  * S-Curve Acceleration
815 813
  *
816 814
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Alfawise/U20-bltouch/Configuration.h Parādīt failu

@@ -810,28 +810,15 @@
810 810
 #define DEFAULT_TRAVEL_ACCELERATION   200    // X, Y, Z acceleration for travel (non printing) moves
811 811
 
812 812
 /**
813
- * Junction Deviation
814
- *
815
- * Use Junction Deviation instead of traditional Jerk Limiting
816
- *
817
- * See:
818
- *   https://reprap.org/forum/read.php?1,739819
819
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
820
- */
821
-//#define JUNCTION_DEVIATION
822
-#if ENABLED(JUNCTION_DEVIATION)
823
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
824
-#endif
825
-
826
-/**
827
- * Default Jerk (mm/s)
813
+ * Default Jerk limits (mm/s)
828 814
  * Override with M205 X Y Z E
829 815
  *
830 816
  * "Jerk" specifies the minimum speed change that requires acceleration.
831 817
  * When changing speed and direction, if the difference is less than the
832 818
  * value set here, it may happen instantaneously.
833 819
  */
834
-#if DISABLED(JUNCTION_DEVIATION)
820
+//#define CLASSIC_JERK
821
+#if ENABLED(CLASSIC_JERK)
835 822
   #define DEFAULT_XJERK 10.0
836 823
   #define DEFAULT_YJERK 10.0
837 824
   #define DEFAULT_ZJERK  0.4
@@ -840,6 +827,17 @@
840 827
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
841 828
 
842 829
 /**
830
+ * Junction Deviation Factor
831
+ *
832
+ * See:
833
+ *   https://reprap.org/forum/read.php?1,739819
834
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
835
+ */
836
+#if DISABLED(CLASSIC_JERK)
837
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
838
+#endif
839
+
840
+/**
843 841
  * S-Curve Acceleration
844 842
  *
845 843
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Alfawise/U20/Configuration.h Parādīt failu

@@ -810,28 +810,15 @@
810 810
 #define DEFAULT_TRAVEL_ACCELERATION   200    // X, Y, Z acceleration for travel (non printing) moves
811 811
 
812 812
 /**
813
- * Junction Deviation
814
- *
815
- * Use Junction Deviation instead of traditional Jerk Limiting
816
- *
817
- * See:
818
- *   https://reprap.org/forum/read.php?1,739819
819
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
820
- */
821
-//#define JUNCTION_DEVIATION
822
-#if ENABLED(JUNCTION_DEVIATION)
823
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
824
-#endif
825
-
826
-/**
827
- * Default Jerk (mm/s)
813
+ * Default Jerk limits (mm/s)
828 814
  * Override with M205 X Y Z E
829 815
  *
830 816
  * "Jerk" specifies the minimum speed change that requires acceleration.
831 817
  * When changing speed and direction, if the difference is less than the
832 818
  * value set here, it may happen instantaneously.
833 819
  */
834
-#if DISABLED(JUNCTION_DEVIATION)
820
+//#define CLASSIC_JERK
821
+#if ENABLED(CLASSIC_JERK)
835 822
   #define DEFAULT_XJERK 10.0
836 823
   #define DEFAULT_YJERK 10.0
837 824
   #define DEFAULT_ZJERK  0.4
@@ -840,6 +827,17 @@
840 827
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
841 828
 
842 829
 /**
830
+ * Junction Deviation Factor
831
+ *
832
+ * See:
833
+ *   https://reprap.org/forum/read.php?1,739819
834
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
835
+ */
836
+#if DISABLED(CLASSIC_JERK)
837
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
838
+#endif
839
+
840
+/**
843 841
  * S-Curve Acceleration
844 842
  *
845 843
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/AliExpress/CL-260/Configuration.h Parādīt failu

@@ -756,28 +756,15 @@
756 756
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
757 757
 
758 758
 /**
759
- * Junction Deviation
760
- *
761
- * Use Junction Deviation instead of traditional Jerk Limiting
762
- *
763
- * See:
764
- *   https://reprap.org/forum/read.php?1,739819
765
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
766
- */
767
-//#define JUNCTION_DEVIATION
768
-#if ENABLED(JUNCTION_DEVIATION)
769
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
770
-#endif
771
-
772
-/**
773
- * Default Jerk (mm/s)
759
+ * Default Jerk limits (mm/s)
774 760
  * Override with M205 X Y Z E
775 761
  *
776 762
  * "Jerk" specifies the minimum speed change that requires acceleration.
777 763
  * When changing speed and direction, if the difference is less than the
778 764
  * value set here, it may happen instantaneously.
779 765
  */
780
-#if DISABLED(JUNCTION_DEVIATION)
766
+//#define CLASSIC_JERK
767
+#if ENABLED(CLASSIC_JERK)
781 768
   #define DEFAULT_XJERK 10.0
782 769
   #define DEFAULT_YJERK 10.0
783 770
   #define DEFAULT_ZJERK  0.3
@@ -791,6 +778,17 @@
791 778
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
792 779
 
793 780
 /**
781
+ * Junction Deviation Factor
782
+ *
783
+ * See:
784
+ *   https://reprap.org/forum/read.php?1,739819
785
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
+ */
787
+#if DISABLED(CLASSIC_JERK)
788
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
789
+#endif
790
+
791
+/**
794 792
  * S-Curve Acceleration
795 793
  *
796 794
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/AliExpress/UM2pExt/Configuration.h Parādīt failu

@@ -767,28 +767,15 @@
767 767
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
768 768
 
769 769
 /**
770
- * Junction Deviation
771
- *
772
- * Use Junction Deviation instead of traditional Jerk Limiting
773
- *
774
- * See:
775
- *   https://reprap.org/forum/read.php?1,739819
776
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
777
- */
778
-//#define JUNCTION_DEVIATION
779
-#if ENABLED(JUNCTION_DEVIATION)
780
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
781
-#endif
782
-
783
-/**
784
- * Default Jerk (mm/s)
770
+ * Default Jerk limits (mm/s)
785 771
  * Override with M205 X Y Z E
786 772
  *
787 773
  * "Jerk" specifies the minimum speed change that requires acceleration.
788 774
  * When changing speed and direction, if the difference is less than the
789 775
  * value set here, it may happen instantaneously.
790 776
  */
791
-#if DISABLED(JUNCTION_DEVIATION)
777
+//#define CLASSIC_JERK
778
+#if ENABLED(CLASSIC_JERK)
792 779
   #define DEFAULT_XJERK 10.0
793 780
   #define DEFAULT_YJERK 10.0
794 781
   #define DEFAULT_ZJERK  0.3
@@ -802,6 +789,17 @@
802 789
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
803 790
 
804 791
 /**
792
+ * Junction Deviation Factor
793
+ *
794
+ * See:
795
+ *   https://reprap.org/forum/read.php?1,739819
796
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
797
+ */
798
+#if DISABLED(CLASSIC_JERK)
799
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
800
+#endif
801
+
802
+/**
805 803
  * S-Curve Acceleration
806 804
  *
807 805
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Anet/A2/Configuration.h Parādīt failu

@@ -756,28 +756,15 @@
756 756
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
757 757
 
758 758
 /**
759
- * Junction Deviation
760
- *
761
- * Use Junction Deviation instead of traditional Jerk Limiting
762
- *
763
- * See:
764
- *   https://reprap.org/forum/read.php?1,739819
765
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
766
- */
767
-//#define JUNCTION_DEVIATION
768
-#if ENABLED(JUNCTION_DEVIATION)
769
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
770
-#endif
771
-
772
-/**
773
- * Default Jerk (mm/s)
759
+ * Default Jerk limits (mm/s)
774 760
  * Override with M205 X Y Z E
775 761
  *
776 762
  * "Jerk" specifies the minimum speed change that requires acceleration.
777 763
  * When changing speed and direction, if the difference is less than the
778 764
  * value set here, it may happen instantaneously.
779 765
  */
780
-#if DISABLED(JUNCTION_DEVIATION)
766
+//#define CLASSIC_JERK
767
+#if ENABLED(CLASSIC_JERK)
781 768
   #define DEFAULT_XJERK 10.0
782 769
   #define DEFAULT_YJERK 10.0
783 770
   #define DEFAULT_ZJERK  0.3
@@ -791,6 +778,17 @@
791 778
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
792 779
 
793 780
 /**
781
+ * Junction Deviation Factor
782
+ *
783
+ * See:
784
+ *   https://reprap.org/forum/read.php?1,739819
785
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
+ */
787
+#if DISABLED(CLASSIC_JERK)
788
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
789
+#endif
790
+
791
+/**
794 792
  * S-Curve Acceleration
795 793
  *
796 794
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Anet/A2plus/Configuration.h Parādīt failu

@@ -756,28 +756,15 @@
756 756
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
757 757
 
758 758
 /**
759
- * Junction Deviation
760
- *
761
- * Use Junction Deviation instead of traditional Jerk Limiting
762
- *
763
- * See:
764
- *   https://reprap.org/forum/read.php?1,739819
765
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
766
- */
767
-//#define JUNCTION_DEVIATION
768
-#if ENABLED(JUNCTION_DEVIATION)
769
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
770
-#endif
771
-
772
-/**
773
- * Default Jerk (mm/s)
759
+ * Default Jerk limits (mm/s)
774 760
  * Override with M205 X Y Z E
775 761
  *
776 762
  * "Jerk" specifies the minimum speed change that requires acceleration.
777 763
  * When changing speed and direction, if the difference is less than the
778 764
  * value set here, it may happen instantaneously.
779 765
  */
780
-#if DISABLED(JUNCTION_DEVIATION)
766
+//#define CLASSIC_JERK
767
+#if ENABLED(CLASSIC_JERK)
781 768
   #define DEFAULT_XJERK 10.0
782 769
   #define DEFAULT_YJERK 10.0
783 770
   #define DEFAULT_ZJERK  0.3
@@ -791,6 +778,17 @@
791 778
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
792 779
 
793 780
 /**
781
+ * Junction Deviation Factor
782
+ *
783
+ * See:
784
+ *   https://reprap.org/forum/read.php?1,739819
785
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
+ */
787
+#if DISABLED(CLASSIC_JERK)
788
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
789
+#endif
790
+
791
+/**
794 792
  * S-Curve Acceleration
795 793
  *
796 794
  * This option eliminates vibration during printing by fitting a Bézier

+ 16
- 18
config/examples/Anet/A6/Configuration.h Parādīt failu

@@ -801,30 +801,17 @@
801 801
 //#define DEFAULT_TRAVEL_ACCELERATION   4000    // X, Y, Z acceleration for travel (non printing) moves
802 802
 
803 803
 /**
804
- * Junction Deviation
805
- *
806
- * Use Junction Deviation instead of traditional Jerk Limiting
807
- *
808
- * See:
809
- *   https://reprap.org/forum/read.php?1,739819
810
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
811
- */
812
-//#define JUNCTION_DEVIATION
813
-#if ENABLED(JUNCTION_DEVIATION)
814
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
815
-#endif
816
-
817
-/**
818
- * Default Jerk (mm/s)
804
+ * Default Jerk limits (mm/s)
819 805
  * Override with M205 X Y Z E
820 806
  *
821 807
  * "Jerk" specifies the minimum speed change that requires acceleration.
822 808
  * When changing speed and direction, if the difference is less than the
823 809
  * value set here, it may happen instantaneously.
824 810
  */
825
-// ANET A6 Firmware V2.0 defaults (jerk):
826
-// Vxy-jerk: 10, Vz-jerk: +000.30, Ve-jerk: 5
827
-#if DISABLED(JUNCTION_DEVIATION)
811
+//#define CLASSIC_JERK
812
+#if ENABLED(CLASSIC_JERK)
813
+  // ANET A6 Firmware V2.0 defaults:
814
+  // XY: 10, Z: +000.30, E: 5
828 815
   #define DEFAULT_XJERK 10.0
829 816
   #define DEFAULT_YJERK 10.0
830 817
   #define DEFAULT_ZJERK  0.3
@@ -838,6 +825,17 @@
838 825
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
839 826
 
840 827
 /**
828
+ * Junction Deviation Factor
829
+ *
830
+ * See:
831
+ *   https://reprap.org/forum/read.php?1,739819
832
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
833
+ */
834
+#if DISABLED(CLASSIC_JERK)
835
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
836
+#endif
837
+
838
+/**
841 839
  * S-Curve Acceleration
842 840
  *
843 841
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Anet/A8/Configuration.h Parādīt failu

@@ -769,28 +769,15 @@
769 769
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration for travel (non printing) moves
770 770
 
771 771
 /**
772
- * Junction Deviation
773
- *
774
- * Use Junction Deviation instead of traditional Jerk Limiting
775
- *
776
- * See:
777
- *   https://reprap.org/forum/read.php?1,739819
778
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
779
- */
780
-//#define JUNCTION_DEVIATION
781
-#if ENABLED(JUNCTION_DEVIATION)
782
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
783
-#endif
784
-
785
-/**
786
- * Default Jerk (mm/s)
772
+ * Default Jerk limits (mm/s)
787 773
  * Override with M205 X Y Z E
788 774
  *
789 775
  * "Jerk" specifies the minimum speed change that requires acceleration.
790 776
  * When changing speed and direction, if the difference is less than the
791 777
  * value set here, it may happen instantaneously.
792 778
  */
793
-#if DISABLED(JUNCTION_DEVIATION)
779
+//#define CLASSIC_JERK
780
+#if ENABLED(CLASSIC_JERK)
794 781
   #define DEFAULT_XJERK 10.0
795 782
   #define DEFAULT_YJERK 10.0
796 783
   #define DEFAULT_ZJERK  0.3
@@ -804,6 +791,17 @@
804 791
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
805 792
 
806 793
 /**
794
+ * Junction Deviation Factor
795
+ *
796
+ * See:
797
+ *   https://reprap.org/forum/read.php?1,739819
798
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
799
+ */
800
+#if DISABLED(CLASSIC_JERK)
801
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
802
+#endif
803
+
804
+/**
807 805
  * S-Curve Acceleration
808 806
  *
809 807
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Anet/A8plus/Configuration.h Parādīt failu

@@ -767,28 +767,15 @@
767 767
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration for travel (non printing) moves
768 768
 
769 769
 /**
770
- * Junction Deviation
771
- *
772
- * Use Junction Deviation instead of traditional Jerk Limiting
773
- *
774
- * See:
775
- *   https://reprap.org/forum/read.php?1,739819
776
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
777
- */
778
-//#define JUNCTION_DEVIATION
779
-#if ENABLED(JUNCTION_DEVIATION)
780
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
781
-#endif
782
-
783
-/**
784
- * Default Jerk (mm/s)
770
+ * Default Jerk limits (mm/s)
785 771
  * Override with M205 X Y Z E
786 772
  *
787 773
  * "Jerk" specifies the minimum speed change that requires acceleration.
788 774
  * When changing speed and direction, if the difference is less than the
789 775
  * value set here, it may happen instantaneously.
790 776
  */
791
-#if DISABLED(JUNCTION_DEVIATION)
777
+//#define CLASSIC_JERK
778
+#if ENABLED(CLASSIC_JERK)
792 779
   #define DEFAULT_XJERK 10.0
793 780
   #define DEFAULT_YJERK 10.0
794 781
   #define DEFAULT_ZJERK  0.3
@@ -802,6 +789,17 @@
802 789
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
803 790
 
804 791
 /**
792
+ * Junction Deviation Factor
793
+ *
794
+ * See:
795
+ *   https://reprap.org/forum/read.php?1,739819
796
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
797
+ */
798
+#if DISABLED(CLASSIC_JERK)
799
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
800
+#endif
801
+
802
+/**
805 803
  * S-Curve Acceleration
806 804
  *
807 805
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Anet/E16/Configuration.h Parādīt failu

@@ -768,28 +768,15 @@
768 768
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration for travel (non printing) moves
769 769
 
770 770
 /**
771
- * Junction Deviation
772
- *
773
- * Use Junction Deviation instead of traditional Jerk Limiting
774
- *
775
- * See:
776
- *   https://reprap.org/forum/read.php?1,739819
777
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
778
- */
779
-#define JUNCTION_DEVIATION
780
-#if ENABLED(JUNCTION_DEVIATION)
781
-  #define JUNCTION_DEVIATION_MM 0.08  // (mm) Distance from real junction edge
782
-#endif
783
-
784
-/**
785
- * Default Jerk (mm/s)
771
+ * Default Jerk limits (mm/s)
786 772
  * Override with M205 X Y Z E
787 773
  *
788 774
  * "Jerk" specifies the minimum speed change that requires acceleration.
789 775
  * When changing speed and direction, if the difference is less than the
790 776
  * value set here, it may happen instantaneously.
791 777
  */
792
-#if DISABLED(JUNCTION_DEVIATION)
778
+//#define CLASSIC_JERK
779
+#if ENABLED(CLASSIC_JERK)
793 780
   #define DEFAULT_XJERK 10.0
794 781
   #define DEFAULT_YJERK 10.0
795 782
   #define DEFAULT_ZJERK  0.3
@@ -803,6 +790,17 @@
803 790
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
804 791
 
805 792
 /**
793
+ * Junction Deviation Factor
794
+ *
795
+ * See:
796
+ *   https://reprap.org/forum/read.php?1,739819
797
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
798
+ */
799
+#if DISABLED(CLASSIC_JERK)
800
+  #define JUNCTION_DEVIATION_MM 0.08  // (mm) Distance from real junction edge
801
+#endif
802
+
803
+/**
806 804
  * S-Curve Acceleration
807 805
  *
808 806
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/AnyCubic/i3/Configuration.h Parādīt failu

@@ -766,28 +766,15 @@
766 766
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration for travel (non printing) moves
767 767
 
768 768
 /**
769
- * Junction Deviation
770
- *
771
- * Use Junction Deviation instead of traditional Jerk Limiting
772
- *
773
- * See:
774
- *   https://reprap.org/forum/read.php?1,739819
775
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
776
- */
777
-//#define JUNCTION_DEVIATION
778
-#if ENABLED(JUNCTION_DEVIATION)
779
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
780
-#endif
781
-
782
-/**
783
- * Default Jerk (mm/s)
769
+ * Default Jerk limits (mm/s)
784 770
  * Override with M205 X Y Z E
785 771
  *
786 772
  * "Jerk" specifies the minimum speed change that requires acceleration.
787 773
  * When changing speed and direction, if the difference is less than the
788 774
  * value set here, it may happen instantaneously.
789 775
  */
790
-#if DISABLED(JUNCTION_DEVIATION)
776
+//#define CLASSIC_JERK
777
+#if ENABLED(CLASSIC_JERK)
791 778
   #define DEFAULT_XJERK 5.0
792 779
   #define DEFAULT_YJERK 2.0
793 780
   #define DEFAULT_ZJERK  0.4
@@ -801,6 +788,17 @@
801 788
 #define DEFAULT_EJERK    2.0  // May be used by Linear Advance
802 789
 
803 790
 /**
791
+ * Junction Deviation Factor
792
+ *
793
+ * See:
794
+ *   https://reprap.org/forum/read.php?1,739819
795
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
796
+ */
797
+#if DISABLED(CLASSIC_JERK)
798
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
799
+#endif
800
+
801
+/**
804 802
  * S-Curve Acceleration
805 803
  *
806 804
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/ArmEd/Configuration.h Parādīt failu

@@ -757,28 +757,15 @@
757 757
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration for travel (non printing) moves
758 758
 
759 759
 /**
760
- * Junction Deviation
761
- *
762
- * Use Junction Deviation instead of traditional Jerk Limiting
763
- *
764
- * See:
765
- *   https://reprap.org/forum/read.php?1,739819
766
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
767
- */
768
-//#define JUNCTION_DEVIATION
769
-#if ENABLED(JUNCTION_DEVIATION)
770
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
771
-#endif
772
-
773
-/**
774
- * Default Jerk (mm/s)
760
+ * Default Jerk limits (mm/s)
775 761
  * Override with M205 X Y Z E
776 762
  *
777 763
  * "Jerk" specifies the minimum speed change that requires acceleration.
778 764
  * When changing speed and direction, if the difference is less than the
779 765
  * value set here, it may happen instantaneously.
780 766
  */
781
-#if DISABLED(JUNCTION_DEVIATION)
767
+//#define CLASSIC_JERK
768
+#if ENABLED(CLASSIC_JERK)
782 769
   #define DEFAULT_XJERK  8.0
783 770
   #define DEFAULT_YJERK  8.0
784 771
   #define DEFAULT_ZJERK  0.4
@@ -792,6 +779,17 @@
792 779
 #define DEFAULT_EJERK    1.5  // May be used by Linear Advance
793 780
 
794 781
 /**
782
+ * Junction Deviation Factor
783
+ *
784
+ * See:
785
+ *   https://reprap.org/forum/read.php?1,739819
786
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
787
+ */
788
+#if DISABLED(CLASSIC_JERK)
789
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
790
+#endif
791
+
792
+/**
795 793
  * S-Curve Acceleration
796 794
  *
797 795
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Azteeg/X5GT/Configuration.h Parādīt failu

@@ -756,28 +756,15 @@
756 756
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
757 757
 
758 758
 /**
759
- * Junction Deviation
760
- *
761
- * Use Junction Deviation instead of traditional Jerk Limiting
762
- *
763
- * See:
764
- *   https://reprap.org/forum/read.php?1,739819
765
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
766
- */
767
-//#define JUNCTION_DEVIATION
768
-#if ENABLED(JUNCTION_DEVIATION)
769
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
770
-#endif
771
-
772
-/**
773
- * Default Jerk (mm/s)
759
+ * Default Jerk limits (mm/s)
774 760
  * Override with M205 X Y Z E
775 761
  *
776 762
  * "Jerk" specifies the minimum speed change that requires acceleration.
777 763
  * When changing speed and direction, if the difference is less than the
778 764
  * value set here, it may happen instantaneously.
779 765
  */
780
-#if DISABLED(JUNCTION_DEVIATION)
766
+//#define CLASSIC_JERK
767
+#if ENABLED(CLASSIC_JERK)
781 768
   #define DEFAULT_XJERK 10.0
782 769
   #define DEFAULT_YJERK 10.0
783 770
   #define DEFAULT_ZJERK  0.3
@@ -791,6 +778,17 @@
791 778
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
792 779
 
793 780
 /**
781
+ * Junction Deviation Factor
782
+ *
783
+ * See:
784
+ *   https://reprap.org/forum/read.php?1,739819
785
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
+ */
787
+#if DISABLED(CLASSIC_JERK)
788
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
789
+#endif
790
+
791
+/**
794 792
  * S-Curve Acceleration
795 793
  *
796 794
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/BIBO/TouchX/cyclops/Configuration.h Parādīt failu

@@ -756,28 +756,15 @@
756 756
 #define DEFAULT_TRAVEL_ACCELERATION   1100    // X, Y, Z acceleration for travel (non printing) moves
757 757
 
758 758
 /**
759
- * Junction Deviation
760
- *
761
- * Use Junction Deviation instead of traditional Jerk Limiting
762
- *
763
- * See:
764
- *   https://reprap.org/forum/read.php?1,739819
765
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
766
- */
767
-//#define JUNCTION_DEVIATION
768
-#if ENABLED(JUNCTION_DEVIATION)
769
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
770
-#endif
771
-
772
-/**
773
- * Default Jerk (mm/s)
759
+ * Default Jerk limits (mm/s)
774 760
  * Override with M205 X Y Z E
775 761
  *
776 762
  * "Jerk" specifies the minimum speed change that requires acceleration.
777 763
  * When changing speed and direction, if the difference is less than the
778 764
  * value set here, it may happen instantaneously.
779 765
  */
780
-#if DISABLED(JUNCTION_DEVIATION)
766
+//#define CLASSIC_JERK
767
+#if ENABLED(CLASSIC_JERK)
781 768
   #define DEFAULT_XJERK  7.0
782 769
   #define DEFAULT_YJERK  7.0
783 770
   #define DEFAULT_ZJERK  0.65
@@ -791,6 +778,17 @@
791 778
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
792 779
 
793 780
 /**
781
+ * Junction Deviation Factor
782
+ *
783
+ * See:
784
+ *   https://reprap.org/forum/read.php?1,739819
785
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
+ */
787
+#if DISABLED(CLASSIC_JERK)
788
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
789
+#endif
790
+
791
+/**
794 792
  * S-Curve Acceleration
795 793
  *
796 794
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/BIBO/TouchX/default/Configuration.h Parādīt failu

@@ -756,28 +756,15 @@
756 756
 #define DEFAULT_TRAVEL_ACCELERATION   1100    // X, Y, Z acceleration for travel (non printing) moves
757 757
 
758 758
 /**
759
- * Junction Deviation
760
- *
761
- * Use Junction Deviation instead of traditional Jerk Limiting
762
- *
763
- * See:
764
- *   https://reprap.org/forum/read.php?1,739819
765
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
766
- */
767
-//#define JUNCTION_DEVIATION
768
-#if ENABLED(JUNCTION_DEVIATION)
769
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
770
-#endif
771
-
772
-/**
773
- * Default Jerk (mm/s)
759
+ * Default Jerk limits (mm/s)
774 760
  * Override with M205 X Y Z E
775 761
  *
776 762
  * "Jerk" specifies the minimum speed change that requires acceleration.
777 763
  * When changing speed and direction, if the difference is less than the
778 764
  * value set here, it may happen instantaneously.
779 765
  */
780
-#if DISABLED(JUNCTION_DEVIATION)
766
+//#define CLASSIC_JERK
767
+#if ENABLED(CLASSIC_JERK)
781 768
   #define DEFAULT_XJERK  7.0
782 769
   #define DEFAULT_YJERK  7.0
783 770
   #define DEFAULT_ZJERK  0.65
@@ -791,6 +778,17 @@
791 778
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
792 779
 
793 780
 /**
781
+ * Junction Deviation Factor
782
+ *
783
+ * See:
784
+ *   https://reprap.org/forum/read.php?1,739819
785
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
+ */
787
+#if DISABLED(CLASSIC_JERK)
788
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
789
+#endif
790
+
791
+/**
794 792
  * S-Curve Acceleration
795 793
  *
796 794
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/BQ/Hephestos/Configuration.h Parādīt failu

@@ -744,28 +744,15 @@
744 744
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration for travel (non printing) moves
745 745
 
746 746
 /**
747
- * Junction Deviation
748
- *
749
- * Use Junction Deviation instead of traditional Jerk Limiting
750
- *
751
- * See:
752
- *   https://reprap.org/forum/read.php?1,739819
753
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
754
- */
755
-//#define JUNCTION_DEVIATION
756
-#if ENABLED(JUNCTION_DEVIATION)
757
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
758
-#endif
759
-
760
-/**
761
- * Default Jerk (mm/s)
747
+ * Default Jerk limits (mm/s)
762 748
  * Override with M205 X Y Z E
763 749
  *
764 750
  * "Jerk" specifies the minimum speed change that requires acceleration.
765 751
  * When changing speed and direction, if the difference is less than the
766 752
  * value set here, it may happen instantaneously.
767 753
  */
768
-#if DISABLED(JUNCTION_DEVIATION)
754
+//#define CLASSIC_JERK
755
+#if ENABLED(CLASSIC_JERK)
769 756
   #define DEFAULT_XJERK 10.0
770 757
   #define DEFAULT_YJERK 10.0
771 758
   #define DEFAULT_ZJERK  0.3
@@ -779,6 +766,17 @@
779 766
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
780 767
 
781 768
 /**
769
+ * Junction Deviation Factor
770
+ *
771
+ * See:
772
+ *   https://reprap.org/forum/read.php?1,739819
773
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
774
+ */
775
+#if DISABLED(CLASSIC_JERK)
776
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
777
+#endif
778
+
779
+/**
782 780
  * S-Curve Acceleration
783 781
  *
784 782
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/BQ/Hephestos_2/Configuration.h Parādīt failu

@@ -757,28 +757,15 @@
757 757
 #define DEFAULT_TRAVEL_ACCELERATION   1500    // X, Y, Z acceleration for travel (non printing) moves
758 758
 
759 759
 /**
760
- * Junction Deviation
761
- *
762
- * Use Junction Deviation instead of traditional Jerk Limiting
763
- *
764
- * See:
765
- *   https://reprap.org/forum/read.php?1,739819
766
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
767
- */
768
-//#define JUNCTION_DEVIATION
769
-#if ENABLED(JUNCTION_DEVIATION)
770
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
771
-#endif
772
-
773
-/**
774
- * Default Jerk (mm/s)
760
+ * Default Jerk limits (mm/s)
775 761
  * Override with M205 X Y Z E
776 762
  *
777 763
  * "Jerk" specifies the minimum speed change that requires acceleration.
778 764
  * When changing speed and direction, if the difference is less than the
779 765
  * value set here, it may happen instantaneously.
780 766
  */
781
-#if DISABLED(JUNCTION_DEVIATION)
767
+//#define CLASSIC_JERK
768
+#if ENABLED(CLASSIC_JERK)
782 769
   #define DEFAULT_XJERK  5.0
783 770
   #define DEFAULT_YJERK  5.0
784 771
   #define DEFAULT_ZJERK  0.3
@@ -792,6 +779,17 @@
792 779
 #define DEFAULT_EJERK   10.0  // May be used by Linear Advance
793 780
 
794 781
 /**
782
+ * Junction Deviation Factor
783
+ *
784
+ * See:
785
+ *   https://reprap.org/forum/read.php?1,739819
786
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
787
+ */
788
+#if DISABLED(CLASSIC_JERK)
789
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
790
+#endif
791
+
792
+/**
795 793
  * S-Curve Acceleration
796 794
  *
797 795
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/BQ/WITBOX/Configuration.h Parādīt failu

@@ -744,28 +744,15 @@
744 744
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
745 745
 
746 746
 /**
747
- * Junction Deviation
748
- *
749
- * Use Junction Deviation instead of traditional Jerk Limiting
750
- *
751
- * See:
752
- *   https://reprap.org/forum/read.php?1,739819
753
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
754
- */
755
-//#define JUNCTION_DEVIATION
756
-#if ENABLED(JUNCTION_DEVIATION)
757
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
758
-#endif
759
-
760
-/**
761
- * Default Jerk (mm/s)
747
+ * Default Jerk limits (mm/s)
762 748
  * Override with M205 X Y Z E
763 749
  *
764 750
  * "Jerk" specifies the minimum speed change that requires acceleration.
765 751
  * When changing speed and direction, if the difference is less than the
766 752
  * value set here, it may happen instantaneously.
767 753
  */
768
-#if DISABLED(JUNCTION_DEVIATION)
754
+//#define CLASSIC_JERK
755
+#if ENABLED(CLASSIC_JERK)
769 756
   #define DEFAULT_XJERK 10.0
770 757
   #define DEFAULT_YJERK 10.0
771 758
   #define DEFAULT_ZJERK  0.3
@@ -779,6 +766,17 @@
779 766
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
780 767
 
781 768
 /**
769
+ * Junction Deviation Factor
770
+ *
771
+ * See:
772
+ *   https://reprap.org/forum/read.php?1,739819
773
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
774
+ */
775
+#if DISABLED(CLASSIC_JERK)
776
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
777
+#endif
778
+
779
+/**
782 780
  * S-Curve Acceleration
783 781
  *
784 782
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Cartesio/Configuration.h Parādīt failu

@@ -755,28 +755,15 @@
755 755
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration for travel (non printing) moves
756 756
 
757 757
 /**
758
- * Junction Deviation
759
- *
760
- * Use Junction Deviation instead of traditional Jerk Limiting
761
- *
762
- * See:
763
- *   https://reprap.org/forum/read.php?1,739819
764
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
765
- */
766
-//#define JUNCTION_DEVIATION
767
-#if ENABLED(JUNCTION_DEVIATION)
768
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
769
-#endif
770
-
771
-/**
772
- * Default Jerk (mm/s)
758
+ * Default Jerk limits (mm/s)
773 759
  * Override with M205 X Y Z E
774 760
  *
775 761
  * "Jerk" specifies the minimum speed change that requires acceleration.
776 762
  * When changing speed and direction, if the difference is less than the
777 763
  * value set here, it may happen instantaneously.
778 764
  */
779
-#if DISABLED(JUNCTION_DEVIATION)
765
+//#define CLASSIC_JERK
766
+#if ENABLED(CLASSIC_JERK)
780 767
   #define DEFAULT_XJERK 10.0
781 768
   #define DEFAULT_YJERK 10.0
782 769
   #define DEFAULT_ZJERK  0.3
@@ -790,6 +777,17 @@
790 777
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
791 778
 
792 779
 /**
780
+ * Junction Deviation Factor
781
+ *
782
+ * See:
783
+ *   https://reprap.org/forum/read.php?1,739819
784
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
785
+ */
786
+#if DISABLED(CLASSIC_JERK)
787
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
788
+#endif
789
+
790
+/**
793 791
  * S-Curve Acceleration
794 792
  *
795 793
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Creality/CR-10/Configuration.h Parādīt failu

@@ -766,28 +766,15 @@
766 766
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration for travel (non printing) moves
767 767
 
768 768
 /**
769
- * Junction Deviation
770
- *
771
- * Use Junction Deviation instead of traditional Jerk Limiting
772
- *
773
- * See:
774
- *   https://reprap.org/forum/read.php?1,739819
775
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
776
- */
777
-//#define JUNCTION_DEVIATION
778
-#if ENABLED(JUNCTION_DEVIATION)
779
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
780
-#endif
781
-
782
-/**
783
- * Default Jerk (mm/s)
769
+ * Default Jerk limits (mm/s)
784 770
  * Override with M205 X Y Z E
785 771
  *
786 772
  * "Jerk" specifies the minimum speed change that requires acceleration.
787 773
  * When changing speed and direction, if the difference is less than the
788 774
  * value set here, it may happen instantaneously.
789 775
  */
790
-#if DISABLED(JUNCTION_DEVIATION)
776
+//#define CLASSIC_JERK
777
+#if ENABLED(CLASSIC_JERK)
791 778
   #define DEFAULT_XJERK 10.0
792 779
   #define DEFAULT_YJERK 10.0
793 780
   #define DEFAULT_ZJERK  2.7
@@ -801,6 +788,17 @@
801 788
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
802 789
 
803 790
 /**
791
+ * Junction Deviation Factor
792
+ *
793
+ * See:
794
+ *   https://reprap.org/forum/read.php?1,739819
795
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
796
+ */
797
+#if DISABLED(CLASSIC_JERK)
798
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
799
+#endif
800
+
801
+/**
804 802
  * S-Curve Acceleration
805 803
  *
806 804
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Creality/CR-10S/Configuration.h Parādīt failu

@@ -756,28 +756,15 @@
756 756
 #define DEFAULT_TRAVEL_ACCELERATION    800    // X, Y, Z acceleration for travel (non printing) moves
757 757
 
758 758
 /**
759
- * Junction Deviation
760
- *
761
- * Use Junction Deviation instead of traditional Jerk Limiting
762
- *
763
- * See:
764
- *   https://reprap.org/forum/read.php?1,739819
765
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
766
- */
767
-//#define JUNCTION_DEVIATION
768
-#if ENABLED(JUNCTION_DEVIATION)
769
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
770
-#endif
771
-
772
-/**
773
- * Default Jerk (mm/s)
759
+ * Default Jerk limits (mm/s)
774 760
  * Override with M205 X Y Z E
775 761
  *
776 762
  * "Jerk" specifies the minimum speed change that requires acceleration.
777 763
  * When changing speed and direction, if the difference is less than the
778 764
  * value set here, it may happen instantaneously.
779 765
  */
780
-#if DISABLED(JUNCTION_DEVIATION)
766
+//#define CLASSIC_JERK
767
+#if ENABLED(CLASSIC_JERK)
781 768
   #define DEFAULT_XJERK 10.0
782 769
   #define DEFAULT_YJERK 10.0
783 770
   #define DEFAULT_ZJERK  0.4
@@ -791,6 +778,17 @@
791 778
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
792 779
 
793 780
 /**
781
+ * Junction Deviation Factor
782
+ *
783
+ * See:
784
+ *   https://reprap.org/forum/read.php?1,739819
785
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
+ */
787
+#if DISABLED(CLASSIC_JERK)
788
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
789
+#endif
790
+
791
+/**
794 792
  * S-Curve Acceleration
795 793
  *
796 794
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Creality/CR-10_5S/Configuration.h Parādīt failu

@@ -757,28 +757,15 @@
757 757
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration for travel (non printing) moves
758 758
 
759 759
 /**
760
- * Junction Deviation
761
- *
762
- * Use Junction Deviation instead of traditional Jerk Limiting
763
- *
764
- * See:
765
- *   https://reprap.org/forum/read.php?1,739819
766
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
767
- */
768
-//#define JUNCTION_DEVIATION
769
-#if ENABLED(JUNCTION_DEVIATION)
770
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
771
-#endif
772
-
773
-/**
774
- * Default Jerk (mm/s)
760
+ * Default Jerk limits (mm/s)
775 761
  * Override with M205 X Y Z E
776 762
  *
777 763
  * "Jerk" specifies the minimum speed change that requires acceleration.
778 764
  * When changing speed and direction, if the difference is less than the
779 765
  * value set here, it may happen instantaneously.
780 766
  */
781
-#if DISABLED(JUNCTION_DEVIATION)
767
+//#define CLASSIC_JERK
768
+#if ENABLED(CLASSIC_JERK)
782 769
   #define DEFAULT_XJERK  5.0
783 770
   #define DEFAULT_YJERK  5.0
784 771
   #define DEFAULT_ZJERK  0.4
@@ -792,6 +779,17 @@
792 779
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
793 780
 
794 781
 /**
782
+ * Junction Deviation Factor
783
+ *
784
+ * See:
785
+ *   https://reprap.org/forum/read.php?1,739819
786
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
787
+ */
788
+#if DISABLED(CLASSIC_JERK)
789
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
790
+#endif
791
+
792
+/**
795 793
  * S-Curve Acceleration
796 794
  *
797 795
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Creality/CR-10mini/Configuration.h Parādīt failu

@@ -775,28 +775,15 @@
775 775
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration for travel (non printing) moves
776 776
 
777 777
 /**
778
- * Junction Deviation
779
- *
780
- * Use Junction Deviation instead of traditional Jerk Limiting
781
- *
782
- * See:
783
- *   https://reprap.org/forum/read.php?1,739819
784
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
785
- */
786
-//#define JUNCTION_DEVIATION
787
-#if ENABLED(JUNCTION_DEVIATION)
788
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
789
-#endif
790
-
791
-/**
792
- * Default Jerk (mm/s)
778
+ * Default Jerk limits (mm/s)
793 779
  * Override with M205 X Y Z E
794 780
  *
795 781
  * "Jerk" specifies the minimum speed change that requires acceleration.
796 782
  * When changing speed and direction, if the difference is less than the
797 783
  * value set here, it may happen instantaneously.
798 784
  */
799
-#if DISABLED(JUNCTION_DEVIATION)
785
+//#define CLASSIC_JERK
786
+#if ENABLED(CLASSIC_JERK)
800 787
   #define DEFAULT_XJERK 10.0
801 788
   #define DEFAULT_YJERK 10.0
802 789
   #define DEFAULT_ZJERK  0.3
@@ -810,6 +797,17 @@
810 797
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
811 798
 
812 799
 /**
800
+ * Junction Deviation Factor
801
+ *
802
+ * See:
803
+ *   https://reprap.org/forum/read.php?1,739819
804
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
805
+ */
806
+#if DISABLED(CLASSIC_JERK)
807
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
808
+#endif
809
+
810
+/**
813 811
  * S-Curve Acceleration
814 812
  *
815 813
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Creality/CR-20 Pro/Configuration.h Parādīt failu

@@ -760,28 +760,15 @@
760 760
 #define DEFAULT_TRAVEL_ACCELERATION   500    // X, Y, Z acceleration for travel (non printing) moves
761 761
 
762 762
 /**
763
- * Junction Deviation
764
- *
765
- * Use Junction Deviation instead of traditional Jerk Limiting
766
- *
767
- * See:
768
- *   https://reprap.org/forum/read.php?1,739819
769
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
770
- */
771
-//#define JUNCTION_DEVIATION
772
-#if ENABLED(JUNCTION_DEVIATION)
773
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
774
-#endif
775
-
776
-/**
777
- * Default Jerk (mm/s)
763
+ * Default Jerk limits (mm/s)
778 764
  * Override with M205 X Y Z E
779 765
  *
780 766
  * "Jerk" specifies the minimum speed change that requires acceleration.
781 767
  * When changing speed and direction, if the difference is less than the
782 768
  * value set here, it may happen instantaneously.
783 769
  */
784
-#if DISABLED(JUNCTION_DEVIATION)
770
+//#define CLASSIC_JERK
771
+#if ENABLED(CLASSIC_JERK)
785 772
   #define DEFAULT_XJERK 10.0
786 773
   #define DEFAULT_YJERK 10.0
787 774
   #define DEFAULT_ZJERK  0.3
@@ -795,6 +782,17 @@
795 782
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
796 783
 
797 784
 /**
785
+ * Junction Deviation Factor
786
+ *
787
+ * See:
788
+ *   https://reprap.org/forum/read.php?1,739819
789
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
790
+ */
791
+#if DISABLED(CLASSIC_JERK)
792
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
793
+#endif
794
+
795
+/**
798 796
  * S-Curve Acceleration
799 797
  *
800 798
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Creality/CR-20/Configuration.h Parādīt failu

@@ -760,28 +760,15 @@
760 760
 #define DEFAULT_TRAVEL_ACCELERATION   500    // X, Y, Z acceleration for travel (non printing) moves
761 761
 
762 762
 /**
763
- * Junction Deviation
764
- *
765
- * Use Junction Deviation instead of traditional Jerk Limiting
766
- *
767
- * See:
768
- *   https://reprap.org/forum/read.php?1,739819
769
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
770
- */
771
-//#define JUNCTION_DEVIATION
772
-#if ENABLED(JUNCTION_DEVIATION)
773
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
774
-#endif
775
-
776
-/**
777
- * Default Jerk (mm/s)
763
+ * Default Jerk limits (mm/s)
778 764
  * Override with M205 X Y Z E
779 765
  *
780 766
  * "Jerk" specifies the minimum speed change that requires acceleration.
781 767
  * When changing speed and direction, if the difference is less than the
782 768
  * value set here, it may happen instantaneously.
783 769
  */
784
-#if DISABLED(JUNCTION_DEVIATION)
770
+//#define CLASSIC_JERK
771
+#if ENABLED(CLASSIC_JERK)
785 772
   #define DEFAULT_XJERK 10.0
786 773
   #define DEFAULT_YJERK 10.0
787 774
   #define DEFAULT_ZJERK  0.3
@@ -795,6 +782,17 @@
795 782
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
796 783
 
797 784
 /**
785
+ * Junction Deviation Factor
786
+ *
787
+ * See:
788
+ *   https://reprap.org/forum/read.php?1,739819
789
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
790
+ */
791
+#if DISABLED(CLASSIC_JERK)
792
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
793
+#endif
794
+
795
+/**
798 796
  * S-Curve Acceleration
799 797
  *
800 798
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Creality/CR-8/Configuration.h Parādīt failu

@@ -766,28 +766,15 @@
766 766
 #define DEFAULT_TRAVEL_ACCELERATION   500    // X, Y, Z acceleration for travel (non printing) moves
767 767
 
768 768
 /**
769
- * Junction Deviation
770
- *
771
- * Use Junction Deviation instead of traditional Jerk Limiting
772
- *
773
- * See:
774
- *   https://reprap.org/forum/read.php?1,739819
775
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
776
- */
777
-//#define JUNCTION_DEVIATION
778
-#if ENABLED(JUNCTION_DEVIATION)
779
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
780
-#endif
781
-
782
-/**
783
- * Default Jerk (mm/s)
769
+ * Default Jerk limits (mm/s)
784 770
  * Override with M205 X Y Z E
785 771
  *
786 772
  * "Jerk" specifies the minimum speed change that requires acceleration.
787 773
  * When changing speed and direction, if the difference is less than the
788 774
  * value set here, it may happen instantaneously.
789 775
  */
790
-#if DISABLED(JUNCTION_DEVIATION)
776
+//#define CLASSIC_JERK
777
+#if ENABLED(CLASSIC_JERK)
791 778
   #define DEFAULT_XJERK 10.0
792 779
   #define DEFAULT_YJERK 10.0
793 780
   #define DEFAULT_ZJERK  0.4
@@ -801,6 +788,17 @@
801 788
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
802 789
 
803 790
 /**
791
+ * Junction Deviation Factor
792
+ *
793
+ * See:
794
+ *   https://reprap.org/forum/read.php?1,739819
795
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
796
+ */
797
+#if DISABLED(CLASSIC_JERK)
798
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
799
+#endif
800
+
801
+/**
804 802
  * S-Curve Acceleration
805 803
  *
806 804
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Creality/Ender-2/Configuration.h Parādīt failu

@@ -760,28 +760,15 @@
760 760
 #define DEFAULT_TRAVEL_ACCELERATION   500    // X, Y, Z acceleration for travel (non printing) moves
761 761
 
762 762
 /**
763
- * Junction Deviation
764
- *
765
- * Use Junction Deviation instead of traditional Jerk Limiting
766
- *
767
- * See:
768
- *   https://reprap.org/forum/read.php?1,739819
769
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
770
- */
771
-//#define JUNCTION_DEVIATION
772
-#if ENABLED(JUNCTION_DEVIATION)
773
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
774
-#endif
775
-
776
-/**
777
- * Default Jerk (mm/s)
763
+ * Default Jerk limits (mm/s)
778 764
  * Override with M205 X Y Z E
779 765
  *
780 766
  * "Jerk" specifies the minimum speed change that requires acceleration.
781 767
  * When changing speed and direction, if the difference is less than the
782 768
  * value set here, it may happen instantaneously.
783 769
  */
784
-#if DISABLED(JUNCTION_DEVIATION)
770
+//#define CLASSIC_JERK
771
+#if ENABLED(CLASSIC_JERK)
785 772
   #define DEFAULT_XJERK 10.0
786 773
   #define DEFAULT_YJERK 10.0
787 774
   #define DEFAULT_ZJERK  0.3
@@ -795,6 +782,17 @@
795 782
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
796 783
 
797 784
 /**
785
+ * Junction Deviation Factor
786
+ *
787
+ * See:
788
+ *   https://reprap.org/forum/read.php?1,739819
789
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
790
+ */
791
+#if DISABLED(CLASSIC_JERK)
792
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
793
+#endif
794
+
795
+/**
798 796
  * S-Curve Acceleration
799 797
  *
800 798
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Creality/Ender-3/Configuration.h Parādīt failu

@@ -760,28 +760,15 @@
760 760
 #define DEFAULT_TRAVEL_ACCELERATION   500    // X, Y, Z acceleration for travel (non printing) moves
761 761
 
762 762
 /**
763
- * Junction Deviation
764
- *
765
- * Use Junction Deviation instead of traditional Jerk Limiting
766
- *
767
- * See:
768
- *   https://reprap.org/forum/read.php?1,739819
769
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
770
- */
771
-//#define JUNCTION_DEVIATION
772
-#if ENABLED(JUNCTION_DEVIATION)
773
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
774
-#endif
775
-
776
-/**
777
- * Default Jerk (mm/s)
763
+ * Default Jerk limits (mm/s)
778 764
  * Override with M205 X Y Z E
779 765
  *
780 766
  * "Jerk" specifies the minimum speed change that requires acceleration.
781 767
  * When changing speed and direction, if the difference is less than the
782 768
  * value set here, it may happen instantaneously.
783 769
  */
784
-#if DISABLED(JUNCTION_DEVIATION)
770
+//#define CLASSIC_JERK
771
+#if ENABLED(CLASSIC_JERK)
785 772
   #define DEFAULT_XJERK 10.0
786 773
   #define DEFAULT_YJERK 10.0
787 774
   #define DEFAULT_ZJERK  0.3
@@ -795,6 +782,17 @@
795 782
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
796 783
 
797 784
 /**
785
+ * Junction Deviation Factor
786
+ *
787
+ * See:
788
+ *   https://reprap.org/forum/read.php?1,739819
789
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
790
+ */
791
+#if DISABLED(CLASSIC_JERK)
792
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
793
+#endif
794
+
795
+/**
798 796
  * S-Curve Acceleration
799 797
  *
800 798
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Creality/Ender-4/Configuration.h Parādīt failu

@@ -766,28 +766,15 @@
766 766
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
767 767
 
768 768
 /**
769
- * Junction Deviation
770
- *
771
- * Use Junction Deviation instead of traditional Jerk Limiting
772
- *
773
- * See:
774
- *   https://reprap.org/forum/read.php?1,739819
775
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
776
- */
777
-//#define JUNCTION_DEVIATION
778
-#if ENABLED(JUNCTION_DEVIATION)
779
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
780
-#endif
781
-
782
-/**
783
- * Default Jerk (mm/s)
769
+ * Default Jerk limits (mm/s)
784 770
  * Override with M205 X Y Z E
785 771
  *
786 772
  * "Jerk" specifies the minimum speed change that requires acceleration.
787 773
  * When changing speed and direction, if the difference is less than the
788 774
  * value set here, it may happen instantaneously.
789 775
  */
790
-#if DISABLED(JUNCTION_DEVIATION)
776
+//#define CLASSIC_JERK
777
+#if ENABLED(CLASSIC_JERK)
791 778
   #define DEFAULT_XJERK 10.0
792 779
   #define DEFAULT_YJERK 10.0
793 780
   #define DEFAULT_ZJERK  2.4
@@ -801,6 +788,17 @@
801 788
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
802 789
 
803 790
 /**
791
+ * Junction Deviation Factor
792
+ *
793
+ * See:
794
+ *   https://reprap.org/forum/read.php?1,739819
795
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
796
+ */
797
+#if DISABLED(CLASSIC_JERK)
798
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
799
+#endif
800
+
801
+/**
804 802
  * S-Curve Acceleration
805 803
  *
806 804
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Creality/Ender-5/Configuration.h Parādīt failu

@@ -760,28 +760,15 @@
760 760
 #define DEFAULT_TRAVEL_ACCELERATION   500    // X, Y, Z acceleration for travel (non printing) moves
761 761
 
762 762
 /**
763
- * Junction Deviation
764
- *
765
- * Use Junction Deviation instead of traditional Jerk Limiting
766
- *
767
- * See:
768
- *   https://reprap.org/forum/read.php?1,739819
769
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
770
- */
771
-//#define JUNCTION_DEVIATION
772
-#if ENABLED(JUNCTION_DEVIATION)
773
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
774
-#endif
775
-
776
-/**
777
- * Default Jerk (mm/s)
763
+ * Default Jerk limits (mm/s)
778 764
  * Override with M205 X Y Z E
779 765
  *
780 766
  * "Jerk" specifies the minimum speed change that requires acceleration.
781 767
  * When changing speed and direction, if the difference is less than the
782 768
  * value set here, it may happen instantaneously.
783 769
  */
784
-#if DISABLED(JUNCTION_DEVIATION)
770
+//#define CLASSIC_JERK
771
+#if ENABLED(CLASSIC_JERK)
785 772
   #define DEFAULT_XJERK 10.0
786 773
   #define DEFAULT_YJERK 10.0
787 774
   #define DEFAULT_ZJERK  0.3
@@ -795,6 +782,17 @@
795 782
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
796 783
 
797 784
 /**
785
+ * Junction Deviation Factor
786
+ *
787
+ * See:
788
+ *   https://reprap.org/forum/read.php?1,739819
789
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
790
+ */
791
+#if DISABLED(CLASSIC_JERK)
792
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
793
+#endif
794
+
795
+/**
798 796
  * S-Curve Acceleration
799 797
  *
800 798
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Dagoma/Disco Ultimate/Configuration.h Parādīt failu

@@ -756,28 +756,15 @@
756 756
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
757 757
 
758 758
 /**
759
- * Junction Deviation
760
- *
761
- * Use Junction Deviation instead of traditional Jerk Limiting
762
- *
763
- * See:
764
- *   https://reprap.org/forum/read.php?1,739819
765
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
766
- */
767
-#define JUNCTION_DEVIATION
768
-#if ENABLED(JUNCTION_DEVIATION)
769
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
770
-#endif
771
-
772
-/**
773
- * Default Jerk (mm/s)
759
+ * Default Jerk limits (mm/s)
774 760
  * Override with M205 X Y Z E
775 761
  *
776 762
  * "Jerk" specifies the minimum speed change that requires acceleration.
777 763
  * When changing speed and direction, if the difference is less than the
778 764
  * value set here, it may happen instantaneously.
779 765
  */
780
-#if DISABLED(JUNCTION_DEVIATION)
766
+//#define CLASSIC_JERK
767
+#if ENABLED(CLASSIC_JERK)
781 768
   #define DEFAULT_XJERK 20
782 769
   #define DEFAULT_YJERK 20
783 770
   #define DEFAULT_ZJERK  0.4
@@ -791,6 +778,17 @@
791 778
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
792 779
 
793 780
 /**
781
+ * Junction Deviation Factor
782
+ *
783
+ * See:
784
+ *   https://reprap.org/forum/read.php?1,739819
785
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
+ */
787
+#if DISABLED(CLASSIC_JERK)
788
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
789
+#endif
790
+
791
+/**
794 792
  * S-Curve Acceleration
795 793
  *
796 794
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/EVNOVO (Artillery)/Sidewinder X1/Configuration.h Parādīt failu

@@ -761,28 +761,15 @@
761 761
 #define DEFAULT_TRAVEL_ACCELERATION   2000    // X, Y, Z acceleration for travel (non printing) moves
762 762
 
763 763
 /**
764
- * Junction Deviation
765
- *
766
- * Use Junction Deviation instead of traditional Jerk Limiting
767
- *
768
- * See:
769
- *   https://reprap.org/forum/read.php?1,739819
770
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
771
- */
772
-//#define JUNCTION_DEVIATION
773
-#if ENABLED(JUNCTION_DEVIATION)
774
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
775
-#endif
776
-
777
-/**
778
- * Default Jerk (mm/s)
764
+ * Default Jerk limits (mm/s)
779 765
  * Override with M205 X Y Z E
780 766
  *
781 767
  * "Jerk" specifies the minimum speed change that requires acceleration.
782 768
  * When changing speed and direction, if the difference is less than the
783 769
  * value set here, it may happen instantaneously.
784 770
  */
785
-#if DISABLED(JUNCTION_DEVIATION)
771
+//#define CLASSIC_JERK
772
+#if ENABLED(CLASSIC_JERK)
786 773
   #define DEFAULT_XJERK 8.0
787 774
   #define DEFAULT_YJERK 8.0
788 775
   #define DEFAULT_ZJERK  0.3
@@ -796,6 +783,17 @@
796 783
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
797 784
 
798 785
 /**
786
+ * Junction Deviation Factor
787
+ *
788
+ * See:
789
+ *   https://reprap.org/forum/read.php?1,739819
790
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
791
+ */
792
+#if DISABLED(CLASSIC_JERK)
793
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
794
+#endif
795
+
796
+/**
799 797
  * S-Curve Acceleration
800 798
  *
801 799
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Einstart-S/Configuration.h Parādīt failu

@@ -766,28 +766,15 @@
766 766
 #define DEFAULT_TRAVEL_ACCELERATION   2000    // X, Y, Z acceleration for travel (non printing) moves
767 767
 
768 768
 /**
769
- * Junction Deviation
770
- *
771
- * Use Junction Deviation instead of traditional Jerk Limiting
772
- *
773
- * See:
774
- *   https://reprap.org/forum/read.php?1,739819
775
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
776
- */
777
-//#define JUNCTION_DEVIATION
778
-#if ENABLED(JUNCTION_DEVIATION)
779
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
780
-#endif
781
-
782
-/**
783
- * Default Jerk (mm/s)
769
+ * Default Jerk limits (mm/s)
784 770
  * Override with M205 X Y Z E
785 771
  *
786 772
  * "Jerk" specifies the minimum speed change that requires acceleration.
787 773
  * When changing speed and direction, if the difference is less than the
788 774
  * value set here, it may happen instantaneously.
789 775
  */
790
-#if DISABLED(JUNCTION_DEVIATION)
776
+//#define CLASSIC_JERK
777
+#if ENABLED(CLASSIC_JERK)
791 778
   #define DEFAULT_XJERK 10.0
792 779
   #define DEFAULT_YJERK 10.0
793 780
   #define DEFAULT_ZJERK  0.3
@@ -801,6 +788,17 @@
801 788
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
802 789
 
803 790
 /**
791
+ * Junction Deviation Factor
792
+ *
793
+ * See:
794
+ *   https://reprap.org/forum/read.php?1,739819
795
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
796
+ */
797
+#if DISABLED(CLASSIC_JERK)
798
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
799
+#endif
800
+
801
+/**
804 802
  * S-Curve Acceleration
805 803
  *
806 804
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/FYSETC/AIO_II/Configuration.h Parādīt failu

@@ -761,28 +761,15 @@
761 761
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
762 762
 
763 763
 /**
764
- * Junction Deviation
765
- *
766
- * Use Junction Deviation instead of traditional Jerk Limiting
767
- *
768
- * See:
769
- *   https://reprap.org/forum/read.php?1,739819
770
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
771
- */
772
-//#define JUNCTION_DEVIATION
773
-#if ENABLED(JUNCTION_DEVIATION)
774
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
775
-#endif
776
-
777
-/**
778
- * Default Jerk (mm/s)
764
+ * Default Jerk limits (mm/s)
779 765
  * Override with M205 X Y Z E
780 766
  *
781 767
  * "Jerk" specifies the minimum speed change that requires acceleration.
782 768
  * When changing speed and direction, if the difference is less than the
783 769
  * value set here, it may happen instantaneously.
784 770
  */
785
-#if DISABLED(JUNCTION_DEVIATION)
771
+//#define CLASSIC_JERK
772
+#if ENABLED(CLASSIC_JERK)
786 773
   #define DEFAULT_XJERK 10.0
787 774
   #define DEFAULT_YJERK 10.0
788 775
   #define DEFAULT_ZJERK  0.3
@@ -796,6 +783,17 @@
796 783
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
797 784
 
798 785
 /**
786
+ * Junction Deviation Factor
787
+ *
788
+ * See:
789
+ *   https://reprap.org/forum/read.php?1,739819
790
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
791
+ */
792
+#if DISABLED(CLASSIC_JERK)
793
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
794
+#endif
795
+
796
+/**
799 797
  * S-Curve Acceleration
800 798
  *
801 799
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/FYSETC/Cheetah 1.2/BLTouch/Configuration.h Parādīt failu

@@ -761,28 +761,15 @@
761 761
 #define DEFAULT_TRAVEL_ACCELERATION   500    // X, Y, Z acceleration for travel (non printing) moves
762 762
 
763 763
 /**
764
- * Junction Deviation
765
- *
766
- * Use Junction Deviation instead of traditional Jerk Limiting
767
- *
768
- * See:
769
- *   https://reprap.org/forum/read.php?1,739819
770
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
771
- */
772
-//#define JUNCTION_DEVIATION
773
-#if ENABLED(JUNCTION_DEVIATION)
774
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
775
-#endif
776
-
777
-/**
778
- * Default Jerk (mm/s)
764
+ * Default Jerk limits (mm/s)
779 765
  * Override with M205 X Y Z E
780 766
  *
781 767
  * "Jerk" specifies the minimum speed change that requires acceleration.
782 768
  * When changing speed and direction, if the difference is less than the
783 769
  * value set here, it may happen instantaneously.
784 770
  */
785
-#if DISABLED(JUNCTION_DEVIATION)
771
+//#define CLASSIC_JERK
772
+#if ENABLED(CLASSIC_JERK)
786 773
   #define DEFAULT_XJERK 10.0
787 774
   #define DEFAULT_YJERK 10.0
788 775
   #define DEFAULT_ZJERK  0.3
@@ -796,6 +783,17 @@
796 783
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
797 784
 
798 785
 /**
786
+ * Junction Deviation Factor
787
+ *
788
+ * See:
789
+ *   https://reprap.org/forum/read.php?1,739819
790
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
791
+ */
792
+#if DISABLED(CLASSIC_JERK)
793
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
794
+#endif
795
+
796
+/**
799 797
  * S-Curve Acceleration
800 798
  *
801 799
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/FYSETC/Cheetah 1.2/base/Configuration.h Parādīt failu

@@ -761,28 +761,15 @@
761 761
 #define DEFAULT_TRAVEL_ACCELERATION   500    // X, Y, Z acceleration for travel (non printing) moves
762 762
 
763 763
 /**
764
- * Junction Deviation
765
- *
766
- * Use Junction Deviation instead of traditional Jerk Limiting
767
- *
768
- * See:
769
- *   https://reprap.org/forum/read.php?1,739819
770
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
771
- */
772
-//#define JUNCTION_DEVIATION
773
-#if ENABLED(JUNCTION_DEVIATION)
774
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
775
-#endif
776
-
777
-/**
778
- * Default Jerk (mm/s)
764
+ * Default Jerk limits (mm/s)
779 765
  * Override with M205 X Y Z E
780 766
  *
781 767
  * "Jerk" specifies the minimum speed change that requires acceleration.
782 768
  * When changing speed and direction, if the difference is less than the
783 769
  * value set here, it may happen instantaneously.
784 770
  */
785
-#if DISABLED(JUNCTION_DEVIATION)
771
+//#define CLASSIC_JERK
772
+#if ENABLED(CLASSIC_JERK)
786 773
   #define DEFAULT_XJERK 10.0
787 774
   #define DEFAULT_YJERK 10.0
788 775
   #define DEFAULT_ZJERK  0.3
@@ -796,6 +783,17 @@
796 783
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
797 784
 
798 785
 /**
786
+ * Junction Deviation Factor
787
+ *
788
+ * See:
789
+ *   https://reprap.org/forum/read.php?1,739819
790
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
791
+ */
792
+#if DISABLED(CLASSIC_JERK)
793
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
794
+#endif
795
+
796
+/**
799 797
  * S-Curve Acceleration
800 798
  *
801 799
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/FYSETC/Cheetah/BLTouch/Configuration.h Parādīt failu

@@ -761,28 +761,15 @@
761 761
 #define DEFAULT_TRAVEL_ACCELERATION   500    // X, Y, Z acceleration for travel (non printing) moves
762 762
 
763 763
 /**
764
- * Junction Deviation
765
- *
766
- * Use Junction Deviation instead of traditional Jerk Limiting
767
- *
768
- * See:
769
- *   https://reprap.org/forum/read.php?1,739819
770
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
771
- */
772
-//#define JUNCTION_DEVIATION
773
-#if ENABLED(JUNCTION_DEVIATION)
774
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
775
-#endif
776
-
777
-/**
778
- * Default Jerk (mm/s)
764
+ * Default Jerk limits (mm/s)
779 765
  * Override with M205 X Y Z E
780 766
  *
781 767
  * "Jerk" specifies the minimum speed change that requires acceleration.
782 768
  * When changing speed and direction, if the difference is less than the
783 769
  * value set here, it may happen instantaneously.
784 770
  */
785
-#if DISABLED(JUNCTION_DEVIATION)
771
+//#define CLASSIC_JERK
772
+#if ENABLED(CLASSIC_JERK)
786 773
   #define DEFAULT_XJERK 10.0
787 774
   #define DEFAULT_YJERK 10.0
788 775
   #define DEFAULT_ZJERK  0.3
@@ -796,6 +783,17 @@
796 783
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
797 784
 
798 785
 /**
786
+ * Junction Deviation Factor
787
+ *
788
+ * See:
789
+ *   https://reprap.org/forum/read.php?1,739819
790
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
791
+ */
792
+#if DISABLED(CLASSIC_JERK)
793
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
794
+#endif
795
+
796
+/**
799 797
  * S-Curve Acceleration
800 798
  *
801 799
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/FYSETC/Cheetah/base/Configuration.h Parādīt failu

@@ -761,28 +761,15 @@
761 761
 #define DEFAULT_TRAVEL_ACCELERATION   500    // X, Y, Z acceleration for travel (non printing) moves
762 762
 
763 763
 /**
764
- * Junction Deviation
765
- *
766
- * Use Junction Deviation instead of traditional Jerk Limiting
767
- *
768
- * See:
769
- *   https://reprap.org/forum/read.php?1,739819
770
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
771
- */
772
-//#define JUNCTION_DEVIATION
773
-#if ENABLED(JUNCTION_DEVIATION)
774
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
775
-#endif
776
-
777
-/**
778
- * Default Jerk (mm/s)
764
+ * Default Jerk limits (mm/s)
779 765
  * Override with M205 X Y Z E
780 766
  *
781 767
  * "Jerk" specifies the minimum speed change that requires acceleration.
782 768
  * When changing speed and direction, if the difference is less than the
783 769
  * value set here, it may happen instantaneously.
784 770
  */
785
-#if DISABLED(JUNCTION_DEVIATION)
771
+//#define CLASSIC_JERK
772
+#if ENABLED(CLASSIC_JERK)
786 773
   #define DEFAULT_XJERK 10.0
787 774
   #define DEFAULT_YJERK 10.0
788 775
   #define DEFAULT_ZJERK  0.3
@@ -796,6 +783,17 @@
796 783
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
797 784
 
798 785
 /**
786
+ * Junction Deviation Factor
787
+ *
788
+ * See:
789
+ *   https://reprap.org/forum/read.php?1,739819
790
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
791
+ */
792
+#if DISABLED(CLASSIC_JERK)
793
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
794
+#endif
795
+
796
+/**
799 797
  * S-Curve Acceleration
800 798
  *
801 799
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/FYSETC/F6_13/Configuration.h Parādīt failu

@@ -758,28 +758,15 @@
758 758
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
759 759
 
760 760
 /**
761
- * Junction Deviation
762
- *
763
- * Use Junction Deviation instead of traditional Jerk Limiting
764
- *
765
- * See:
766
- *   https://reprap.org/forum/read.php?1,739819
767
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
768
- */
769
-//#define JUNCTION_DEVIATION
770
-#if ENABLED(JUNCTION_DEVIATION)
771
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
772
-#endif
773
-
774
-/**
775
- * Default Jerk (mm/s)
761
+ * Default Jerk limits (mm/s)
776 762
  * Override with M205 X Y Z E
777 763
  *
778 764
  * "Jerk" specifies the minimum speed change that requires acceleration.
779 765
  * When changing speed and direction, if the difference is less than the
780 766
  * value set here, it may happen instantaneously.
781 767
  */
782
-#if DISABLED(JUNCTION_DEVIATION)
768
+//#define CLASSIC_JERK
769
+#if ENABLED(CLASSIC_JERK)
783 770
   #define DEFAULT_XJERK 10.0
784 771
   #define DEFAULT_YJERK 10.0
785 772
   #define DEFAULT_ZJERK  0.3
@@ -793,6 +780,17 @@
793 780
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
794 781
 
795 782
 /**
783
+ * Junction Deviation Factor
784
+ *
785
+ * See:
786
+ *   https://reprap.org/forum/read.php?1,739819
787
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
788
+ */
789
+#if DISABLED(CLASSIC_JERK)
790
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
791
+#endif
792
+
793
+/**
796 794
  * S-Curve Acceleration
797 795
  *
798 796
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Felix/DUAL/Configuration.h Parādīt failu

@@ -738,28 +738,15 @@
738 738
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
739 739
 
740 740
 /**
741
- * Junction Deviation
742
- *
743
- * Use Junction Deviation instead of traditional Jerk Limiting
744
- *
745
- * See:
746
- *   https://reprap.org/forum/read.php?1,739819
747
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
748
- */
749
-//#define JUNCTION_DEVIATION
750
-#if ENABLED(JUNCTION_DEVIATION)
751
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
752
-#endif
753
-
754
-/**
755
- * Default Jerk (mm/s)
741
+ * Default Jerk limits (mm/s)
756 742
  * Override with M205 X Y Z E
757 743
  *
758 744
  * "Jerk" specifies the minimum speed change that requires acceleration.
759 745
  * When changing speed and direction, if the difference is less than the
760 746
  * value set here, it may happen instantaneously.
761 747
  */
762
-#if DISABLED(JUNCTION_DEVIATION)
748
+//#define CLASSIC_JERK
749
+#if ENABLED(CLASSIC_JERK)
763 750
   #define DEFAULT_XJERK 10.0
764 751
   #define DEFAULT_YJERK 10.0
765 752
   #define DEFAULT_ZJERK  0.3
@@ -773,6 +760,17 @@
773 760
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
774 761
 
775 762
 /**
763
+ * Junction Deviation Factor
764
+ *
765
+ * See:
766
+ *   https://reprap.org/forum/read.php?1,739819
767
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
768
+ */
769
+#if DISABLED(CLASSIC_JERK)
770
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
771
+#endif
772
+
773
+/**
776 774
  * S-Curve Acceleration
777 775
  *
778 776
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Felix/Single/Configuration.h Parādīt failu

@@ -738,28 +738,15 @@
738 738
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
739 739
 
740 740
 /**
741
- * Junction Deviation
742
- *
743
- * Use Junction Deviation instead of traditional Jerk Limiting
744
- *
745
- * See:
746
- *   https://reprap.org/forum/read.php?1,739819
747
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
748
- */
749
-//#define JUNCTION_DEVIATION
750
-#if ENABLED(JUNCTION_DEVIATION)
751
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
752
-#endif
753
-
754
-/**
755
- * Default Jerk (mm/s)
741
+ * Default Jerk limits (mm/s)
756 742
  * Override with M205 X Y Z E
757 743
  *
758 744
  * "Jerk" specifies the minimum speed change that requires acceleration.
759 745
  * When changing speed and direction, if the difference is less than the
760 746
  * value set here, it may happen instantaneously.
761 747
  */
762
-#if DISABLED(JUNCTION_DEVIATION)
748
+//#define CLASSIC_JERK
749
+#if ENABLED(CLASSIC_JERK)
763 750
   #define DEFAULT_XJERK 10.0
764 751
   #define DEFAULT_YJERK 10.0
765 752
   #define DEFAULT_ZJERK  0.3
@@ -773,6 +760,17 @@
773 760
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
774 761
 
775 762
 /**
763
+ * Junction Deviation Factor
764
+ *
765
+ * See:
766
+ *   https://reprap.org/forum/read.php?1,739819
767
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
768
+ */
769
+#if DISABLED(CLASSIC_JERK)
770
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
771
+#endif
772
+
773
+/**
776 774
  * S-Curve Acceleration
777 775
  *
778 776
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/FlashForge/CreatorPro/Configuration.h Parādīt failu

@@ -748,28 +748,15 @@
748 748
 #define DEFAULT_TRAVEL_ACCELERATION   500    // X, Y, Z acceleration for travel (non printing) moves
749 749
 
750 750
 /**
751
- * Junction Deviation
752
- *
753
- * Use Junction Deviation instead of traditional Jerk Limiting
754
- *
755
- * See:
756
- *   https://reprap.org/forum/read.php?1,739819
757
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
758
- */
759
-#define JUNCTION_DEVIATION
760
-#if ENABLED(JUNCTION_DEVIATION)
761
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
762
-#endif
763
-
764
-/**
765
- * Default Jerk (mm/s)
751
+ * Default Jerk limits (mm/s)
766 752
  * Override with M205 X Y Z E
767 753
  *
768 754
  * "Jerk" specifies the minimum speed change that requires acceleration.
769 755
  * When changing speed and direction, if the difference is less than the
770 756
  * value set here, it may happen instantaneously.
771 757
  */
772
-#if DISABLED(JUNCTION_DEVIATION)
758
+//#define CLASSIC_JERK
759
+#if ENABLED(CLASSIC_JERK)
773 760
 #define DEFAULT_XJERK                 20.0
774 761
 #define DEFAULT_YJERK                 20.0
775 762
 #define DEFAULT_ZJERK                  0.4
@@ -783,6 +770,17 @@
783 770
 #define DEFAULT_EJERK    2.0  // May be used by Linear Advance
784 771
 
785 772
 /**
773
+ * Junction Deviation Factor
774
+ *
775
+ * See:
776
+ *   https://reprap.org/forum/read.php?1,739819
777
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
778
+ */
779
+#if DISABLED(CLASSIC_JERK)
780
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
781
+#endif
782
+
783
+/**
786 784
  * S-Curve Acceleration
787 785
  *
788 786
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/FolgerTech/i3-2020/Configuration.h Parādīt failu

@@ -762,28 +762,15 @@
762 762
 #define DEFAULT_TRAVEL_ACCELERATION    400    // X, Y, Z acceleration for travel (non printing) moves
763 763
 
764 764
 /**
765
- * Junction Deviation
766
- *
767
- * Use Junction Deviation instead of traditional Jerk Limiting
768
- *
769
- * See:
770
- *   https://reprap.org/forum/read.php?1,739819
771
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
772
- */
773
-//#define JUNCTION_DEVIATION
774
-#if ENABLED(JUNCTION_DEVIATION)
775
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
776
-#endif
777
-
778
-/**
779
- * Default Jerk (mm/s)
765
+ * Default Jerk limits (mm/s)
780 766
  * Override with M205 X Y Z E
781 767
  *
782 768
  * "Jerk" specifies the minimum speed change that requires acceleration.
783 769
  * When changing speed and direction, if the difference is less than the
784 770
  * value set here, it may happen instantaneously.
785 771
  */
786
-#if DISABLED(JUNCTION_DEVIATION)
772
+//#define CLASSIC_JERK
773
+#if ENABLED(CLASSIC_JERK)
787 774
   #define DEFAULT_XJERK  8.5
788 775
   #define DEFAULT_YJERK  8.5
789 776
   #define DEFAULT_ZJERK  0.3
@@ -797,6 +784,17 @@
797 784
 #define DEFAULT_EJERK    4.0  // May be used by Linear Advance
798 785
 
799 786
 /**
787
+ * Junction Deviation Factor
788
+ *
789
+ * See:
790
+ *   https://reprap.org/forum/read.php?1,739819
791
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
792
+ */
793
+#if DISABLED(CLASSIC_JERK)
794
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
795
+#endif
796
+
797
+/**
800 798
  * S-Curve Acceleration
801 799
  *
802 800
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Formbot/Raptor/Configuration.h Parādīt failu

@@ -831,28 +831,15 @@
831 831
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
832 832
 
833 833
 /**
834
- * Junction Deviation
835
- *
836
- * Use Junction Deviation instead of traditional Jerk Limiting
837
- *
838
- * See:
839
- *   https://reprap.org/forum/read.php?1,739819
840
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
841
- */
842
-//#define JUNCTION_DEVIATION
843
-#if ENABLED(JUNCTION_DEVIATION)
844
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
845
-#endif
846
-
847
-/**
848
- * Default Jerk (mm/s)
834
+ * Default Jerk limits (mm/s)
849 835
  * Override with M205 X Y Z E
850 836
  *
851 837
  * "Jerk" specifies the minimum speed change that requires acceleration.
852 838
  * When changing speed and direction, if the difference is less than the
853 839
  * value set here, it may happen instantaneously.
854 840
  */
855
-#if DISABLED(JUNCTION_DEVIATION)
841
+//#define CLASSIC_JERK
842
+#if ENABLED(CLASSIC_JERK)
856 843
   #if ENABLED(X_SPREADCYCLE) || DISABLED(X_2208)
857 844
     #define DEFAULT_XJERK 20.0
858 845
   #else
@@ -874,6 +861,17 @@
874 861
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
875 862
 
876 863
 /**
864
+ * Junction Deviation Factor
865
+ *
866
+ * See:
867
+ *   https://reprap.org/forum/read.php?1,739819
868
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
869
+ */
870
+#if DISABLED(CLASSIC_JERK)
871
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
872
+#endif
873
+
874
+/**
877 875
  * S-Curve Acceleration
878 876
  *
879 877
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Formbot/T_Rex_2+/Configuration.h Parādīt failu

@@ -785,28 +785,15 @@
785 785
 #define DEFAULT_TRAVEL_ACCELERATION   1500    // X, Y, Z acceleration for travel (non printing) moves
786 786
 
787 787
 /**
788
- * Junction Deviation
789
- *
790
- * Use Junction Deviation instead of traditional Jerk Limiting
791
- *
792
- * See:
793
- *   https://reprap.org/forum/read.php?1,739819
794
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
795
- */
796
-//#define JUNCTION_DEVIATION
797
-#if ENABLED(JUNCTION_DEVIATION)
798
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
799
-#endif
800
-
801
-/**
802
- * Default Jerk (mm/s)
788
+ * Default Jerk limits (mm/s)
803 789
  * Override with M205 X Y Z E
804 790
  *
805 791
  * "Jerk" specifies the minimum speed change that requires acceleration.
806 792
  * When changing speed and direction, if the difference is less than the
807 793
  * value set here, it may happen instantaneously.
808 794
  */
809
-#if DISABLED(JUNCTION_DEVIATION)
795
+//#define CLASSIC_JERK
796
+#if ENABLED(CLASSIC_JERK)
810 797
   #define DEFAULT_XJERK 12.0  // More conservative numbers.
811 798
   #define DEFAULT_YJERK  8.0
812 799
   #define DEFAULT_ZJERK  0.4
@@ -820,6 +807,17 @@
820 807
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
821 808
 
822 809
 /**
810
+ * Junction Deviation Factor
811
+ *
812
+ * See:
813
+ *   https://reprap.org/forum/read.php?1,739819
814
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
815
+ */
816
+#if DISABLED(CLASSIC_JERK)
817
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
818
+#endif
819
+
820
+/**
823 821
  * S-Curve Acceleration
824 822
  *
825 823
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Formbot/T_Rex_3/Configuration.h Parādīt failu

@@ -772,28 +772,15 @@
772 772
 #define DEFAULT_TRAVEL_ACCELERATION   1500    // X, Y, Z acceleration for travel (non printing) moves
773 773
 
774 774
 /**
775
- * Junction Deviation
776
- *
777
- * Use Junction Deviation instead of traditional Jerk Limiting
778
- *
779
- * See:
780
- *   https://reprap.org/forum/read.php?1,739819
781
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
782
- */
783
-//#define JUNCTION_DEVIATION
784
-#if ENABLED(JUNCTION_DEVIATION)
785
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
786
-#endif
787
-
788
-/**
789
- * Default Jerk (mm/s)
775
+ * Default Jerk limits (mm/s)
790 776
  * Override with M205 X Y Z E
791 777
  *
792 778
  * "Jerk" specifies the minimum speed change that requires acceleration.
793 779
  * When changing speed and direction, if the difference is less than the
794 780
  * value set here, it may happen instantaneously.
795 781
  */
796
-#if DISABLED(JUNCTION_DEVIATION)
782
+//#define CLASSIC_JERK
783
+#if ENABLED(CLASSIC_JERK)
797 784
   #define DEFAULT_XJERK 12.0  // More conservative numbers.
798 785
   #define DEFAULT_YJERK  8.0
799 786
   #define DEFAULT_ZJERK  0.4
@@ -807,6 +794,17 @@
807 794
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
808 795
 
809 796
 /**
797
+ * Junction Deviation Factor
798
+ *
799
+ * See:
800
+ *   https://reprap.org/forum/read.php?1,739819
801
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
802
+ */
803
+#if DISABLED(CLASSIC_JERK)
804
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
805
+#endif
806
+
807
+/**
810 808
  * S-Curve Acceleration
811 809
  *
812 810
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Geeetech/A10/Configuration.h Parādīt failu

@@ -739,28 +739,15 @@
739 739
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration for travel (non printing) moves
740 740
 
741 741
 /**
742
- * Junction Deviation
743
- *
744
- * Use Junction Deviation instead of traditional Jerk Limiting
745
- *
746
- * See:
747
- *   https://reprap.org/forum/read.php?1,739819
748
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
749
- */
750
-#define JUNCTION_DEVIATION
751
-#if ENABLED(JUNCTION_DEVIATION)
752
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
753
-#endif
754
-
755
-/**
756
- * Default Jerk (mm/s)
742
+ * Default Jerk limits (mm/s)
757 743
  * Override with M205 X Y Z E
758 744
  *
759 745
  * "Jerk" specifies the minimum speed change that requires acceleration.
760 746
  * When changing speed and direction, if the difference is less than the
761 747
  * value set here, it may happen instantaneously.
762 748
  */
763
-#if DISABLED(JUNCTION_DEVIATION)
749
+//#define CLASSIC_JERK
750
+#if ENABLED(CLASSIC_JERK)
764 751
   #define DEFAULT_XJERK 10.0
765 752
   #define DEFAULT_YJERK 10.0
766 753
   #define DEFAULT_ZJERK  0.4
@@ -774,6 +761,17 @@
774 761
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
775 762
 
776 763
 /**
764
+ * Junction Deviation Factor
765
+ *
766
+ * See:
767
+ *   https://reprap.org/forum/read.php?1,739819
768
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
769
+ */
770
+#if DISABLED(CLASSIC_JERK)
771
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
772
+#endif
773
+
774
+/**
777 775
  * S-Curve Acceleration
778 776
  *
779 777
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Geeetech/A10M/Configuration.h Parādīt failu

@@ -739,28 +739,15 @@
739 739
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration for travel (non printing) moves
740 740
 
741 741
 /**
742
- * Junction Deviation
743
- *
744
- * Use Junction Deviation instead of traditional Jerk Limiting
745
- *
746
- * See:
747
- *   https://reprap.org/forum/read.php?1,739819
748
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
749
- */
750
-#define JUNCTION_DEVIATION
751
-#if ENABLED(JUNCTION_DEVIATION)
752
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
753
-#endif
754
-
755
-/**
756
- * Default Jerk (mm/s)
742
+ * Default Jerk limits (mm/s)
757 743
  * Override with M205 X Y Z E
758 744
  *
759 745
  * "Jerk" specifies the minimum speed change that requires acceleration.
760 746
  * When changing speed and direction, if the difference is less than the
761 747
  * value set here, it may happen instantaneously.
762 748
  */
763
-#if DISABLED(JUNCTION_DEVIATION)
749
+//#define CLASSIC_JERK
750
+#if ENABLED(CLASSIC_JERK)
764 751
   #define DEFAULT_XJERK 10.0
765 752
   #define DEFAULT_YJERK 10.0
766 753
   #define DEFAULT_ZJERK  0.4
@@ -774,6 +761,17 @@
774 761
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
775 762
 
776 763
 /**
764
+ * Junction Deviation Factor
765
+ *
766
+ * See:
767
+ *   https://reprap.org/forum/read.php?1,739819
768
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
769
+ */
770
+#if DISABLED(CLASSIC_JERK)
771
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
772
+#endif
773
+
774
+/**
777 775
  * S-Curve Acceleration
778 776
  *
779 777
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Geeetech/A20M/Configuration.h Parādīt failu

@@ -739,28 +739,15 @@
739 739
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration for travel (non printing) moves
740 740
 
741 741
 /**
742
- * Junction Deviation
743
- *
744
- * Use Junction Deviation instead of traditional Jerk Limiting
745
- *
746
- * See:
747
- *   https://reprap.org/forum/read.php?1,739819
748
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
749
- */
750
-#define JUNCTION_DEVIATION
751
-#if ENABLED(JUNCTION_DEVIATION)
752
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
753
-#endif
754
-
755
-/**
756
- * Default Jerk (mm/s)
742
+ * Default Jerk limits (mm/s)
757 743
  * Override with M205 X Y Z E
758 744
  *
759 745
  * "Jerk" specifies the minimum speed change that requires acceleration.
760 746
  * When changing speed and direction, if the difference is less than the
761 747
  * value set here, it may happen instantaneously.
762 748
  */
763
-#if DISABLED(JUNCTION_DEVIATION)
749
+//#define CLASSIC_JERK
750
+#if ENABLED(CLASSIC_JERK)
764 751
   #define DEFAULT_XJERK 10.0
765 752
   #define DEFAULT_YJERK 10.0
766 753
   #define DEFAULT_ZJERK  0.4
@@ -774,6 +761,17 @@
774 761
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
775 762
 
776 763
 /**
764
+ * Junction Deviation Factor
765
+ *
766
+ * See:
767
+ *   https://reprap.org/forum/read.php?1,739819
768
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
769
+ */
770
+#if DISABLED(CLASSIC_JERK)
771
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
772
+#endif
773
+
774
+/**
777 775
  * S-Curve Acceleration
778 776
  *
779 777
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Geeetech/GT2560/Configuration.h Parādīt failu

@@ -771,28 +771,15 @@
771 771
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
772 772
 
773 773
 /**
774
- * Junction Deviation
775
- *
776
- * Use Junction Deviation instead of traditional Jerk Limiting
777
- *
778
- * See:
779
- *   https://reprap.org/forum/read.php?1,739819
780
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
781
- */
782
-//#define JUNCTION_DEVIATION
783
-#if ENABLED(JUNCTION_DEVIATION)
784
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
785
-#endif
786
-
787
-/**
788
- * Default Jerk (mm/s)
774
+ * Default Jerk limits (mm/s)
789 775
  * Override with M205 X Y Z E
790 776
  *
791 777
  * "Jerk" specifies the minimum speed change that requires acceleration.
792 778
  * When changing speed and direction, if the difference is less than the
793 779
  * value set here, it may happen instantaneously.
794 780
  */
795
-#if DISABLED(JUNCTION_DEVIATION)
781
+//#define CLASSIC_JERK
782
+#if ENABLED(CLASSIC_JERK)
796 783
   #define DEFAULT_XJERK 10.0
797 784
   #define DEFAULT_YJERK 10.0
798 785
   #define DEFAULT_ZJERK  0.3
@@ -806,6 +793,17 @@
806 793
 #define DEFAULT_EJERK    4.0  // May be used by Linear Advance
807 794
 
808 795
 /**
796
+ * Junction Deviation Factor
797
+ *
798
+ * See:
799
+ *   https://reprap.org/forum/read.php?1,739819
800
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
801
+ */
802
+#if DISABLED(CLASSIC_JERK)
803
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
804
+#endif
805
+
806
+/**
809 807
  * S-Curve Acceleration
810 808
  *
811 809
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Geeetech/I3_Pro_X-GT2560/Configuration.h Parādīt failu

@@ -756,28 +756,15 @@
756 756
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
757 757
 
758 758
 /**
759
- * Junction Deviation
760
- *
761
- * Use Junction Deviation instead of traditional Jerk Limiting
762
- *
763
- * See:
764
- *   https://reprap.org/forum/read.php?1,739819
765
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
766
- */
767
-//#define JUNCTION_DEVIATION
768
-#if ENABLED(JUNCTION_DEVIATION)
769
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
770
-#endif
771
-
772
-/**
773
- * Default Jerk (mm/s)
759
+ * Default Jerk limits (mm/s)
774 760
  * Override with M205 X Y Z E
775 761
  *
776 762
  * "Jerk" specifies the minimum speed change that requires acceleration.
777 763
  * When changing speed and direction, if the difference is less than the
778 764
  * value set here, it may happen instantaneously.
779 765
  */
780
-#if DISABLED(JUNCTION_DEVIATION)
766
+//#define CLASSIC_JERK
767
+#if ENABLED(CLASSIC_JERK)
781 768
   #define DEFAULT_XJERK  5.0
782 769
   #define DEFAULT_YJERK  5.0
783 770
   #define DEFAULT_ZJERK  0.3
@@ -791,6 +778,17 @@
791 778
 #define DEFAULT_EJERK    4.0  // May be used by Linear Advance
792 779
 
793 780
 /**
781
+ * Junction Deviation Factor
782
+ *
783
+ * See:
784
+ *   https://reprap.org/forum/read.php?1,739819
785
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
+ */
787
+#if DISABLED(CLASSIC_JERK)
788
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
789
+#endif
790
+
791
+/**
794 792
  * S-Curve Acceleration
795 793
  *
796 794
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Geeetech/MeCreator2/Configuration.h Parādīt failu

@@ -763,28 +763,15 @@
763 763
 #define DEFAULT_TRAVEL_ACCELERATION   2000    // X, Y, Z acceleration for travel (non printing) moves
764 764
 
765 765
 /**
766
- * Junction Deviation
767
- *
768
- * Use Junction Deviation instead of traditional Jerk Limiting
769
- *
770
- * See:
771
- *   https://reprap.org/forum/read.php?1,739819
772
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
773
- */
774
-//#define JUNCTION_DEVIATION
775
-#if ENABLED(JUNCTION_DEVIATION)
776
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
777
-#endif
778
-
779
-/**
780
- * Default Jerk (mm/s)
766
+ * Default Jerk limits (mm/s)
781 767
  * Override with M205 X Y Z E
782 768
  *
783 769
  * "Jerk" specifies the minimum speed change that requires acceleration.
784 770
  * When changing speed and direction, if the difference is less than the
785 771
  * value set here, it may happen instantaneously.
786 772
  */
787
-#if DISABLED(JUNCTION_DEVIATION)
773
+//#define CLASSIC_JERK
774
+#if ENABLED(CLASSIC_JERK)
788 775
   #define DEFAULT_XJERK  0
789 776
   #define DEFAULT_YJERK  0
790 777
   #define DEFAULT_ZJERK  0.6
@@ -798,6 +785,17 @@
798 785
 #define DEFAULT_EJERK   50.0  // May be used by Linear Advance
799 786
 
800 787
 /**
788
+ * Junction Deviation Factor
789
+ *
790
+ * See:
791
+ *   https://reprap.org/forum/read.php?1,739819
792
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
793
+ */
794
+#if DISABLED(CLASSIC_JERK)
795
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
796
+#endif
797
+
798
+/**
801 799
  * S-Curve Acceleration
802 800
  *
803 801
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Geeetech/Prusa i3 Pro B/bltouch/Configuration.h Parādīt failu

@@ -776,28 +776,15 @@
776 776
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
777 777
 
778 778
 /**
779
- * Junction Deviation
780
- *
781
- * Use Junction Deviation instead of traditional Jerk Limiting
782
- *
783
- * See:
784
- *   https://reprap.org/forum/read.php?1,739819
785
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
- */
787
-//#define JUNCTION_DEVIATION
788
-#if ENABLED(JUNCTION_DEVIATION)
789
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
790
-#endif
791
-
792
-/**
793
- * Default Jerk (mm/s)
779
+ * Default Jerk limits (mm/s)
794 780
  * Override with M205 X Y Z E
795 781
  *
796 782
  * "Jerk" specifies the minimum speed change that requires acceleration.
797 783
  * When changing speed and direction, if the difference is less than the
798 784
  * value set here, it may happen instantaneously.
799 785
  */
800
-#if DISABLED(JUNCTION_DEVIATION)
786
+//#define CLASSIC_JERK
787
+#if ENABLED(CLASSIC_JERK)
801 788
   #define DEFAULT_XJERK 10.0
802 789
   #define DEFAULT_YJERK 10.0
803 790
   #define DEFAULT_ZJERK  0.3
@@ -811,6 +798,17 @@
811 798
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
812 799
 
813 800
 /**
801
+ * Junction Deviation Factor
802
+ *
803
+ * See:
804
+ *   https://reprap.org/forum/read.php?1,739819
805
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
806
+ */
807
+#if DISABLED(CLASSIC_JERK)
808
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
809
+#endif
810
+
811
+/**
814 812
  * S-Curve Acceleration
815 813
  *
816 814
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Geeetech/Prusa i3 Pro B/noprobe/Configuration.h Parādīt failu

@@ -776,28 +776,15 @@
776 776
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
777 777
 
778 778
 /**
779
- * Junction Deviation
780
- *
781
- * Use Junction Deviation instead of traditional Jerk Limiting
782
- *
783
- * See:
784
- *   https://reprap.org/forum/read.php?1,739819
785
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
- */
787
-//#define JUNCTION_DEVIATION
788
-#if ENABLED(JUNCTION_DEVIATION)
789
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
790
-#endif
791
-
792
-/**
793
- * Default Jerk (mm/s)
779
+ * Default Jerk limits (mm/s)
794 780
  * Override with M205 X Y Z E
795 781
  *
796 782
  * "Jerk" specifies the minimum speed change that requires acceleration.
797 783
  * When changing speed and direction, if the difference is less than the
798 784
  * value set here, it may happen instantaneously.
799 785
  */
800
-#if DISABLED(JUNCTION_DEVIATION)
786
+//#define CLASSIC_JERK
787
+#if ENABLED(CLASSIC_JERK)
801 788
   #define DEFAULT_XJERK 10.0
802 789
   #define DEFAULT_YJERK 10.0
803 790
   #define DEFAULT_ZJERK  0.3
@@ -811,6 +798,17 @@
811 798
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
812 799
 
813 800
 /**
801
+ * Junction Deviation Factor
802
+ *
803
+ * See:
804
+ *   https://reprap.org/forum/read.php?1,739819
805
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
806
+ */
807
+#if DISABLED(CLASSIC_JERK)
808
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
809
+#endif
810
+
811
+/**
814 812
  * S-Curve Acceleration
815 813
  *
816 814
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Geeetech/Prusa i3 Pro C/Configuration.h Parādīt failu

@@ -756,28 +756,15 @@
756 756
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
757 757
 
758 758
 /**
759
- * Junction Deviation
760
- *
761
- * Use Junction Deviation instead of traditional Jerk Limiting
762
- *
763
- * See:
764
- *   https://reprap.org/forum/read.php?1,739819
765
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
766
- */
767
-//#define JUNCTION_DEVIATION
768
-#if ENABLED(JUNCTION_DEVIATION)
769
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
770
-#endif
771
-
772
-/**
773
- * Default Jerk (mm/s)
759
+ * Default Jerk limits (mm/s)
774 760
  * Override with M205 X Y Z E
775 761
  *
776 762
  * "Jerk" specifies the minimum speed change that requires acceleration.
777 763
  * When changing speed and direction, if the difference is less than the
778 764
  * value set here, it may happen instantaneously.
779 765
  */
780
-#if DISABLED(JUNCTION_DEVIATION)
766
+//#define CLASSIC_JERK
767
+#if ENABLED(CLASSIC_JERK)
781 768
   #define DEFAULT_XJERK 10.0
782 769
   #define DEFAULT_YJERK 10.0
783 770
   #define DEFAULT_ZJERK  0.3
@@ -791,6 +778,17 @@
791 778
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
792 779
 
793 780
 /**
781
+ * Junction Deviation Factor
782
+ *
783
+ * See:
784
+ *   https://reprap.org/forum/read.php?1,739819
785
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
+ */
787
+#if DISABLED(CLASSIC_JERK)
788
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
789
+#endif
790
+
791
+/**
794 792
  * S-Curve Acceleration
795 793
  *
796 794
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Geeetech/Prusa i3 Pro W/Configuration.h Parādīt failu

@@ -756,28 +756,15 @@
756 756
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
757 757
 
758 758
 /**
759
- * Junction Deviation
760
- *
761
- * Use Junction Deviation instead of traditional Jerk Limiting
762
- *
763
- * See:
764
- *   https://reprap.org/forum/read.php?1,739819
765
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
766
- */
767
-//#define JUNCTION_DEVIATION
768
-#if ENABLED(JUNCTION_DEVIATION)
769
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
770
-#endif
771
-
772
-/**
773
- * Default Jerk (mm/s)
759
+ * Default Jerk limits (mm/s)
774 760
  * Override with M205 X Y Z E
775 761
  *
776 762
  * "Jerk" specifies the minimum speed change that requires acceleration.
777 763
  * When changing speed and direction, if the difference is less than the
778 764
  * value set here, it may happen instantaneously.
779 765
  */
780
-#if DISABLED(JUNCTION_DEVIATION)
766
+//#define CLASSIC_JERK
767
+#if ENABLED(CLASSIC_JERK)
781 768
   #define DEFAULT_XJERK 10.0
782 769
   #define DEFAULT_YJERK 10.0
783 770
   #define DEFAULT_ZJERK  0.3
@@ -791,6 +778,17 @@
791 778
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
792 779
 
793 780
 /**
781
+ * Junction Deviation Factor
782
+ *
783
+ * See:
784
+ *   https://reprap.org/forum/read.php?1,739819
785
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
+ */
787
+#if DISABLED(CLASSIC_JERK)
788
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
789
+#endif
790
+
791
+/**
794 792
  * S-Curve Acceleration
795 793
  *
796 794
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/HMS434/Configuration.h Parādīt failu

@@ -743,28 +743,15 @@
743 743
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
744 744
 
745 745
 /**
746
- * Junction Deviation
747
- *
748
- * Use Junction Deviation instead of traditional Jerk Limiting
749
- *
750
- * See:
751
- *   https://reprap.org/forum/read.php?1,739819
752
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
753
- */
754
-//#define JUNCTION_DEVIATION
755
-#if ENABLED(JUNCTION_DEVIATION)
756
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
757
-#endif
758
-
759
-/**
760
- * Default Jerk (mm/s)
746
+ * Default Jerk limits (mm/s)
761 747
  * Override with M205 X Y Z E
762 748
  *
763 749
  * "Jerk" specifies the minimum speed change that requires acceleration.
764 750
  * When changing speed and direction, if the difference is less than the
765 751
  * value set here, it may happen instantaneously.
766 752
  */
767
-#if DISABLED(JUNCTION_DEVIATION)
753
+//#define CLASSIC_JERK
754
+#if ENABLED(CLASSIC_JERK)
768 755
   #define DEFAULT_XJERK 10.0
769 756
   #define DEFAULT_YJERK 10.0
770 757
   #define DEFAULT_ZJERK  0.3
@@ -778,6 +765,17 @@
778 765
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
779 766
 
780 767
 /**
768
+ * Junction Deviation Factor
769
+ *
770
+ * See:
771
+ *   https://reprap.org/forum/read.php?1,739819
772
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
773
+ */
774
+#if DISABLED(CLASSIC_JERK)
775
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
776
+#endif
777
+
778
+/**
781 779
  * S-Curve Acceleration
782 780
  *
783 781
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Infitary/i3-M508/Configuration.h Parādīt failu

@@ -760,28 +760,15 @@
760 760
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
761 761
 
762 762
 /**
763
- * Junction Deviation
764
- *
765
- * Use Junction Deviation instead of traditional Jerk Limiting
766
- *
767
- * See:
768
- *   https://reprap.org/forum/read.php?1,739819
769
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
770
- */
771
-//#define JUNCTION_DEVIATION
772
-#if ENABLED(JUNCTION_DEVIATION)
773
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
774
-#endif
775
-
776
-/**
777
- * Default Jerk (mm/s)
763
+ * Default Jerk limits (mm/s)
778 764
  * Override with M205 X Y Z E
779 765
  *
780 766
  * "Jerk" specifies the minimum speed change that requires acceleration.
781 767
  * When changing speed and direction, if the difference is less than the
782 768
  * value set here, it may happen instantaneously.
783 769
  */
784
-#if DISABLED(JUNCTION_DEVIATION)
770
+//#define CLASSIC_JERK
771
+#if ENABLED(CLASSIC_JERK)
785 772
   #define DEFAULT_XJERK 10.0
786 773
   #define DEFAULT_YJERK 10.0
787 774
   #define DEFAULT_ZJERK  0.3
@@ -795,6 +782,17 @@
795 782
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
796 783
 
797 784
 /**
785
+ * Junction Deviation Factor
786
+ *
787
+ * See:
788
+ *   https://reprap.org/forum/read.php?1,739819
789
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
790
+ */
791
+#if DISABLED(CLASSIC_JERK)
792
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
793
+#endif
794
+
795
+/**
798 796
  * S-Curve Acceleration
799 797
  *
800 798
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/JGAurora/A1/Configuration.h Parādīt failu

@@ -753,28 +753,15 @@
753 753
 #define DEFAULT_TRAVEL_ACCELERATION   500    // X, Y, Z acceleration for travel (non printing) moves
754 754
 
755 755
 /**
756
- * Junction Deviation
757
- *
758
- * Use Junction Deviation instead of traditional Jerk Limiting
759
- *
760
- * See:
761
- *   https://reprap.org/forum/read.php?1,739819
762
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
763
- */
764
-#define JUNCTION_DEVIATION
765
-#if ENABLED(JUNCTION_DEVIATION)
766
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
767
-#endif
768
-
769
-/**
770
- * Default Jerk (mm/s)
756
+ * Default Jerk limits (mm/s)
771 757
  * Override with M205 X Y Z E
772 758
  *
773 759
  * "Jerk" specifies the minimum speed change that requires acceleration.
774 760
  * When changing speed and direction, if the difference is less than the
775 761
  * value set here, it may happen instantaneously.
776 762
  */
777
-#if DISABLED(JUNCTION_DEVIATION)
763
+//#define CLASSIC_JERK
764
+#if ENABLED(CLASSIC_JERK)
778 765
   #define DEFAULT_XJERK 13.0
779 766
   #define DEFAULT_YJERK 5.0
780 767
   #define DEFAULT_ZJERK  0.4
@@ -783,6 +770,17 @@
783 770
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
784 771
 
785 772
 /**
773
+ * Junction Deviation Factor
774
+ *
775
+ * See:
776
+ *   https://reprap.org/forum/read.php?1,739819
777
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
778
+ */
779
+#if DISABLED(CLASSIC_JERK)
780
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
781
+#endif
782
+
783
+/**
786 784
  * S-Curve Acceleration
787 785
  *
788 786
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/JGAurora/A5/Configuration.h Parādīt failu

@@ -768,28 +768,15 @@
768 768
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration for travel (non printing) moves
769 769
 
770 770
 /**
771
- * Junction Deviation
772
- *
773
- * Use Junction Deviation instead of traditional Jerk Limiting
774
- *
775
- * See:
776
- *   https://reprap.org/forum/read.php?1,739819
777
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
778
- */
779
-//#define JUNCTION_DEVIATION
780
-#if ENABLED(JUNCTION_DEVIATION)
781
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
782
-#endif
783
-
784
-/**
785
- * Default Jerk (mm/s)
771
+ * Default Jerk limits (mm/s)
786 772
  * Override with M205 X Y Z E
787 773
  *
788 774
  * "Jerk" specifies the minimum speed change that requires acceleration.
789 775
  * When changing speed and direction, if the difference is less than the
790 776
  * value set here, it may happen instantaneously.
791 777
  */
792
-#if DISABLED(JUNCTION_DEVIATION)
778
+//#define CLASSIC_JERK
779
+#if ENABLED(CLASSIC_JERK)
793 780
   #define DEFAULT_XJERK  8.0
794 781
   #define DEFAULT_YJERK  3.0
795 782
   #define DEFAULT_ZJERK  0.3
@@ -803,6 +790,17 @@
803 790
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
804 791
 
805 792
 /**
793
+ * Junction Deviation Factor
794
+ *
795
+ * See:
796
+ *   https://reprap.org/forum/read.php?1,739819
797
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
798
+ */
799
+#if DISABLED(CLASSIC_JERK)
800
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
801
+#endif
802
+
803
+/**
806 804
  * S-Curve Acceleration
807 805
  *
808 806
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/JGAurora/A5S/Configuration.h Parādīt failu

@@ -753,28 +753,15 @@
753 753
 #define DEFAULT_TRAVEL_ACCELERATION   500    // X, Y, Z acceleration for travel (non printing) moves
754 754
 
755 755
 /**
756
- * Junction Deviation
757
- *
758
- * Use Junction Deviation instead of traditional Jerk Limiting
759
- *
760
- * See:
761
- *   https://reprap.org/forum/read.php?1,739819
762
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
763
- */
764
-#define JUNCTION_DEVIATION
765
-#if ENABLED(JUNCTION_DEVIATION)
766
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
767
-#endif
768
-
769
-/**
770
- * Default Jerk (mm/s)
756
+ * Default Jerk limits (mm/s)
771 757
  * Override with M205 X Y Z E
772 758
  *
773 759
  * "Jerk" specifies the minimum speed change that requires acceleration.
774 760
  * When changing speed and direction, if the difference is less than the
775 761
  * value set here, it may happen instantaneously.
776 762
  */
777
-#if DISABLED(JUNCTION_DEVIATION)
763
+//#define CLASSIC_JERK
764
+#if ENABLED(CLASSIC_JERK)
778 765
   #define DEFAULT_XJERK 13.0
779 766
   #define DEFAULT_YJERK 5.0
780 767
   #define DEFAULT_ZJERK  0.4
@@ -783,6 +770,17 @@
783 770
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
784 771
 
785 772
 /**
773
+ * Junction Deviation Factor
774
+ *
775
+ * See:
776
+ *   https://reprap.org/forum/read.php?1,739819
777
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
778
+ */
779
+#if DISABLED(CLASSIC_JERK)
780
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
781
+#endif
782
+
783
+/**
786 784
  * S-Curve Acceleration
787 785
  *
788 786
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/MakerParts/Configuration.h Parādīt failu

@@ -776,28 +776,15 @@
776 776
 #define DEFAULT_TRAVEL_ACCELERATION   MAX_XYAXIS_ACCEL    // X, Y, Z acceleration for travel (non printing) moves
777 777
 
778 778
 /**
779
- * Junction Deviation
780
- *
781
- * Use Junction Deviation instead of traditional Jerk Limiting
782
- *
783
- * See:
784
- *   https://reprap.org/forum/read.php?1,739819
785
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
- */
787
-//#define JUNCTION_DEVIATION
788
-#if ENABLED(JUNCTION_DEVIATION)
789
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
790
-#endif
791
-
792
-/**
793
- * Default Jerk (mm/s)
779
+ * Default Jerk limits (mm/s)
794 780
  * Override with M205 X Y Z E
795 781
  *
796 782
  * "Jerk" specifies the minimum speed change that requires acceleration.
797 783
  * When changing speed and direction, if the difference is less than the
798 784
  * value set here, it may happen instantaneously.
799 785
  */
800
-#if DISABLED(JUNCTION_DEVIATION)
786
+//#define CLASSIC_JERK
787
+#if ENABLED(CLASSIC_JERK)
801 788
   #define DEFAULT_XJERK  2.0
802 789
   #define DEFAULT_YJERK  2.0
803 790
   #define DEFAULT_ZJERK  0.4
@@ -811,6 +798,17 @@
811 798
 #define DEFAULT_EJERK    8.0  // May be used by Linear Advance
812 799
 
813 800
 /**
801
+ * Junction Deviation Factor
802
+ *
803
+ * See:
804
+ *   https://reprap.org/forum/read.php?1,739819
805
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
806
+ */
807
+#if DISABLED(CLASSIC_JERK)
808
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
809
+#endif
810
+
811
+/**
814 812
  * S-Curve Acceleration
815 813
  *
816 814
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Malyan/M150/Configuration.h Parādīt failu

@@ -776,28 +776,15 @@
776 776
 #define DEFAULT_TRAVEL_ACCELERATION   700    // X, Y, Z acceleration for travel (non printing) moves
777 777
 
778 778
 /**
779
- * Junction Deviation
780
- *
781
- * Use Junction Deviation instead of traditional Jerk Limiting
782
- *
783
- * See:
784
- *   https://reprap.org/forum/read.php?1,739819
785
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
- */
787
-//#define JUNCTION_DEVIATION
788
-#if ENABLED(JUNCTION_DEVIATION)
789
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
790
-#endif
791
-
792
-/**
793
- * Default Jerk (mm/s)
779
+ * Default Jerk limits (mm/s)
794 780
  * Override with M205 X Y Z E
795 781
  *
796 782
  * "Jerk" specifies the minimum speed change that requires acceleration.
797 783
  * When changing speed and direction, if the difference is less than the
798 784
  * value set here, it may happen instantaneously.
799 785
  */
800
-#if DISABLED(JUNCTION_DEVIATION)
786
+//#define CLASSIC_JERK
787
+#if ENABLED(CLASSIC_JERK)
801 788
   #define DEFAULT_XJERK  8.0
802 789
   #define DEFAULT_YJERK  8.0
803 790
   #define DEFAULT_ZJERK  0.3
@@ -811,6 +798,17 @@
811 798
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
812 799
 
813 800
 /**
801
+ * Junction Deviation Factor
802
+ *
803
+ * See:
804
+ *   https://reprap.org/forum/read.php?1,739819
805
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
806
+ */
807
+#if DISABLED(CLASSIC_JERK)
808
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
809
+#endif
810
+
811
+/**
814 812
  * S-Curve Acceleration
815 813
  *
816 814
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Malyan/M200/Configuration.h Parādīt failu

@@ -766,28 +766,15 @@
766 766
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
767 767
 
768 768
 /**
769
- * Junction Deviation
770
- *
771
- * Use Junction Deviation instead of traditional Jerk Limiting
772
- *
773
- * See:
774
- *   https://reprap.org/forum/read.php?1,739819
775
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
776
- */
777
-//#define JUNCTION_DEVIATION
778
-#if ENABLED(JUNCTION_DEVIATION)
779
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
780
-#endif
781
-
782
-/**
783
- * Default Jerk (mm/s)
769
+ * Default Jerk limits (mm/s)
784 770
  * Override with M205 X Y Z E
785 771
  *
786 772
  * "Jerk" specifies the minimum speed change that requires acceleration.
787 773
  * When changing speed and direction, if the difference is less than the
788 774
  * value set here, it may happen instantaneously.
789 775
  */
790
-#if DISABLED(JUNCTION_DEVIATION)
776
+//#define CLASSIC_JERK
777
+#if ENABLED(CLASSIC_JERK)
791 778
   #define DEFAULT_XJERK 10.0
792 779
   #define DEFAULT_YJERK 10.0
793 780
   #define DEFAULT_ZJERK  0.3
@@ -801,6 +788,17 @@
801 788
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
802 789
 
803 790
 /**
791
+ * Junction Deviation Factor
792
+ *
793
+ * See:
794
+ *   https://reprap.org/forum/read.php?1,739819
795
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
796
+ */
797
+#if DISABLED(CLASSIC_JERK)
798
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
799
+#endif
800
+
801
+/**
804 802
  * S-Curve Acceleration
805 803
  *
806 804
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Micromake/C1/basic/Configuration.h Parādīt failu

@@ -760,28 +760,15 @@
760 760
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
761 761
 
762 762
 /**
763
- * Junction Deviation
764
- *
765
- * Use Junction Deviation instead of traditional Jerk Limiting
766
- *
767
- * See:
768
- *   https://reprap.org/forum/read.php?1,739819
769
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
770
- */
771
-//#define JUNCTION_DEVIATION
772
-#if ENABLED(JUNCTION_DEVIATION)
773
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
774
-#endif
775
-
776
-/**
777
- * Default Jerk (mm/s)
763
+ * Default Jerk limits (mm/s)
778 764
  * Override with M205 X Y Z E
779 765
  *
780 766
  * "Jerk" specifies the minimum speed change that requires acceleration.
781 767
  * When changing speed and direction, if the difference is less than the
782 768
  * value set here, it may happen instantaneously.
783 769
  */
784
-#if DISABLED(JUNCTION_DEVIATION)
770
+//#define CLASSIC_JERK
771
+#if ENABLED(CLASSIC_JERK)
785 772
   #define DEFAULT_XJERK 10.0
786 773
   #define DEFAULT_YJERK DEFAULT_XJERK
787 774
   #define DEFAULT_ZJERK DEFAULT_XJERK // Must be same as XY for delta
@@ -795,6 +782,17 @@
795 782
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
796 783
 
797 784
 /**
785
+ * Junction Deviation Factor
786
+ *
787
+ * See:
788
+ *   https://reprap.org/forum/read.php?1,739819
789
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
790
+ */
791
+#if DISABLED(CLASSIC_JERK)
792
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
793
+#endif
794
+
795
+/**
798 796
  * S-Curve Acceleration
799 797
  *
800 798
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Micromake/C1/enhanced/Configuration.h Parādīt failu

@@ -760,28 +760,15 @@
760 760
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
761 761
 
762 762
 /**
763
- * Junction Deviation
764
- *
765
- * Use Junction Deviation instead of traditional Jerk Limiting
766
- *
767
- * See:
768
- *   https://reprap.org/forum/read.php?1,739819
769
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
770
- */
771
-//#define JUNCTION_DEVIATION
772
-#if ENABLED(JUNCTION_DEVIATION)
773
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
774
-#endif
775
-
776
-/**
777
- * Default Jerk (mm/s)
763
+ * Default Jerk limits (mm/s)
778 764
  * Override with M205 X Y Z E
779 765
  *
780 766
  * "Jerk" specifies the minimum speed change that requires acceleration.
781 767
  * When changing speed and direction, if the difference is less than the
782 768
  * value set here, it may happen instantaneously.
783 769
  */
784
-#if DISABLED(JUNCTION_DEVIATION)
770
+//#define CLASSIC_JERK
771
+#if ENABLED(CLASSIC_JERK)
785 772
   #define DEFAULT_XJERK 10.0
786 773
   #define DEFAULT_YJERK DEFAULT_XJERK
787 774
   #define DEFAULT_ZJERK DEFAULT_XJERK // Must be same as XY for delta
@@ -795,6 +782,17 @@
795 782
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
796 783
 
797 784
 /**
785
+ * Junction Deviation Factor
786
+ *
787
+ * See:
788
+ *   https://reprap.org/forum/read.php?1,739819
789
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
790
+ */
791
+#if DISABLED(CLASSIC_JERK)
792
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
793
+#endif
794
+
795
+/**
798 796
  * S-Curve Acceleration
799 797
  *
800 798
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Mks/Robin/Configuration.h Parādīt failu

@@ -757,28 +757,15 @@
757 757
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
758 758
 
759 759
 /**
760
- * Junction Deviation
761
- *
762
- * Use Junction Deviation instead of traditional Jerk Limiting
763
- *
764
- * See:
765
- *   https://reprap.org/forum/read.php?1,739819
766
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
767
- */
768
-//#define JUNCTION_DEVIATION
769
-#if ENABLED(JUNCTION_DEVIATION)
770
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
771
-#endif
772
-
773
-/**
774
- * Default Jerk (mm/s)
760
+ * Default Jerk limits (mm/s)
775 761
  * Override with M205 X Y Z E
776 762
  *
777 763
  * "Jerk" specifies the minimum speed change that requires acceleration.
778 764
  * When changing speed and direction, if the difference is less than the
779 765
  * value set here, it may happen instantaneously.
780 766
  */
781
-#if DISABLED(JUNCTION_DEVIATION)
767
+//#define CLASSIC_JERK
768
+#if ENABLED(CLASSIC_JERK)
782 769
   #define DEFAULT_XJERK 10.0
783 770
   #define DEFAULT_YJERK 10.0
784 771
   #define DEFAULT_ZJERK  0.3
@@ -792,6 +779,17 @@
792 779
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
793 780
 
794 781
 /**
782
+ * Junction Deviation Factor
783
+ *
784
+ * See:
785
+ *   https://reprap.org/forum/read.php?1,739819
786
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
787
+ */
788
+#if DISABLED(CLASSIC_JERK)
789
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
790
+#endif
791
+
792
+/**
795 793
  * S-Curve Acceleration
796 794
  *
797 795
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Mks/Sbase/Configuration.h Parādīt failu

@@ -756,28 +756,15 @@
756 756
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
757 757
 
758 758
 /**
759
- * Junction Deviation
760
- *
761
- * Use Junction Deviation instead of traditional Jerk Limiting
762
- *
763
- * See:
764
- *   https://reprap.org/forum/read.php?1,739819
765
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
766
- */
767
-//#define JUNCTION_DEVIATION
768
-#if ENABLED(JUNCTION_DEVIATION)
769
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
770
-#endif
771
-
772
-/**
773
- * Default Jerk (mm/s)
759
+ * Default Jerk limits (mm/s)
774 760
  * Override with M205 X Y Z E
775 761
  *
776 762
  * "Jerk" specifies the minimum speed change that requires acceleration.
777 763
  * When changing speed and direction, if the difference is less than the
778 764
  * value set here, it may happen instantaneously.
779 765
  */
780
-#if DISABLED(JUNCTION_DEVIATION)
766
+//#define CLASSIC_JERK
767
+#if ENABLED(CLASSIC_JERK)
781 768
   #define DEFAULT_XJERK 10.0
782 769
   #define DEFAULT_YJERK 10.0
783 770
   #define DEFAULT_ZJERK  0.3
@@ -791,6 +778,17 @@
791 778
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
792 779
 
793 780
 /**
781
+ * Junction Deviation Factor
782
+ *
783
+ * See:
784
+ *   https://reprap.org/forum/read.php?1,739819
785
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
+ */
787
+#if DISABLED(CLASSIC_JERK)
788
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
789
+#endif
790
+
791
+/**
794 792
  * S-Curve Acceleration
795 793
  *
796 794
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/Printrbot/PrintrboardG2/Configuration.h Parādīt failu

@@ -764,28 +764,15 @@
764 764
 #define DEFAULT_TRAVEL_ACCELERATION   100    // X, Y, Z acceleration for travel (non printing) moves
765 765
 
766 766
 /**
767
- * Junction Deviation
768
- *
769
- * Use Junction Deviation instead of traditional Jerk Limiting
770
- *
771
- * See:
772
- *   https://reprap.org/forum/read.php?1,739819
773
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
774
- */
775
-//#define JUNCTION_DEVIATION
776
-#if ENABLED(JUNCTION_DEVIATION)
777
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
778
-#endif
779
-
780
-/**
781
- * Default Jerk (mm/s)
767
+ * Default Jerk limits (mm/s)
782 768
  * Override with M205 X Y Z E
783 769
  *
784 770
  * "Jerk" specifies the minimum speed change that requires acceleration.
785 771
  * When changing speed and direction, if the difference is less than the
786 772
  * value set here, it may happen instantaneously.
787 773
  */
788
-#if DISABLED(JUNCTION_DEVIATION)
774
+//#define CLASSIC_JERK
775
+#if ENABLED(CLASSIC_JERK)
789 776
   #define DEFAULT_XJERK 1.0
790 777
   #define DEFAULT_YJERK 1.0
791 778
   #define DEFAULT_ZJERK  0.3
@@ -799,6 +786,17 @@
799 786
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
800 787
 
801 788
 /**
789
+ * Junction Deviation Factor
790
+ *
791
+ * See:
792
+ *   https://reprap.org/forum/read.php?1,739819
793
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
794
+ */
795
+#if DISABLED(CLASSIC_JERK)
796
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
797
+#endif
798
+
799
+/**
802 800
  * S-Curve Acceleration
803 801
  *
804 802
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/RapideLite/RL200/Configuration.h Parādīt failu

@@ -756,28 +756,15 @@
756 756
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
757 757
 
758 758
 /**
759
- * Junction Deviation
760
- *
761
- * Use Junction Deviation instead of traditional Jerk Limiting
762
- *
763
- * See:
764
- *   https://reprap.org/forum/read.php?1,739819
765
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
766
- */
767
-//#define JUNCTION_DEVIATION
768
-#if ENABLED(JUNCTION_DEVIATION)
769
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
770
-#endif
771
-
772
-/**
773
- * Default Jerk (mm/s)
759
+ * Default Jerk limits (mm/s)
774 760
  * Override with M205 X Y Z E
775 761
  *
776 762
  * "Jerk" specifies the minimum speed change that requires acceleration.
777 763
  * When changing speed and direction, if the difference is less than the
778 764
  * value set here, it may happen instantaneously.
779 765
  */
780
-#if DISABLED(JUNCTION_DEVIATION)
766
+//#define CLASSIC_JERK
767
+#if ENABLED(CLASSIC_JERK)
781 768
   #define DEFAULT_XJERK 10.0
782 769
   #define DEFAULT_YJERK 10.0
783 770
   #define DEFAULT_ZJERK  0.3
@@ -791,6 +778,17 @@
791 778
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
792 779
 
793 780
 /**
781
+ * Junction Deviation Factor
782
+ *
783
+ * See:
784
+ *   https://reprap.org/forum/read.php?1,739819
785
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
+ */
787
+#if DISABLED(CLASSIC_JERK)
788
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
789
+#endif
790
+
791
+/**
794 792
  * S-Curve Acceleration
795 793
  *
796 794
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/RepRapPro/Huxley/Configuration.h Parādīt failu

@@ -796,28 +796,15 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley
796 796
 #define DEFAULT_TRAVEL_ACCELERATION   1000    // X, Y, Z acceleration for travel (non printing) moves
797 797
 
798 798
 /**
799
- * Junction Deviation
800
- *
801
- * Use Junction Deviation instead of traditional Jerk Limiting
802
- *
803
- * See:
804
- *   https://reprap.org/forum/read.php?1,739819
805
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
806
- */
807
-//#define JUNCTION_DEVIATION
808
-#if ENABLED(JUNCTION_DEVIATION)
809
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
810
-#endif
811
-
812
-/**
813
- * Default Jerk (mm/s)
799
+ * Default Jerk limits (mm/s)
814 800
  * Override with M205 X Y Z E
815 801
  *
816 802
  * "Jerk" specifies the minimum speed change that requires acceleration.
817 803
  * When changing speed and direction, if the difference is less than the
818 804
  * value set here, it may happen instantaneously.
819 805
  */
820
-#if DISABLED(JUNCTION_DEVIATION)
806
+//#define CLASSIC_JERK
807
+#if ENABLED(CLASSIC_JERK)
821 808
   #define DEFAULT_XJERK 10.0
822 809
   #define DEFAULT_YJERK 10.0
823 810
   #define DEFAULT_ZJERK  0.3
@@ -831,6 +818,17 @@ Black rubber belt(MXL), 18 - tooth aluminium pulley : 87.489 step per mm (Huxley
831 818
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
832 819
 
833 820
 /**
821
+ * Junction Deviation Factor
822
+ *
823
+ * See:
824
+ *   https://reprap.org/forum/read.php?1,739819
825
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
826
+ */
827
+#if DISABLED(CLASSIC_JERK)
828
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
829
+#endif
830
+
831
+/**
834 832
  * S-Curve Acceleration
835 833
  *
836 834
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/RepRapWorld/Megatronics/Configuration.h Parādīt failu

@@ -756,28 +756,15 @@
756 756
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
757 757
 
758 758
 /**
759
- * Junction Deviation
760
- *
761
- * Use Junction Deviation instead of traditional Jerk Limiting
762
- *
763
- * See:
764
- *   https://reprap.org/forum/read.php?1,739819
765
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
766
- */
767
-//#define JUNCTION_DEVIATION
768
-#if ENABLED(JUNCTION_DEVIATION)
769
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
770
-#endif
771
-
772
-/**
773
- * Default Jerk (mm/s)
759
+ * Default Jerk limits (mm/s)
774 760
  * Override with M205 X Y Z E
775 761
  *
776 762
  * "Jerk" specifies the minimum speed change that requires acceleration.
777 763
  * When changing speed and direction, if the difference is less than the
778 764
  * value set here, it may happen instantaneously.
779 765
  */
780
-#if DISABLED(JUNCTION_DEVIATION)
766
+//#define CLASSIC_JERK
767
+#if ENABLED(CLASSIC_JERK)
781 768
   #define DEFAULT_XJERK 10.0
782 769
   #define DEFAULT_YJERK 10.0
783 770
   #define DEFAULT_ZJERK  0.3
@@ -791,6 +778,17 @@
791 778
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
792 779
 
793 780
 /**
781
+ * Junction Deviation Factor
782
+ *
783
+ * See:
784
+ *   https://reprap.org/forum/read.php?1,739819
785
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
786
+ */
787
+#if DISABLED(CLASSIC_JERK)
788
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
789
+#endif
790
+
791
+/**
794 792
  * S-Curve Acceleration
795 793
  *
796 794
  * This option eliminates vibration during printing by fitting a Bézier

+ 14
- 16
config/examples/RigidBot/Configuration.h Parādīt failu

@@ -754,28 +754,15 @@
754 754
 #define DEFAULT_TRAVEL_ACCELERATION   3000    // X, Y, Z acceleration for travel (non printing) moves
755 755
 
756 756
 /**
757
- * Junction Deviation
758
- *
759
- * Use Junction Deviation instead of traditional Jerk Limiting
760
- *
761
- * See:
762
- *   https://reprap.org/forum/read.php?1,739819
763
- *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
764
- */
765
-//#define JUNCTION_DEVIATION
766
-#if ENABLED(JUNCTION_DEVIATION)
767
-  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
768
-#endif
769
-
770
-/**
771
- * Default Jerk (mm/s)
757
+ * Default Jerk limits (mm/s)
772 758
  * Override with M205 X Y Z E
773 759
  *
774 760
  * "Jerk" specifies the minimum speed change that requires acceleration.
775 761
  * When changing speed and direction, if the difference is less than the
776 762
  * value set here, it may happen instantaneously.
777 763
  */
778
-#if DISABLED(JUNCTION_DEVIATION)
764
+//#define CLASSIC_JERK
765
+#if ENABLED(CLASSIC_JERK)
779 766
   #define DEFAULT_XJERK  8.0
780 767
   #define DEFAULT_YJERK  8.0
781 768
   #define DEFAULT_ZJERK  0.3
@@ -789,6 +776,17 @@
789 776
 #define DEFAULT_EJERK    5.0  // May be used by Linear Advance
790 777
 
791 778
 /**
779
+ * Junction Deviation Factor
780
+ *
781
+ * See:
782
+ *   https://reprap.org/forum/read.php?1,739819
783
+ *   http://blog.kyneticcnc.com/2018/10/computing-junction-deviation-for-marlin.html
784
+ */
785
+#if DISABLED(CLASSIC_JERK)
786
+  #define JUNCTION_DEVIATION_MM 0.02  // (mm) Distance from real junction edge
787
+#endif
788
+
789
+/**
792 790
  * S-Curve Acceleration
793 791
  *
794 792
  * This option eliminates vibration during printing by fitting a Bézier

+ 0
- 0
config/examples/SCARA/Configuration.h Parādīt failu


Daži faili netika attēloti, jo izmaiņu fails ir pārāk liels

Notiek ielāde…
Atcelt
Saglabāt