From cd7246228d9bb3ba23a66569c556913b6d98b493 Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Sat, 4 Feb 2023 18:27:26 -0500 Subject: [PATCH 01/18] Adjusted PURGE_LINE: raise nozzle higher at the end. --- cfgs/macros.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfgs/macros.cfg b/cfgs/macros.cfg index 89a9aa9..7d905f2 100644 --- a/cfgs/macros.cfg +++ b/cfgs/macros.cfg @@ -25,7 +25,7 @@ gcode: G1 E{PRE_PURGE_PRIME_LENGTH} F500 ; pre-purge prime LENGTH SHOULD MATCH YOUR PRINT_END RETRACT G1 Y140 E35.0 F1200.0 ; intro line 1 G92 E0.0 ; reset extruder - G1 Z3.0 ; move nozzle to prevent scratch + G1 Z5.0 ; move nozzle to prevent scratch [gcode_macro CANCEL_PRINT] rename_existing: BASE_CANCEL_PRINT From 3abc7d8809ceb0113e82812aa02ea7d77013c6f4 Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Sat, 4 Feb 2023 19:23:30 -0500 Subject: [PATCH 02/18] Cleanup in [printer]. --- printer.cfg | 2 -- 1 file changed, 2 deletions(-) diff --git a/printer.cfg b/printer.cfg index 4fc5177..42b4495 100644 --- a/printer.cfg +++ b/printer.cfg @@ -26,10 +26,8 @@ restart_method: command kinematics: cartesian max_velocity: 300 max_accel: 3000 -max_accel_to_decel: 1500 max_z_velocity: 15 max_z_accel: 45 -# square_corner_velocity: 6.0 [force_move] enable_force_move: True From 2972ed0d0af012e6c60a81fcbd8e2b31cf6ef5b0 Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Mon, 6 Feb 2023 17:58:30 -0500 Subject: [PATCH 03/18] Added bed_screws. --- printer.cfg | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/printer.cfg b/printer.cfg index 42b4495..1b97cdf 100644 --- a/printer.cfg +++ b/printer.cfg @@ -183,6 +183,16 @@ shaper_type_x: mzv shaper_freq_y = 59.0 shaper_type_y: 3hump_ei +[bed_screws] +screw1: 26.5, 31 +screw1_name: front left +screw2: 196.75, 31 +screw2_name: front right +screw3: 196.75, 201 +screw3_name: back right +screw4: 26.5, 201 +screw4_name: back left + # // NOTE this is the pin for the filament switch, if you have one # [filament_switch_sensor fil_sensor] # switch_pin: PA4 # "Pulled-high" From 5700b831645c72c7056a2da9eb82665bfa52f589 Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Mon, 6 Feb 2023 18:55:17 -0500 Subject: [PATCH 04/18] Added screws_tilt_adjust. --- printer.cfg | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/printer.cfg b/printer.cfg index 1b97cdf..11d4697 100644 --- a/printer.cfg +++ b/printer.cfg @@ -193,6 +193,21 @@ screw3_name: back right screw4: 26.5, 201 screw4_name: back left +[screws_tilt_adjust] +screw1: 111.5, 116.5 +screw1_name: center +screw2: 26.5, 31 +screw2_name: front left +screw3: 196.75, 31 +screw3_name: front right +screw4: 196.75, 201 +screw4_name: back right +screw5: 26.5, 201 +screw5_name: back left +speed: 50 +horizontal_move_z: 10 +screw_thread: CCW-M4 + # // NOTE this is the pin for the filament switch, if you have one # [filament_switch_sensor fil_sensor] # switch_pin: PA4 # "Pulled-high" From d712a2f94502490eda50acce6cb1542d328275f7 Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Mon, 6 Feb 2023 20:37:34 -0500 Subject: [PATCH 05/18] Adjusted MECHANICAL_GANTRY_CALIBRATION. Adjusted z position_max to 258 because of silicon screws. --- cfgs/MECHANICAL_GANTRY_CALIBRATION.cfg | 13 ++++++++----- printer.cfg | 2 +- 2 files changed, 9 insertions(+), 6 deletions(-) diff --git a/cfgs/MECHANICAL_GANTRY_CALIBRATION.cfg b/cfgs/MECHANICAL_GANTRY_CALIBRATION.cfg index 66ff0d6..04eeaef 100644 --- a/cfgs/MECHANICAL_GANTRY_CALIBRATION.cfg +++ b/cfgs/MECHANICAL_GANTRY_CALIBRATION.cfg @@ -48,7 +48,7 @@ [gcode_macro MECHANICAL_GANTRY_CALIBRATION] gcode: ### SET THIS DEFAULT CARFULLY - start really low - {% set my_current = params.CURRENT|default(0.12)|float %} ; adjust crash current on the fly :D + {% set my_current = params.CURRENT|default(0.20)|float %} ; adjust crash current on the fly :D ### {% set oldcurrent = printer.configfile.settings["tmc2209 stepper_z"].run_current %} ; TODO: Find runtime current settings {% set oldhold = printer.configfile.settings["tmc2209 stepper_z"].hold_current %} @@ -64,7 +64,7 @@ gcode: G90 ; absolute G0 X{x_max / 2} Y{y_max / 2} F{fast_move * 30 } ;put toolhead in the center of the gantry - G0 Z{z_max -1} F{fast_move_z * 60 } ; go to the Z-max at speed max z speed + G0 Z{z_max -5} F{fast_move_z * 60 } ; go to the Z-max at speed max z speed SET_TMC_CURRENT STEPPER=stepper_z CURRENT={my_current} ; drop current on Z stepper @@ -72,13 +72,16 @@ gcode: SET_TMC_CURRENT STEPPER=stepper_z1 CURRENT={my_current} ; drop current {% endif %} + BEEP I=1 G4 P200 ; Probably not necessary, it is here just for sure - SET_KINEMATIC_POSITION Z={z_max - 12} ; Trick printer into beleiving the gantry is 12mm lower than it is + SET_KINEMATIC_POSITION Z={z_max - 16} ; Trick printer into beleiving the gantry is 12mm lower than it is - G1 Z{z_max -2} F{6 * 60} ; try to move 10mm up - G4 P200 ; wait + G1 Z{z_max} F{6 * 60} ; try to move 10mm up + BEEP I=2 + G4 P10000 ; wait 10 seconds G1 Z{z_max -6} F{6 * 60} ; move 4mm down + BEEP I=3 G4 P200 ; same as the first one SET_TMC_CURRENT STEPPER=stepper_z CURRENT={oldcurrent} HOLDCURRENT={oldhold} diff --git a/printer.cfg b/printer.cfg index 11d4697..2c0e6d5 100644 --- a/printer.cfg +++ b/printer.cfg @@ -84,7 +84,7 @@ microsteps: 32 rotation_distance: 4 endstop_pin: probe:z_virtual_endstop position_min: -3 -position_max: 257 +position_max: 258 homing_speed: 5 [tmc2209 stepper_z] From 215a9aa78ec6ba2702053acf2c35e7dbcf2cf90b Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Mon, 6 Feb 2023 23:36:03 -0500 Subject: [PATCH 06/18] Many mesh related changes. --- printer.cfg | 68 ++++++++++++++++++++++++++++++++++------------------- 1 file changed, 44 insertions(+), 24 deletions(-) diff --git a/printer.cfg b/printer.cfg index 2c0e6d5..99a3a09 100644 --- a/printer.cfg +++ b/printer.cfg @@ -141,13 +141,14 @@ pin: PB1 x_offset: 27 y_offset: -20 # z_offset: 0 -samples: 5 -samples_result: median +samples: 3 +# samples_result: median samples_tolerance: 0.01 samples_tolerance_retries: 5 [safe_z_home] -home_xy_position: 0, 223 # NOTE 111.50,111.50 +# home_xy_position: 0, 223 # NOTE 111.50,111.50 +home_xy_position: 84.50, 135 # X:84.500 Y:135.000 speed: 100.0 z_hop: 10 z_hop_speed: 15 @@ -160,8 +161,8 @@ probe_count: 5,5 algorithm: bicubic fade_start: 1 fade_end: 10 -# NOTE fade_target: 0 -relative_reference_index: 20 # NOTE +fade_target: 0 # NOTE +# relative_reference_index: 20 # NOTE [virtual_sdcard] path: /home/pi/printer_data/gcodes @@ -234,25 +235,6 @@ screw_thread: CCW-M4 #*# [probe] #*# z_offset = 1.550 #*# -#*# [bed_mesh default] -#*# version = 1 -#*# points = -#*# 0.210625, 0.309375, 0.357500, 0.312500, 0.247500 -#*# 0.218125, 0.330000, 0.409375, 0.385625, 0.313750 -#*# 0.184375, 0.328125, 0.420625, 0.428125, 0.378750 -#*# 0.086250, 0.257500, 0.386250, 0.418750, 0.392500 -#*# 0.000000, 0.211250, 0.363125, 0.420000, 0.420000 -#*# x_count = 5 -#*# y_count = 5 -#*# mesh_x_pps = 2 -#*# mesh_y_pps = 2 -#*# algo = bicubic -#*# tension = 0.2 -#*# min_x = 27.0 -#*# max_x = 222.0 -#*# min_y = 5.0 -#*# max_y = 203.0 -#*# #*# [bed_mesh default1] #*# version = 1 #*# points = @@ -271,3 +253,41 @@ screw_thread: CCW-M4 #*# max_x = 222.0 #*# min_y = 5.0 #*# max_y = 203.0 +#*# +#*# [bed_mesh default-working] +#*# version = 1 +#*# points = +#*# 0.210625, 0.309375, 0.357500, 0.312500, 0.247500 +#*# 0.218125, 0.330000, 0.409375, 0.385625, 0.313750 +#*# 0.184375, 0.328125, 0.420625, 0.428125, 0.378750 +#*# 0.086250, 0.257500, 0.386250, 0.418750, 0.392500 +#*# 0.000000, 0.211250, 0.363125, 0.420000, 0.420000 +#*# min_x = 27.0 +#*# max_x = 222.0 +#*# min_y = 5.0 +#*# max_y = 203.0 +#*# x_count = 5 +#*# y_count = 5 +#*# mesh_x_pps = 2 +#*# mesh_y_pps = 2 +#*# algo = bicubic +#*# tension = 0.2 +#*# +#*# [bed_mesh default-v1] +#*# version = 1 +#*# points = +#*# -0.030625, -0.042500, -0.038750, -0.058750, -0.120625 +#*# -0.050417, -0.068542, -0.046875, -0.056250, -0.125417 +#*# -0.095000, -0.072500, -0.057917, -0.052292, -0.110417 +#*# -0.091250, -0.052500, -0.028125, -0.030625, -0.086667 +#*# -0.021667, 0.030000, 0.070208, 0.073125, 0.025833 +#*# x_count = 5 +#*# y_count = 5 +#*# mesh_x_pps = 2 +#*# mesh_y_pps = 2 +#*# algo = bicubic +#*# tension = 0.2 +#*# min_x = 27.0 +#*# max_x = 222.0 +#*# min_y = 5.0 +#*# max_y = 203.0 From ac30c3570727a775f759ab5f17b0f896d534d441 Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Tue, 7 Feb 2023 01:41:30 -0500 Subject: [PATCH 07/18] New mesh and z_offset. --- printer.cfg | 35 ++++++++--------------------------- 1 file changed, 8 insertions(+), 27 deletions(-) diff --git a/printer.cfg b/printer.cfg index 99a3a09..50403b1 100644 --- a/printer.cfg +++ b/printer.cfg @@ -154,7 +154,7 @@ z_hop: 10 z_hop_speed: 15 [bed_mesh] -speed: 150 +speed: 175 mesh_min: 27, 5 mesh_max: 222, 203 # 196, 203 probe_count: 5,5 @@ -233,26 +233,7 @@ screw_thread: CCW-M4 #*# pid_kd = 945.503 #*# #*# [probe] -#*# z_offset = 1.550 -#*# -#*# [bed_mesh default1] -#*# version = 1 -#*# points = -#*# -0.290000, -0.178125, -0.134375, -0.185625, -0.292500 -#*# -0.275000, -0.152500, -0.086250, -0.121250, -0.213125 -#*# -0.301250, -0.151875, -0.066250, -0.077500, -0.137500 -#*# -0.393750, -0.231875, -0.118125, -0.110000, -0.125625 -#*# -0.500000, -0.297500, -0.160625, -0.113125, -0.076875 -#*# x_count = 5 -#*# y_count = 5 -#*# mesh_x_pps = 2 -#*# mesh_y_pps = 2 -#*# algo = bicubic -#*# tension = 0.2 -#*# min_x = 27.0 -#*# max_x = 222.0 -#*# min_y = 5.0 -#*# max_y = 203.0 +#*# z_offset = 1.480 #*# #*# [bed_mesh default-working] #*# version = 1 @@ -273,14 +254,14 @@ screw_thread: CCW-M4 #*# algo = bicubic #*# tension = 0.2 #*# -#*# [bed_mesh default-v1] +#*# [bed_mesh default] #*# version = 1 #*# points = -#*# -0.030625, -0.042500, -0.038750, -0.058750, -0.120625 -#*# -0.050417, -0.068542, -0.046875, -0.056250, -0.125417 -#*# -0.095000, -0.072500, -0.057917, -0.052292, -0.110417 -#*# -0.091250, -0.052500, -0.028125, -0.030625, -0.086667 -#*# -0.021667, 0.030000, 0.070208, 0.073125, 0.025833 +#*# -0.017708, -0.023125, -0.023542, -0.037500, -0.088750 +#*# -0.034167, -0.051875, -0.035833, -0.037708, -0.091875 +#*# -0.072500, -0.066875, -0.056042, -0.050208, -0.093333 +#*# -0.075417, -0.074167, -0.051458, -0.054375, -0.095625 +#*# -0.030833, -0.014583, -0.000625, -0.013333, -0.051667 #*# x_count = 5 #*# y_count = 5 #*# mesh_x_pps = 2 From 2e12e4bc6233856bd8f0a285b17a1e23fa798303 Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Tue, 7 Feb 2023 02:27:49 -0500 Subject: [PATCH 08/18] New mesh. Added relative_reference_index to bed_mesh, adjusted safe_z_home accordingly. --- printer.cfg | 29 ++++++++++++++++++++++++----- 1 file changed, 24 insertions(+), 5 deletions(-) diff --git a/printer.cfg b/printer.cfg index 50403b1..f9aa791 100644 --- a/printer.cfg +++ b/printer.cfg @@ -147,8 +147,8 @@ samples_tolerance: 0.01 samples_tolerance_retries: 5 [safe_z_home] -# home_xy_position: 0, 223 # NOTE 111.50,111.50 -home_xy_position: 84.50, 135 # X:84.500 Y:135.000 +home_xy_position: 195.0, 173.5 +# home_xy_position: 84.50, 135 # Probe is at the center of the bed speed: 100.0 z_hop: 10 z_hop_speed: 15 @@ -161,8 +161,8 @@ probe_count: 5,5 algorithm: bicubic fade_start: 1 fade_end: 10 -fade_target: 0 # NOTE -# relative_reference_index: 20 # NOTE +# fade_target: 0 # NOTE +relative_reference_index: 15 [virtual_sdcard] path: /home/pi/printer_data/gcodes @@ -254,7 +254,7 @@ screw_thread: CCW-M4 #*# algo = bicubic #*# tension = 0.2 #*# -#*# [bed_mesh default] +#*# [bed_mesh default-v1] #*# version = 1 #*# points = #*# -0.017708, -0.023125, -0.023542, -0.037500, -0.088750 @@ -262,6 +262,25 @@ screw_thread: CCW-M4 #*# -0.072500, -0.066875, -0.056042, -0.050208, -0.093333 #*# -0.075417, -0.074167, -0.051458, -0.054375, -0.095625 #*# -0.030833, -0.014583, -0.000625, -0.013333, -0.051667 +#*# min_x = 27.0 +#*# max_x = 222.0 +#*# min_y = 5.0 +#*# max_y = 203.0 +#*# x_count = 5 +#*# y_count = 5 +#*# mesh_x_pps = 2 +#*# mesh_y_pps = 2 +#*# algo = bicubic +#*# tension = 0.2 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.094792, 0.076250, 0.085208, 0.068333, 0.012083 +#*# 0.077917, 0.054375, 0.067500, 0.060208, 0.003542 +#*# 0.038958, 0.037292, 0.043750, 0.049583, 0.006458 +#*# 0.028333, 0.030000, 0.042292, 0.040000, 0.000000 +#*# 0.068958, 0.078542, 0.091250, 0.076458, 0.033958 #*# x_count = 5 #*# y_count = 5 #*# mesh_x_pps = 2 From 5216f271cc7055107ddd7bb6b35241c0c60e92ab Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Tue, 7 Feb 2023 04:37:08 -0500 Subject: [PATCH 09/18] New mesh, new z_offset. --- printer.cfg | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/printer.cfg b/printer.cfg index f9aa791..15fb385 100644 --- a/printer.cfg +++ b/printer.cfg @@ -233,7 +233,7 @@ screw_thread: CCW-M4 #*# pid_kd = 945.503 #*# #*# [probe] -#*# z_offset = 1.480 +#*# z_offset = 1.540 #*# #*# [bed_mesh default-working] #*# version = 1 @@ -276,11 +276,11 @@ screw_thread: CCW-M4 #*# [bed_mesh default] #*# version = 1 #*# points = -#*# 0.094792, 0.076250, 0.085208, 0.068333, 0.012083 -#*# 0.077917, 0.054375, 0.067500, 0.060208, 0.003542 -#*# 0.038958, 0.037292, 0.043750, 0.049583, 0.006458 -#*# 0.028333, 0.030000, 0.042292, 0.040000, 0.000000 -#*# 0.068958, 0.078542, 0.091250, 0.076458, 0.033958 +#*# 0.094792, 0.076250, 0.085208, 0.068333, 0.012083 +#*# 0.077917, 0.054375, 0.067500, 0.060208, 0.003542 +#*# 0.038958, 0.037292, 0.043750, 0.049583, 0.006458 +#*# 0.028333, 0.030000, 0.042292, 0.040000, 0.000000 +#*# 0.068958, 0.078542, 0.091250, 0.076458, 0.033958 #*# x_count = 5 #*# y_count = 5 #*# mesh_x_pps = 2 From 5f3ce1cdbd46dbbe2cf01e81e9bee6d2b0a22536 Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Tue, 7 Feb 2023 06:05:02 -0500 Subject: [PATCH 10/18] New z_offset. --- printer.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/printer.cfg b/printer.cfg index 15fb385..7436d8e 100644 --- a/printer.cfg +++ b/printer.cfg @@ -233,7 +233,7 @@ screw_thread: CCW-M4 #*# pid_kd = 945.503 #*# #*# [probe] -#*# z_offset = 1.540 +#*# z_offset = 1.500 #*# #*# [bed_mesh default-working] #*# version = 1 From 77db090190a09cd2c99daee033914f8cdd1d95e0 Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Tue, 7 Feb 2023 06:39:03 -0500 Subject: [PATCH 11/18] New z_offset. --- printer.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/printer.cfg b/printer.cfg index 7436d8e..834b7d8 100644 --- a/printer.cfg +++ b/printer.cfg @@ -233,7 +233,7 @@ screw_thread: CCW-M4 #*# pid_kd = 945.503 #*# #*# [probe] -#*# z_offset = 1.500 +#*# z_offset = 1.520 #*# #*# [bed_mesh default-working] #*# version = 1 From f4dc922474884d81a3490edb551bde34a1161bba Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Tue, 7 Feb 2023 07:32:07 -0500 Subject: [PATCH 12/18] Adjusted safe_z_home and bed_mesh. --- printer.cfg | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/printer.cfg b/printer.cfg index 834b7d8..566d938 100644 --- a/printer.cfg +++ b/printer.cfg @@ -147,8 +147,8 @@ samples_tolerance: 0.01 samples_tolerance_retries: 5 [safe_z_home] -home_xy_position: 195.0, 173.5 -# home_xy_position: 84.50, 135 # Probe is at the center of the bed +# home_xy_position: 195.0, 173.5 +home_xy_position: 84.50, 135 # Probe is at the center of the bed speed: 100.0 z_hop: 10 z_hop_speed: 15 @@ -161,8 +161,8 @@ probe_count: 5,5 algorithm: bicubic fade_start: 1 fade_end: 10 -# fade_target: 0 # NOTE -relative_reference_index: 15 +fade_target: 0 # NOTE +# relative_reference_index: 15 [virtual_sdcard] path: /home/pi/printer_data/gcodes From f87f26850e0554965889e2d0e015556adaa31e0b Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Tue, 7 Feb 2023 09:23:55 -0500 Subject: [PATCH 13/18] New mesh. --- printer.cfg | 71 +++++++++++++++++++++++++++++++++-------------------- 1 file changed, 45 insertions(+), 26 deletions(-) diff --git a/printer.cfg b/printer.cfg index 566d938..e252b1b 100644 --- a/printer.cfg +++ b/printer.cfg @@ -235,26 +235,7 @@ screw_thread: CCW-M4 #*# [probe] #*# z_offset = 1.520 #*# -#*# [bed_mesh default-working] -#*# version = 1 -#*# points = -#*# 0.210625, 0.309375, 0.357500, 0.312500, 0.247500 -#*# 0.218125, 0.330000, 0.409375, 0.385625, 0.313750 -#*# 0.184375, 0.328125, 0.420625, 0.428125, 0.378750 -#*# 0.086250, 0.257500, 0.386250, 0.418750, 0.392500 -#*# 0.000000, 0.211250, 0.363125, 0.420000, 0.420000 -#*# min_x = 27.0 -#*# max_x = 222.0 -#*# min_y = 5.0 -#*# max_y = 203.0 -#*# x_count = 5 -#*# y_count = 5 -#*# mesh_x_pps = 2 -#*# mesh_y_pps = 2 -#*# algo = bicubic -#*# tension = 0.2 -#*# -#*# [bed_mesh default-v1] +#*# [bed_mesh best] #*# version = 1 #*# points = #*# -0.017708, -0.023125, -0.023542, -0.037500, -0.088750 @@ -273,14 +254,52 @@ screw_thread: CCW-M4 #*# algo = bicubic #*# tension = 0.2 #*# -#*# [bed_mesh default] +#*# [bed_mesh default-v1] #*# version = 1 #*# points = -#*# 0.094792, 0.076250, 0.085208, 0.068333, 0.012083 -#*# 0.077917, 0.054375, 0.067500, 0.060208, 0.003542 -#*# 0.038958, 0.037292, 0.043750, 0.049583, 0.006458 -#*# 0.028333, 0.030000, 0.042292, 0.040000, 0.000000 -#*# 0.068958, 0.078542, 0.091250, 0.076458, 0.033958 +#*# -0.050833, -0.027500, 0.003125, 0.009792, -0.020417 +#*# -0.082292, -0.066667, -0.018750, -0.001042, -0.042708 +#*# -0.123125, -0.096042, -0.056875, -0.032500, -0.067292 +#*# -0.112083, -0.087083, -0.054375, -0.047292, -0.089375 +#*# -0.026250, -0.008542, 0.008542, -0.004583, -0.043542 +#*# x_count = 5 +#*# y_count = 5 +#*# mesh_x_pps = 2 +#*# mesh_y_pps = 2 +#*# algo = bicubic +#*# tension = 0.2 +#*# min_x = 27.0 +#*# max_x = 222.0 +#*# min_y = 5.0 +#*# max_y = 203.0 +#*# +#*# [bed_mesh default-v2] +#*# version = 1 +#*# points = +#*# -0.028542, -0.029583, -0.004167, 0.011042, 0.001667 +#*# -0.057083, -0.058750, -0.011042, 0.012292, -0.013750 +#*# -0.095625, -0.082500, -0.047083, -0.018125, -0.035000 +#*# -0.083958, -0.075000, -0.039375, -0.028542, -0.051042 +#*# 0.019375, 0.026667, 0.041875, 0.035417, 0.016042 +#*# x_count = 5 +#*# y_count = 5 +#*# mesh_x_pps = 2 +#*# mesh_y_pps = 2 +#*# algo = bicubic +#*# tension = 0.2 +#*# min_x = 27.0 +#*# max_x = 222.0 +#*# min_y = 5.0 +#*# max_y = 203.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# -0.050000, -0.034167, -0.000208, 0.006042, 0.006042 +#*# -0.065000, -0.052500, -0.013333, -0.000417, -0.023958 +#*# -0.095208, -0.079792, -0.052292, -0.033750, -0.054792 +#*# -0.078542, -0.068542, -0.048542, -0.047292, -0.075417 +#*# 0.012292, 0.017500, 0.027500, 0.012917, -0.011458 #*# x_count = 5 #*# y_count = 5 #*# mesh_x_pps = 2 From 859982d1d3c0548784a52472f6ac5632d50bf137 Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Wed, 8 Feb 2023 22:59:50 -0500 Subject: [PATCH 14/18] New mesh, will not get better than this: 1.500 z_offset-best. --- printer.cfg | 49 +++++++++++++++---------------------------------- 1 file changed, 15 insertions(+), 34 deletions(-) diff --git a/printer.cfg b/printer.cfg index 455e302..d76f13f 100644 --- a/printer.cfg +++ b/printer.cfg @@ -232,7 +232,7 @@ screw_thread: CCW-M4 #*# pid_kd = 945.503 #*# #*# [probe] -#*# z_offset = 1.520 +#*# z_offset = 1.500 #*# #*# [bed_mesh best] #*# version = 1 @@ -256,49 +256,30 @@ screw_thread: CCW-M4 #*# [bed_mesh default-v1] #*# version = 1 #*# points = -#*# -0.050833, -0.027500, 0.003125, 0.009792, -0.020417 -#*# -0.082292, -0.066667, -0.018750, -0.001042, -0.042708 -#*# -0.123125, -0.096042, -0.056875, -0.032500, -0.067292 -#*# -0.112083, -0.087083, -0.054375, -0.047292, -0.089375 -#*# -0.026250, -0.008542, 0.008542, -0.004583, -0.043542 +#*# -0.050000, -0.034167, -0.000208, 0.006042, 0.006042 +#*# -0.065000, -0.052500, -0.013333, -0.000417, -0.023958 +#*# -0.095208, -0.079792, -0.052292, -0.033750, -0.054792 +#*# -0.078542, -0.068542, -0.048542, -0.047292, -0.075417 +#*# 0.012292, 0.017500, 0.027500, 0.012917, -0.011458 +#*# min_x = 27.0 +#*# max_x = 222.0 +#*# min_y = 5.0 +#*# max_y = 203.0 #*# x_count = 5 #*# y_count = 5 #*# mesh_x_pps = 2 #*# mesh_y_pps = 2 #*# algo = bicubic #*# tension = 0.2 -#*# min_x = 27.0 -#*# max_x = 222.0 -#*# min_y = 5.0 -#*# max_y = 203.0 -#*# -#*# [bed_mesh default-v2] -#*# version = 1 -#*# points = -#*# -0.028542, -0.029583, -0.004167, 0.011042, 0.001667 -#*# -0.057083, -0.058750, -0.011042, 0.012292, -0.013750 -#*# -0.095625, -0.082500, -0.047083, -0.018125, -0.035000 -#*# -0.083958, -0.075000, -0.039375, -0.028542, -0.051042 -#*# 0.019375, 0.026667, 0.041875, 0.035417, 0.016042 -#*# x_count = 5 -#*# y_count = 5 -#*# mesh_x_pps = 2 -#*# mesh_y_pps = 2 -#*# algo = bicubic -#*# tension = 0.2 -#*# min_x = 27.0 -#*# max_x = 222.0 -#*# min_y = 5.0 -#*# max_y = 203.0 #*# #*# [bed_mesh default] #*# version = 1 #*# points = -#*# -0.050000, -0.034167, -0.000208, 0.006042, 0.006042 -#*# -0.065000, -0.052500, -0.013333, -0.000417, -0.023958 -#*# -0.095208, -0.079792, -0.052292, -0.033750, -0.054792 -#*# -0.078542, -0.068542, -0.048542, -0.047292, -0.075417 -#*# 0.012292, 0.017500, 0.027500, 0.012917, -0.011458 +#*# -0.052500, -0.035000, -0.002500, 0.004375, -0.001875 +#*# -0.062500, -0.053125, -0.011250, -0.005625, -0.049375 +#*# -0.086250, -0.063125, -0.043750, -0.038750, -0.083750 +#*# -0.094375, -0.071875, -0.043125, -0.052500, -0.104375 +#*# -0.023125, 0.003750, 0.026875, 0.014375, -0.033750 #*# x_count = 5 #*# y_count = 5 #*# mesh_x_pps = 2 From 4ee64bb31df373390e358f87fc9655fcfd8a6e3c Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Sun, 12 Feb 2023 11:44:16 -0500 Subject: [PATCH 15/18] New mesh. --- printer.cfg | 100 +++++++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 88 insertions(+), 12 deletions(-) diff --git a/printer.cfg b/printer.cfg index d76f13f..0a7c8b5 100644 --- a/printer.cfg +++ b/printer.cfg @@ -253,14 +253,14 @@ screw_thread: CCW-M4 #*# algo = bicubic #*# tension = 0.2 #*# -#*# [bed_mesh default-v1] +#*# [bed_mesh default-orig] #*# version = 1 #*# points = -#*# -0.050000, -0.034167, -0.000208, 0.006042, 0.006042 -#*# -0.065000, -0.052500, -0.013333, -0.000417, -0.023958 -#*# -0.095208, -0.079792, -0.052292, -0.033750, -0.054792 -#*# -0.078542, -0.068542, -0.048542, -0.047292, -0.075417 -#*# 0.012292, 0.017500, 0.027500, 0.012917, -0.011458 +#*# -0.052500, -0.035000, -0.002500, 0.004375, -0.001875 +#*# -0.062500, -0.053125, -0.011250, -0.005625, -0.049375 +#*# -0.086250, -0.063125, -0.043750, -0.038750, -0.083750 +#*# -0.094375, -0.071875, -0.043125, -0.052500, -0.104375 +#*# -0.023125, 0.003750, 0.026875, 0.014375, -0.033750 #*# min_x = 27.0 #*# max_x = 222.0 #*# min_y = 5.0 @@ -272,14 +272,90 @@ screw_thread: CCW-M4 #*# algo = bicubic #*# tension = 0.2 #*# -#*# [bed_mesh default] +#*# [bed_mesh default-v1] #*# version = 1 #*# points = -#*# -0.052500, -0.035000, -0.002500, 0.004375, -0.001875 -#*# -0.062500, -0.053125, -0.011250, -0.005625, -0.049375 -#*# -0.086250, -0.063125, -0.043750, -0.038750, -0.083750 -#*# -0.094375, -0.071875, -0.043125, -0.052500, -0.104375 -#*# -0.023125, 0.003750, 0.026875, 0.014375, -0.033750 +#*# -0.091875, -0.041875, 0.010625, 0.028125, -0.010000 +#*# -0.109375, -0.086875, -0.025000, -0.010625, -0.060000 +#*# -0.138750, -0.102500, -0.070625, -0.053125, -0.100625 +#*# -0.135000, -0.105625, -0.072500, -0.071250, -0.119375 +#*# -0.058125, -0.036250, -0.003750, -0.010000, -0.045625 +#*# x_count = 5 +#*# y_count = 5 +#*# mesh_x_pps = 2 +#*# mesh_y_pps = 2 +#*# algo = bicubic +#*# tension = 0.2 +#*# min_x = 27.0 +#*# max_x = 222.0 +#*# min_y = 5.0 +#*# max_y = 203.0 +#*# +#*# [bed_mesh default-v2] +#*# version = 1 +#*# points = +#*# -0.065625, -0.043125, -0.006250, 0.019375, -0.011250 +#*# -0.081250, -0.075625, -0.018750, 0.003125, -0.046250 +#*# -0.116875, -0.093125, -0.055000, -0.025000, -0.074375 +#*# -0.119375, -0.089375, -0.048750, -0.029375, -0.074375 +#*# -0.041250, 0.000000, 0.040000, 0.053750, 0.033750 +#*# x_count = 5 +#*# y_count = 5 +#*# mesh_x_pps = 2 +#*# mesh_y_pps = 2 +#*# algo = bicubic +#*# tension = 0.2 +#*# min_x = 27.0 +#*# max_x = 222.0 +#*# min_y = 5.0 +#*# max_y = 203.0 +#*# +#*# [bed_mesh default-v3] +#*# version = 1 +#*# points = +#*# -0.039375, -0.032500, 0.005625, 0.031875, 0.020000 +#*# -0.061250, -0.066250, -0.027500, -0.007500, -0.043125 +#*# -0.090000, -0.076250, -0.056250, -0.028125, -0.058750 +#*# -0.079375, -0.074375, -0.043125, -0.030000, -0.060000 +#*# 0.006250, 0.015000, 0.049375, 0.057500, 0.041875 +#*# x_count = 5 +#*# y_count = 5 +#*# mesh_x_pps = 2 +#*# mesh_y_pps = 2 +#*# algo = bicubic +#*# tension = 0.2 +#*# min_x = 27.0 +#*# max_x = 222.0 +#*# min_y = 5.0 +#*# max_y = 203.0 +#*# +#*# [bed_mesh default-v4] +#*# version = 1 +#*# points = +#*# -0.036250, -0.040000, -0.016875, -0.016875, -0.032500 +#*# -0.058125, -0.057500, -0.028750, -0.025625, -0.056875 +#*# -0.083750, -0.073750, -0.061875, -0.041250, -0.063750 +#*# -0.071875, -0.058750, -0.041250, -0.033125, -0.050000 +#*# 0.011250, 0.028750, 0.043750, 0.045625, 0.046875 +#*# x_count = 5 +#*# y_count = 5 +#*# mesh_x_pps = 2 +#*# mesh_y_pps = 2 +#*# algo = bicubic +#*# tension = 0.2 +#*# min_x = 27.0 +#*# max_x = 222.0 +#*# min_y = 5.0 +#*# max_y = 203.0 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# -0.035625, -0.034375, -0.018125, -0.013750, -0.038750 +#*# -0.046250, -0.055625, -0.026875, -0.022500, -0.066250 +#*# -0.073125, -0.070625, -0.056875, -0.041250, -0.079375 +#*# -0.060625, -0.056875, -0.041250, -0.045000, -0.081875 +#*# 0.034375, 0.040625, 0.055625, 0.052500, 0.033125 #*# x_count = 5 #*# y_count = 5 #*# mesh_x_pps = 2 From 53d5894827c97718d1edaef18cc382e531427b82 Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Tue, 14 Feb 2023 01:19:53 -0500 Subject: [PATCH 16/18] New mesh. --- printer.cfg | 104 +++++++--------------------------------------------- 1 file changed, 14 insertions(+), 90 deletions(-) diff --git a/printer.cfg b/printer.cfg index 0a7c8b5..8c64c93 100644 --- a/printer.cfg +++ b/printer.cfg @@ -253,109 +253,33 @@ screw_thread: CCW-M4 #*# algo = bicubic #*# tension = 0.2 #*# -#*# [bed_mesh default-orig] -#*# version = 1 -#*# points = -#*# -0.052500, -0.035000, -0.002500, 0.004375, -0.001875 -#*# -0.062500, -0.053125, -0.011250, -0.005625, -0.049375 -#*# -0.086250, -0.063125, -0.043750, -0.038750, -0.083750 -#*# -0.094375, -0.071875, -0.043125, -0.052500, -0.104375 -#*# -0.023125, 0.003750, 0.026875, 0.014375, -0.033750 -#*# min_x = 27.0 -#*# max_x = 222.0 -#*# min_y = 5.0 -#*# max_y = 203.0 -#*# x_count = 5 -#*# y_count = 5 -#*# mesh_x_pps = 2 -#*# mesh_y_pps = 2 -#*# algo = bicubic -#*# tension = 0.2 -#*# #*# [bed_mesh default-v1] #*# version = 1 #*# points = -#*# -0.091875, -0.041875, 0.010625, 0.028125, -0.010000 -#*# -0.109375, -0.086875, -0.025000, -0.010625, -0.060000 -#*# -0.138750, -0.102500, -0.070625, -0.053125, -0.100625 -#*# -0.135000, -0.105625, -0.072500, -0.071250, -0.119375 -#*# -0.058125, -0.036250, -0.003750, -0.010000, -0.045625 +#*# -0.192500, -0.107500, -0.040000, -0.010625, -0.013750 +#*# -0.198125, -0.115000, -0.028750, 0.000000, -0.027500 +#*# -0.226875, -0.118125, -0.051875, -0.023750, -0.050000 +#*# -0.238750, -0.152500, -0.085000, -0.079375, -0.109375 +#*# -0.210625, -0.126875, -0.075625, -0.085625, -0.113750 +#*# min_x = 27.0 +#*# max_x = 222.0 +#*# min_y = 5.0 +#*# max_y = 203.0 #*# x_count = 5 #*# y_count = 5 #*# mesh_x_pps = 2 #*# mesh_y_pps = 2 #*# algo = bicubic #*# tension = 0.2 -#*# min_x = 27.0 -#*# max_x = 222.0 -#*# min_y = 5.0 -#*# max_y = 203.0 -#*# -#*# [bed_mesh default-v2] -#*# version = 1 -#*# points = -#*# -0.065625, -0.043125, -0.006250, 0.019375, -0.011250 -#*# -0.081250, -0.075625, -0.018750, 0.003125, -0.046250 -#*# -0.116875, -0.093125, -0.055000, -0.025000, -0.074375 -#*# -0.119375, -0.089375, -0.048750, -0.029375, -0.074375 -#*# -0.041250, 0.000000, 0.040000, 0.053750, 0.033750 -#*# x_count = 5 -#*# y_count = 5 -#*# mesh_x_pps = 2 -#*# mesh_y_pps = 2 -#*# algo = bicubic -#*# tension = 0.2 -#*# min_x = 27.0 -#*# max_x = 222.0 -#*# min_y = 5.0 -#*# max_y = 203.0 -#*# -#*# [bed_mesh default-v3] -#*# version = 1 -#*# points = -#*# -0.039375, -0.032500, 0.005625, 0.031875, 0.020000 -#*# -0.061250, -0.066250, -0.027500, -0.007500, -0.043125 -#*# -0.090000, -0.076250, -0.056250, -0.028125, -0.058750 -#*# -0.079375, -0.074375, -0.043125, -0.030000, -0.060000 -#*# 0.006250, 0.015000, 0.049375, 0.057500, 0.041875 -#*# x_count = 5 -#*# y_count = 5 -#*# mesh_x_pps = 2 -#*# mesh_y_pps = 2 -#*# algo = bicubic -#*# tension = 0.2 -#*# min_x = 27.0 -#*# max_x = 222.0 -#*# min_y = 5.0 -#*# max_y = 203.0 -#*# -#*# [bed_mesh default-v4] -#*# version = 1 -#*# points = -#*# -0.036250, -0.040000, -0.016875, -0.016875, -0.032500 -#*# -0.058125, -0.057500, -0.028750, -0.025625, -0.056875 -#*# -0.083750, -0.073750, -0.061875, -0.041250, -0.063750 -#*# -0.071875, -0.058750, -0.041250, -0.033125, -0.050000 -#*# 0.011250, 0.028750, 0.043750, 0.045625, 0.046875 -#*# x_count = 5 -#*# y_count = 5 -#*# mesh_x_pps = 2 -#*# mesh_y_pps = 2 -#*# algo = bicubic -#*# tension = 0.2 -#*# min_x = 27.0 -#*# max_x = 222.0 -#*# min_y = 5.0 -#*# max_y = 203.0 #*# #*# [bed_mesh default] #*# version = 1 #*# points = -#*# -0.035625, -0.034375, -0.018125, -0.013750, -0.038750 -#*# -0.046250, -0.055625, -0.026875, -0.022500, -0.066250 -#*# -0.073125, -0.070625, -0.056875, -0.041250, -0.079375 -#*# -0.060625, -0.056875, -0.041250, -0.045000, -0.081875 -#*# 0.034375, 0.040625, 0.055625, 0.052500, 0.033125 +#*# -0.224375, -0.111875, -0.013125, 0.017500, -0.013125 +#*# -0.231875, -0.125000, -0.015000, 0.016875, -0.020000 +#*# -0.261250, -0.136875, -0.037500, -0.000625, -0.030000 +#*# -0.274375, -0.155000, -0.066250, -0.048750, -0.081250 +#*# -0.241875, -0.129375, -0.056250, -0.049375, -0.081250 #*# x_count = 5 #*# y_count = 5 #*# mesh_x_pps = 2 From 5eb5c568229bd65324e27be2bdc2f620ece0f36f Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Tue, 14 Feb 2023 20:24:39 -0500 Subject: [PATCH 17/18] New pid extruder. --- printer.cfg | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/printer.cfg b/printer.cfg index 8c64c93..b289461 100644 --- a/printer.cfg +++ b/printer.cfg @@ -221,9 +221,9 @@ screw_thread: CCW-M4 #*# #*# [extruder] #*# control = pid -#*# pid_kp = 21.047 -#*# pid_ki = 1.477 -#*# pid_kd = 74.981 +#*# pid_kp = 21.766 +#*# pid_ki = 1.395 +#*# pid_kd = 84.888 #*# #*# [heater_bed] #*# control = pid @@ -256,11 +256,11 @@ screw_thread: CCW-M4 #*# [bed_mesh default-v1] #*# version = 1 #*# points = -#*# -0.192500, -0.107500, -0.040000, -0.010625, -0.013750 -#*# -0.198125, -0.115000, -0.028750, 0.000000, -0.027500 -#*# -0.226875, -0.118125, -0.051875, -0.023750, -0.050000 -#*# -0.238750, -0.152500, -0.085000, -0.079375, -0.109375 -#*# -0.210625, -0.126875, -0.075625, -0.085625, -0.113750 +#*# -0.192500, -0.107500, -0.040000, -0.010625, -0.013750 +#*# -0.198125, -0.115000, -0.028750, 0.000000, -0.027500 +#*# -0.226875, -0.118125, -0.051875, -0.023750, -0.050000 +#*# -0.238750, -0.152500, -0.085000, -0.079375, -0.109375 +#*# -0.210625, -0.126875, -0.075625, -0.085625, -0.113750 #*# min_x = 27.0 #*# max_x = 222.0 #*# min_y = 5.0 @@ -275,11 +275,11 @@ screw_thread: CCW-M4 #*# [bed_mesh default] #*# version = 1 #*# points = -#*# -0.224375, -0.111875, -0.013125, 0.017500, -0.013125 -#*# -0.231875, -0.125000, -0.015000, 0.016875, -0.020000 -#*# -0.261250, -0.136875, -0.037500, -0.000625, -0.030000 -#*# -0.274375, -0.155000, -0.066250, -0.048750, -0.081250 -#*# -0.241875, -0.129375, -0.056250, -0.049375, -0.081250 +#*# -0.224375, -0.111875, -0.013125, 0.017500, -0.013125 +#*# -0.231875, -0.125000, -0.015000, 0.016875, -0.020000 +#*# -0.261250, -0.136875, -0.037500, -0.000625, -0.030000 +#*# -0.274375, -0.155000, -0.066250, -0.048750, -0.081250 +#*# -0.241875, -0.129375, -0.056250, -0.049375, -0.081250 #*# x_count = 5 #*# y_count = 5 #*# mesh_x_pps = 2 From fc459699d84726159571417dc20f19ec59a95b03 Mon Sep 17 00:00:00 2001 From: Bassam Husain Date: Tue, 14 Feb 2023 20:28:37 -0500 Subject: [PATCH 18/18] Added M503 output. --- misc/M503-output.yml | 63 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 63 insertions(+) create mode 100644 misc/M503-output.yml diff --git a/misc/M503-output.yml b/misc/M503-output.yml new file mode 100644 index 0000000..e40e282 --- /dev/null +++ b/misc/M503-output.yml @@ -0,0 +1,63 @@ +Recv: echo:; Linear Units: +Recv: echo: G21 ; (mm) +Recv: echo:; Temperature Units: +Recv: echo: M149 C ; Units in Celsius +Recv: echo:; Filament settings (Disabled): +Recv: echo: M200 S0 D1.75 +Recv: echo:; Steps per unit: +Recv: echo: M92 X80.00 Y80.00 Z800.00 E691.50 +Recv: echo:; Max feedrates (units/s): +Recv: echo: M203 X200.00 Y200.00 Z12.00 E120.00 +Recv: echo:; Max Acceleration (units/s2): +Recv: echo: M201 X1000.00 Y1000.00 Z200.00 E5000.00 +Recv: echo:; Acceleration (units/s2) (P R T): +Recv: echo: M204 P1000.00 R1250.00 T1500.00 +Recv: echo:; Advanced (B S T J): +Recv: echo: M205 B20000.00 S0.00 T0.00 J0.01 +Recv: echo:; Home offset: +Recv: echo: M206 X0.00 Y0.00 Z0.00 +Recv: echo:; Unified Bed Leveling: +Recv: echo: M420 S1 Z10.00 ; Leveling ON +Recv: Unified Bed Leveling System v1.01 active +Recv: echo:Active Mesh Slot 0 +Recv: echo:EEPROM can hold 2 meshes. +Recv: echo:; X-Twist Correction: +Recv: M423 A0.00 I110.00 +Recv: M423 X0 Z0.00 +Recv: M423 X1 Z0.00 +Recv: M423 X2 Z0.00 +Recv: echo:; Material heatup parameters: +Recv: echo: M145 S0 H200.00 B60.00 F0 +Recv: echo: M145 S1 H240.00 B70.00 F0 +Recv: echo: M145 S2 H205.00 B45.00 F0 +Recv: echo: M145 S3 H260.00 B70.00 F0 +Recv: echo:; Hotend PID: +Recv: echo: M301 P23.48 I2.99 D46.09 +Recv: echo:; Bed PID: +Recv: echo: M304 P163.96 I28.03 D639.32 +Recv: echo:; User thermistors: +Recv: echo: M305 P0 R4700.0 T94162.0 B4160.0 C0.000000000 ; HOTEND 0 +Recv: echo:; Power-loss recovery: +Recv: echo: M413 S0 ; OFF +Recv: echo:; Z-Probe Offset: +Recv: echo: M851 X28.00 Y-20.00 Z-2.02 ; (mm) +Recv: echo:; Stepper driver current: +Recv: echo: M906 X860 Y900 Z1000 +Recv: echo: M906 T0 E550 +Recv: echo:; Hybrid Threshold: +Recv: echo: M913 X183 Y183 Z41 +Recv: echo: M913 T0 E60 +Recv: echo:; StallGuard threshold: +Recv: echo: M914 X65 Y68 +Recv: echo:; Driver stepping mode: +Recv: echo: M569 S1 X Y Z +Recv: echo: M569 S1 T0 E +Recv: echo:; Input Shaping: +Recv: echo: M593 X F40.00 D0.15 +Recv: echo: M593 Y F40.00 D0.15 +Recv: echo:; Linear Advance: +Recv: echo: M900 K0.05 +Recv: echo:; Filament load/unload: +Recv: echo: M603 L0.00 U50.00 ; (mm) +Recv: echo:; Filament runout sensor: +Recv: echo: M412 S0 ; Sensor OFF \ No newline at end of file