Automatic backup: 2025-12-03_20:00:01
This commit is contained in:
225
printer-20251202_211942.cfg
Normal file
225
printer-20251202_211942.cfg
Normal file
@@ -0,0 +1,225 @@
|
|||||||
|
# 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"
|
||||||
|
|
||||||
|
# Added by: mikidep
|
||||||
|
# It seems that the default bed mesh calibration gets messy on the high X high Y
|
||||||
|
# corner, my hypothesis is that it's due to the probe losing accuracy near the
|
||||||
|
# edge of the plate. So I'm limiting the probing area.
|
||||||
|
[bed_mesh]
|
||||||
|
speed: 120
|
||||||
|
mesh_min: 35, 6
|
||||||
|
mesh_max: 180, 180
|
||||||
|
probe_count: 5, 5
|
||||||
|
|
||||||
|
|
||||||
|
[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 = 2.150
|
||||||
|
#*#
|
||||||
|
#*# [bed_mesh default]
|
||||||
|
#*# version = 1
|
||||||
|
#*# points =
|
||||||
|
#*# -0.200000, -0.095000, -0.016667
|
||||||
|
#*# -0.132222, -0.108333, 0.049167
|
||||||
|
#*# -0.113333, -0.058333, 0.140000
|
||||||
|
#*# 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
|
||||||
20
printer.cfg
20
printer.cfg
@@ -205,21 +205,23 @@ probe_count: 5, 5
|
|||||||
#*# pid_kd = 127.106
|
#*# pid_kd = 127.106
|
||||||
#*#
|
#*#
|
||||||
#*# [probe]
|
#*# [probe]
|
||||||
#*# z_offset = 2.150
|
#*# z_offset = 2.424
|
||||||
#*#
|
#*#
|
||||||
#*# [bed_mesh default]
|
#*# [bed_mesh default]
|
||||||
#*# version = 1
|
#*# version = 1
|
||||||
#*# points =
|
#*# points =
|
||||||
#*# -0.200000, -0.095000, -0.016667
|
#*# -0.029167, -0.102500, -0.020833, -0.066944, 0.001667
|
||||||
#*# -0.132222, -0.108333, 0.049167
|
#*# -0.080833, -0.084167, -0.066667, -0.038333, 0.003333
|
||||||
#*# -0.113333, -0.058333, 0.140000
|
#*# -0.010556, -0.095000, -0.096667, -0.051667, -0.005833
|
||||||
#*# x_count = 3
|
#*# 0.035000, -0.061667, -0.079167, -0.040000, 0.016667
|
||||||
#*# y_count = 3
|
#*# -0.068333, -0.055833, -0.020000, 0.029167, 0.069167
|
||||||
|
#*# x_count = 5
|
||||||
|
#*# y_count = 5
|
||||||
#*# mesh_x_pps = 3
|
#*# mesh_x_pps = 3
|
||||||
#*# mesh_y_pps = 3
|
#*# mesh_y_pps = 3
|
||||||
#*# algo = bicubic
|
#*# algo = bicubic
|
||||||
#*# tension = 0.2
|
#*# tension = 0.2
|
||||||
#*# min_x = 24.0
|
#*# min_x = 35.0
|
||||||
#*# max_x = 228.0
|
#*# max_x = 180.0
|
||||||
#*# min_y = 6.0
|
#*# min_y = 6.0
|
||||||
#*# max_y = 210.0
|
#*# max_y = 180.0
|
||||||
|
|||||||
Reference in New Issue
Block a user