diff --git a/printer-20250925_190144.cfg b/printer-20250925_190144.cfg new file mode 100644 index 0000000..830eef3 --- /dev/null +++ b/printer-20250925_190144.cfg @@ -0,0 +1,214 @@ +# DO NOT EDIT THIS FILE, IT IS A TEMPLATE. THAT YOU NEED TO COPY +# Prusa MK3s Klipper Config + +# The first thing you'll need to do is go through this file and comment out / uncomment +# the files and/or settings you need. + +# You'll be able to print just fine with this config as it is, but it is recommended +# that you follow these steps to properly calibrate your printer: + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/skew_correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +### UI +# [include mainsail.cfg] +[include fluidd.cfg] + +[mcu] +# serial: /dev/serial0 # If you are using internal RPI serial port +serial: /dev/ttyACM0 # If you are using RPI via USB connection to printer +restart_method: command + +### CONTROL BOARD +[include klipper-prusa-mk3s/mk3s/einsy-rambo.cfg] + +### BASE SETUP +[include klipper-prusa-mk3s/mk3s/display.cfg] +[include klipper-prusa-mk3s/mk3s/steppers.cfg] +[include klipper-prusa-mk3s/mk3s/tmc2130.cfg] + +### EXTRUSION + +# Extruder +[include klipper-prusa-mk3s/extruders/prusa.cfg] +# [include klipper-prusa-mk3s/extruders/bmg.cfg] + +# Hotend +[include klipper-prusa-mk3s/hotends/v6.cfg] +# [include klipper-prusa-mk3s/hotends/dragon-standard-flow.cfg] +# [include klipper-prusa-mk3s/hotends/rapido.cfg] + +[extruder] +# To tune Pressure Advance see https://www.klipper3d.org/Pressure_Advance.html +# default is already set based on hotend, but you can further improve prints by calibrating it to your nozzle and material +# pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +#pid_Kp: 23.862 +#pid_Ki: 1.020 +#pid_Kd: 139.595 +max_extrude_only_distance: 101 + +## copy this from your current setting on Prusa, but make it absolute (removing -) +[probe] +#z_offset = 0.685 + +## For faster printing enable +# [printer] +# max_accel: 2000 +# max_accel_to_decel: 2000 +# max_z_velocity: 20 +# max_z_accel: 300 + +## For stealth mode enable + +# [tmc2130 stepper_x] +# interpolate: True +# stealthchop_threshold: 80 +# [tmc2130 stepper_y] +# interpolate: True +# stealthchop_threshold: 80 +# [tmc2130 stepper_z] +# interpolate: True +# stealthchop_threshold: 80 + +## Custom bed mest probes +## Prusa has 3x3 or 7x7, you can do any variation you want +# [bed_mesh] +# probe_count: 4,4 + +# Linear correction +# Check `extruders/linear-correction` for more informations. +[include klipper-prusa-mk3s/extruders/linear-correction/linear-correction-0.cfg] # Default Prusa linear correction optimized for LDO motors + +### MACROS +[include klipper-prusa-mk3s/macros.cfg] + +# FIRST RUN: +# Execute these sequentially in the console, let PID tuning finish before saving +# PID_CALIBRATE HEATER=extruder TARGET=170 +# SAVE_CONFIG +# PID_CALIBRATE HEATER=heater_bed TARGET=60 +# SAVE_CONFIG + +# You can also skip the above setting for stock Prusa and use +[extruder] +#control: pid +min_temp: 0 +max_temp: 305 +min_extrude_temp: 170 +rotation_distance=22.399821 + +[stepper_z] +position_max: 210 + +[heater_bed] +pid_Kp=54.241 +pid_Ki=0.646 +pid_Kd=1139.053 + +##################################################################### +# print_start macro +##################################################################### + +## *** THINGS TO UNCOMMENT: *** +## Bed mesh (2 lines at 2 locations) +## Z_TILT_ADJUST if your printer is a Trident +## Quad gantry level if your printer is a V2 +## Nevermore - if you have one + +[gcode_macro PRINT_START] +gcode: + # This part fetches data from your slicer. Such as bed temp, extruder temp, chamber temp and size of your printer. + {% set target_bed = params.BED|int %} + {% set target_extruder = params.EXTRUDER|int %} + {% set x_wait = printer.toolhead.axis_maximum.x|float / 2 %} + {% set y_wait = printer.toolhead.axis_maximum.y|float / 2 %} + + # Homes the printer, sets absolute positioning + G28 # Full home (XYZ) + G90 # Absolut position + + ## Uncomment for bed mesh (1 of 2) + BED_MESH_CLEAR # Clears old saved bed mesh (if any) + + SET_DISPLAY_TEXT MSG="Bed: {target_bed}c" # Displays info + M140 S{target_bed} # Sets bed target + + ## Uncomment for bed mesh (2 of 2) + SET_DISPLAY_TEXT MSG="Bed mesh" # Displays info + bed_mesh_calibrate # Starts bed mesh + + # Heats up the nozzle and bed to target via data from slicer + SET_DISPLAY_TEXT MSG="Hotend: {target_extruder}c" # Displays info + M104 S{target_extruder} # Sets extruder target + G1 X{x_wait} Y{y_wait} Z15 F9000 # Goes to center of the bed + M107 # Turns off partcooling fan + M190 S{target_bed} # Heats bed to printing temp (if not already hot enough) + M109 S{target_extruder} # Heats the nozzle to printing temp (if not already hot enough) + + # Gets ready to print by doing a purge line + SET_DISPLAY_TEXT MSG="Printer goes brr" # Displays info + G0 X0 Y0 F9000 # Moves to starting point + G1 Z0.2 F720 + G1 Y-3 F1000 # Go outside print area + G1 X60 E9 F1000 # intro line + G1 X100 E12.5 F1000 # intro line + G92 E0 + G90 # Absolute position + +[gcode_macro PRINT_END] +gcode: + # Turn off bed, extruder, and fan + M140 S0 + M104 S0 + M107 + # Move nozzle away from print while retracting + G91 + G1 X-2 Y-2 E-3 F300 + # Raise nozzle by 10mm + G1 Z10 F1000 + G90 + # Move to origin + G0 X0 Y0 F9000 + # Disable steppers + M84 + # Display info + SET_DISPLAY_TEXT MSG="Print done" + +[exclude_object] + + +### The end, on the end the printer will store it's tuning data, so do not edit it. + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 25.678 +#*# pid_ki = 1.297 +#*# pid_kd = 127.106 +#*# +#*# [probe] +#*# z_offset = 1.344 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.664167, 0.159444, -0.203750 +#*# 0.640833, 0.175000, -0.247500 +#*# 0.631667, 0.240000, -0.174167 +#*# x_count = 3 +#*# y_count = 3 +#*# mesh_x_pps = 3 +#*# mesh_y_pps = 3 +#*# algo = bicubic +#*# tension = 0.2 +#*# min_x = 24.0 +#*# max_x = 228.0 +#*# min_y = 6.0 +#*# max_y = 210.0 diff --git a/printer-20250925_190622.cfg b/printer-20250925_190622.cfg new file mode 100644 index 0000000..b3648f1 --- /dev/null +++ b/printer-20250925_190622.cfg @@ -0,0 +1,214 @@ +# DO NOT EDIT THIS FILE, IT IS A TEMPLATE. THAT YOU NEED TO COPY +# Prusa MK3s Klipper Config + +# The first thing you'll need to do is go through this file and comment out / uncomment +# the files and/or settings you need. + +# You'll be able to print just fine with this config as it is, but it is recommended +# that you follow these steps to properly calibrate your printer: + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/skew_correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +### UI +# [include mainsail.cfg] +[include fluidd.cfg] + +[mcu] +# serial: /dev/serial0 # If you are using internal RPI serial port +serial: /dev/ttyACM0 # If you are using RPI via USB connection to printer +restart_method: command + +### CONTROL BOARD +[include klipper-prusa-mk3s/mk3s/einsy-rambo.cfg] + +### BASE SETUP +[include klipper-prusa-mk3s/mk3s/display.cfg] +[include klipper-prusa-mk3s/mk3s/steppers.cfg] +[include klipper-prusa-mk3s/mk3s/tmc2130.cfg] + +### EXTRUSION + +# Extruder +[include klipper-prusa-mk3s/extruders/prusa.cfg] +# [include klipper-prusa-mk3s/extruders/bmg.cfg] + +# Hotend +[include klipper-prusa-mk3s/hotends/v6.cfg] +# [include klipper-prusa-mk3s/hotends/dragon-standard-flow.cfg] +# [include klipper-prusa-mk3s/hotends/rapido.cfg] + +[extruder] +# To tune Pressure Advance see https://www.klipper3d.org/Pressure_Advance.html +# default is already set based on hotend, but you can further improve prints by calibrating it to your nozzle and material +# pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +#pid_Kp: 23.862 +#pid_Ki: 1.020 +#pid_Kd: 139.595 +max_extrude_only_distance: 101 + +## copy this from your current setting on Prusa, but make it absolute (removing -) +[probe] +#z_offset = 0.685 + +## For faster printing enable +# [printer] +# max_accel: 2000 +# max_accel_to_decel: 2000 +# max_z_velocity: 20 +# max_z_accel: 300 + +## For stealth mode enable + +# [tmc2130 stepper_x] +# interpolate: True +# stealthchop_threshold: 80 +# [tmc2130 stepper_y] +# interpolate: True +# stealthchop_threshold: 80 +# [tmc2130 stepper_z] +# interpolate: True +# stealthchop_threshold: 80 + +## Custom bed mest probes +## Prusa has 3x3 or 7x7, you can do any variation you want +# [bed_mesh] +# probe_count: 4,4 + +# Linear correction +# Check `extruders/linear-correction` for more informations. +[include klipper-prusa-mk3s/extruders/linear-correction/linear-correction-0.cfg] # Default Prusa linear correction optimized for LDO motors + +### MACROS +[include klipper-prusa-mk3s/macros.cfg] + +# FIRST RUN: +# Execute these sequentially in the console, let PID tuning finish before saving +# PID_CALIBRATE HEATER=extruder TARGET=170 +# SAVE_CONFIG +# PID_CALIBRATE HEATER=heater_bed TARGET=60 +# SAVE_CONFIG + +# You can also skip the above setting for stock Prusa and use +[extruder] +#control: pid +min_temp: 0 +max_temp: 305 +min_extrude_temp: 170 +rotation_distance=22.399821 + +[stepper_z] +position_max: 210 + +[heater_bed] +pid_Kp=54.241 +pid_Ki=0.646 +pid_Kd=1139.053 + +##################################################################### +# print_start macro +##################################################################### + +## *** THINGS TO UNCOMMENT: *** +## Bed mesh (2 lines at 2 locations) +## Z_TILT_ADJUST if your printer is a Trident +## Quad gantry level if your printer is a V2 +## Nevermore - if you have one + +[gcode_macro PRINT_START] +gcode: + # This part fetches data from your slicer. Such as bed temp, extruder temp, chamber temp and size of your printer. + {% set target_bed = params.BED|int %} + {% set target_extruder = params.EXTRUDER|int %} + {% set x_wait = printer.toolhead.axis_maximum.x|float / 2 %} + {% set y_wait = printer.toolhead.axis_maximum.y|float / 2 %} + + # Homes the printer, sets absolute positioning + G28 # Full home (XYZ) + G90 # Absolut position + + ## Uncomment for bed mesh (1 of 2) + BED_MESH_CLEAR # Clears old saved bed mesh (if any) + + SET_DISPLAY_TEXT MSG="Bed: {target_bed}c" # Displays info + M140 S{target_bed} # Sets bed target + + ## Uncomment for bed mesh (2 of 2) + SET_DISPLAY_TEXT MSG="Bed mesh" # Displays info + bed_mesh_calibrate # Starts bed mesh + + # Heats up the nozzle and bed to target via data from slicer + SET_DISPLAY_TEXT MSG="Hotend: {target_extruder}c" # Displays info + M104 S{target_extruder} # Sets extruder target + G1 X{x_wait} Y{y_wait} Z15 F9000 # Goes to center of the bed + M107 # Turns off partcooling fan + M190 S{target_bed} # Heats bed to printing temp (if not already hot enough) + M109 S{target_extruder} # Heats the nozzle to printing temp (if not already hot enough) + + # Gets ready to print by doing a purge line + SET_DISPLAY_TEXT MSG="Printer goes brr" # Displays info + G0 X0 Y0 F9000 # Moves to starting point + G1 Z0.2 F720 + G1 Y-3 F1000 # Go outside print area + G1 X60 E9 F1000 # intro line + G1 X100 E12.5 F1000 # intro line + G92 E0 + G90 # Absolute position + +[gcode_macro PRINT_END] +gcode: + # Turn off bed, extruder, and fan + M140 S0 + M104 S0 + M107 + # Move nozzle away from print while retracting + G91 + G1 X-2 Y-2 E-3 F300 + # Raise nozzle by 10mm + G1 Z10 F1000 + G90 + # Move to origin + G0 X0 Y0 F9000 + # Disable steppers + M84 + # Display info + SET_DISPLAY_TEXT MSG="Print done" + +[exclude_object] + + +### The end, on the end the printer will store it's tuning data, so do not edit it. + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 25.678 +#*# pid_ki = 1.297 +#*# pid_kd = 127.106 +#*# +#*# [probe] +#*# z_offset = 0.844 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.664167, 0.159444, -0.203750 +#*# 0.640833, 0.175000, -0.247500 +#*# 0.631667, 0.240000, -0.174167 +#*# x_count = 3 +#*# y_count = 3 +#*# mesh_x_pps = 3 +#*# mesh_y_pps = 3 +#*# algo = bicubic +#*# tension = 0.2 +#*# min_x = 24.0 +#*# max_x = 228.0 +#*# min_y = 6.0 +#*# max_y = 210.0 diff --git a/printer-20250925_191018.cfg b/printer-20250925_191018.cfg new file mode 100644 index 0000000..f2a9585 --- /dev/null +++ b/printer-20250925_191018.cfg @@ -0,0 +1,214 @@ +# DO NOT EDIT THIS FILE, IT IS A TEMPLATE. THAT YOU NEED TO COPY +# Prusa MK3s Klipper Config + +# The first thing you'll need to do is go through this file and comment out / uncomment +# the files and/or settings you need. + +# You'll be able to print just fine with this config as it is, but it is recommended +# that you follow these steps to properly calibrate your printer: + +# 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html +# 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html +# 2) Skew Correction: https://www.klipper3d.org/skew_correction.html +# 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html + +# Read more about klipper here: https://www.klipper3d.org/Overview.html + +### UI +# [include mainsail.cfg] +[include fluidd.cfg] + +[mcu] +# serial: /dev/serial0 # If you are using internal RPI serial port +serial: /dev/ttyACM0 # If you are using RPI via USB connection to printer +restart_method: command + +### CONTROL BOARD +[include klipper-prusa-mk3s/mk3s/einsy-rambo.cfg] + +### BASE SETUP +[include klipper-prusa-mk3s/mk3s/display.cfg] +[include klipper-prusa-mk3s/mk3s/steppers.cfg] +[include klipper-prusa-mk3s/mk3s/tmc2130.cfg] + +### EXTRUSION + +# Extruder +[include klipper-prusa-mk3s/extruders/prusa.cfg] +# [include klipper-prusa-mk3s/extruders/bmg.cfg] + +# Hotend +[include klipper-prusa-mk3s/hotends/v6.cfg] +# [include klipper-prusa-mk3s/hotends/dragon-standard-flow.cfg] +# [include klipper-prusa-mk3s/hotends/rapido.cfg] + +[extruder] +# To tune Pressure Advance see https://www.klipper3d.org/Pressure_Advance.html +# default is already set based on hotend, but you can further improve prints by calibrating it to your nozzle and material +# pressure_advance: 0.05 +nozzle_diameter: 0.4 # Remember to change this if you change nozzle diameter. +#pid_Kp: 23.862 +#pid_Ki: 1.020 +#pid_Kd: 139.595 +max_extrude_only_distance: 101 + +## copy this from your current setting on Prusa, but make it absolute (removing -) +[probe] +#z_offset = 0.685 + +## For faster printing enable +# [printer] +# max_accel: 2000 +# max_accel_to_decel: 2000 +# max_z_velocity: 20 +# max_z_accel: 300 + +## For stealth mode enable + +# [tmc2130 stepper_x] +# interpolate: True +# stealthchop_threshold: 80 +# [tmc2130 stepper_y] +# interpolate: True +# stealthchop_threshold: 80 +# [tmc2130 stepper_z] +# interpolate: True +# stealthchop_threshold: 80 + +## Custom bed mest probes +## Prusa has 3x3 or 7x7, you can do any variation you want +# [bed_mesh] +# probe_count: 4,4 + +# Linear correction +# Check `extruders/linear-correction` for more informations. +[include klipper-prusa-mk3s/extruders/linear-correction/linear-correction-0.cfg] # Default Prusa linear correction optimized for LDO motors + +### MACROS +[include klipper-prusa-mk3s/macros.cfg] + +# FIRST RUN: +# Execute these sequentially in the console, let PID tuning finish before saving +# PID_CALIBRATE HEATER=extruder TARGET=170 +# SAVE_CONFIG +# PID_CALIBRATE HEATER=heater_bed TARGET=60 +# SAVE_CONFIG + +# You can also skip the above setting for stock Prusa and use +[extruder] +#control: pid +min_temp: 0 +max_temp: 305 +min_extrude_temp: 170 +rotation_distance=22.399821 + +[stepper_z] +position_max: 210 + +[heater_bed] +pid_Kp=54.241 +pid_Ki=0.646 +pid_Kd=1139.053 + +##################################################################### +# print_start macro +##################################################################### + +## *** THINGS TO UNCOMMENT: *** +## Bed mesh (2 lines at 2 locations) +## Z_TILT_ADJUST if your printer is a Trident +## Quad gantry level if your printer is a V2 +## Nevermore - if you have one + +[gcode_macro PRINT_START] +gcode: + # This part fetches data from your slicer. Such as bed temp, extruder temp, chamber temp and size of your printer. + {% set target_bed = params.BED|int %} + {% set target_extruder = params.EXTRUDER|int %} + {% set x_wait = printer.toolhead.axis_maximum.x|float / 2 %} + {% set y_wait = printer.toolhead.axis_maximum.y|float / 2 %} + + # Homes the printer, sets absolute positioning + G28 # Full home (XYZ) + G90 # Absolut position + + ## Uncomment for bed mesh (1 of 2) + BED_MESH_CLEAR # Clears old saved bed mesh (if any) + + SET_DISPLAY_TEXT MSG="Bed: {target_bed}c" # Displays info + M140 S{target_bed} # Sets bed target + + ## Uncomment for bed mesh (2 of 2) + SET_DISPLAY_TEXT MSG="Bed mesh" # Displays info + bed_mesh_calibrate # Starts bed mesh + + # Heats up the nozzle and bed to target via data from slicer + SET_DISPLAY_TEXT MSG="Hotend: {target_extruder}c" # Displays info + M104 S{target_extruder} # Sets extruder target + G1 X{x_wait} Y{y_wait} Z15 F9000 # Goes to center of the bed + M107 # Turns off partcooling fan + M190 S{target_bed} # Heats bed to printing temp (if not already hot enough) + M109 S{target_extruder} # Heats the nozzle to printing temp (if not already hot enough) + + # Gets ready to print by doing a purge line + SET_DISPLAY_TEXT MSG="Printer goes brr" # Displays info + G0 X0 Y0 F9000 # Moves to starting point + G1 Z0.2 F720 + G1 Y-3 F1000 # Go outside print area + G1 X60 E9 F1000 # intro line + G1 X100 E12.5 F1000 # intro line + G92 E0 + G90 # Absolute position + +[gcode_macro PRINT_END] +gcode: + # Turn off bed, extruder, and fan + M140 S0 + M104 S0 + M107 + # Move nozzle away from print while retracting + G91 + G1 X-2 Y-2 E-3 F300 + # Raise nozzle by 10mm + G1 Z10 F1000 + G90 + # Move to origin + G0 X0 Y0 F9000 + # Disable steppers + M84 + # Display info + SET_DISPLAY_TEXT MSG="Print done" + +[exclude_object] + + +### The end, on the end the printer will store it's tuning data, so do not edit it. + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 25.678 +#*# pid_ki = 1.297 +#*# pid_kd = 127.106 +#*# +#*# [probe] +#*# z_offset = 0.844 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# 0.200833, 0.037778, -0.041667 +#*# 0.163611, 0.009167, -0.021667 +#*# 0.178333, 0.081667, 0.089167 +#*# x_count = 3 +#*# y_count = 3 +#*# mesh_x_pps = 3 +#*# mesh_y_pps = 3 +#*# algo = bicubic +#*# tension = 0.2 +#*# min_x = 24.0 +#*# max_x = 228.0 +#*# min_y = 6.0 +#*# max_y = 210.0 diff --git a/printer.cfg b/printer.cfg index 830eef3..e7b6098 100644 --- a/printer.cfg +++ b/printer.cfg @@ -194,14 +194,14 @@ gcode: #*# pid_kd = 127.106 #*# #*# [probe] -#*# z_offset = 1.344 +#*# z_offset = 0.934 #*# #*# [bed_mesh default] #*# version = 1 #*# points = -#*# 0.664167, 0.159444, -0.203750 -#*# 0.640833, 0.175000, -0.247500 -#*# 0.631667, 0.240000, -0.174167 +#*# 0.200833, 0.037778, -0.041667 +#*# 0.163611, 0.009167, -0.021667 +#*# 0.178333, 0.081667, 0.089167 #*# x_count = 3 #*# y_count = 3 #*# mesh_x_pps = 3