############################################################################################################# ### CONFIGURATION GENERATED BY THE RATOS CONFIGURATOR ### Everything below [include RatOS.cfg] will override default RatOS behavior ############################################################################################################# [include RatOS.cfg] ############################################################################################################# ### MACRO CONFIGURATION ### Configure the behavior of RatOS macros ### See: https://os.ratrig.com/docs/configuration/macros ############################################################################################################# [gcode_macro RatOS] variable_relative_extrusion: False variable_preheat_extruder: True variable_calibrate_bed_mesh: True variable_nozzle_priming: "primeblob" variable_start_print_park_in: "back" variable_start_print_park_z_height: 50 variable_end_print_park_in: "back" variable_pause_print_park_in: "back" ############################################################################################################# ### USER OVERRIDES & CUSTOM CONFIGURATION ### Anything custom you want to add, or RatOS configuration you want to override, do it here. ### This section is pre-populated with the most common settings you may want to change. ### See: https://os.ratrig.com/docs/configuration/includes-and-overrides ### ### 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) Z-offset calibration: https://www.klipper3d.org/Probe_Calibrate.html#calibrating-probe-z-offset ### 2) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html ### 3) Skew Correction: https://www.klipper3d.org/Skew_Correction.html ### 4) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html ### RatOS has dedicated macro's to generate shaper graphs for deeper analysis (requires accelerometer). ### Use MEASURE_COREXY_BELT_TENSION to compare tension between belts, and use ### GENERATE_SHAPER_GRAPHS to generate the resonance graphs for analysing and manually entering input shaper ### configuration. ### You can run SHAPER_CALIBRATE to automatically calibrate your input shaper configuration, if you just want ### to get started. ### Additionally, you can use the Realtime Analysis Tool to analyze your printer's performance in real-time. ### Read more about klipper here: https://www.klipper3d.org/Overview.html ############################################################################################################# [ratos] allow_unsupported_slicer_versions: True bypass_post_processing: True [fan] # 4-pin fan connected to 2-pin header on T0 (EBB42 v1.2) - digital pwm pin: toolboard_t0:PA0 [z_tilt] z_positions: 275,275 150,0 0,275 points: 260,260 145,10 60,260 horizontal_move_z: 20 retries: 10 retry_tolerance: 0.02 #---------------------------------------------------- X ----------------------------------------------------- # The A motor in the CoreXY system, located at the rear left of the printer #------------------------------------------------------------------------------------------------------------ [stepper_x] dir_pin: x_dir_pin # Add ! in front of pin name to reverse the direction of stepper_x rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys homing_speed: 50 position_min: 0 position_max: 290 position_endstop: 0 #---------------------------------------------------- Y ----------------------------------------------------- # The B motor in the CoreXY system, located at the rear right of the printer #------------------------------------------------------------------------------------------------------------ [stepper_y] dir_pin: y_dir_pin # Add ! in front of pin name to reverse the direction of stepper_y rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys homing_speed: 50 position_min: 0 position_max: 290 position_endstop: 0 #---------------------------------------------------- Z ----------------------------------------------------- # The left Z motor for the kinematic bed #------------------------------------------------------------------------------------------------------------ [stepper_z] dir_pin: !z0_dir_pin # Remove ! in front of pin name to reverse the direction of stepper_z rotation_distance: 8 # 4 for TR8*4 lead screws homing_speed: 10 position_min: -5 position_max: 300 #---------------------------------------------------- Z1 ---------------------------------------------------- # The rear Z motor for the kinematic bed #------------------------------------------------------------------------------------------------------------ [stepper_z1] dir_pin: !z1_dir_pin # Remove ! in front of pin name to reverse the direction of stepper_z1 rotation_distance: 8 # 4 for TR8*4 lead screws #---------------------------------------------------- Z2 ---------------------------------------------------- # The right Z motor for the kinematic bed #------------------------------------------------------------------------------------------------------------ [stepper_z2] dir_pin: !z2_dir_pin # Remove ! in front of pin name to reverse the direction of stepper_z2 rotation_distance: 8 # 4 for TR8*4 lead screws #------------------------------------------------- EXTRUDER ------------------------------------------------- # The extruder motor used on your toolhead #------------------------------------------------------------------------------------------------------------ [extruder] dir_pin: !toolboard_t0:e_dir_pin # Remove ! in front of pin name to reverse the direction of extruder rotation_distance: 7.68 # Bondtech BMG default #pressure_advance: 0.05 # Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning. #control: pid #pid_kp: 28.413 #pid_ki: 1.334 #pid_kd: 151.300 [heater_bed] control: pid pid_Kp: 22.2 pid_Ki: 1.08 pid_Kd: 114 # BLTouch configuration [bltouch] control_pin: toolboard_t0:bltouch_control_pin sensor_pin: ^toolboard_t0:bltouch_sensor_pin #z_offset: 0 #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [bltouch] #*# z_offset = 4.050 #*# #*# [bed_mesh default] #*# version = 1 #*# points = #*# 0.281875, 0.165000, 0.061250, -0.002500, -0.086250, -0.150000, -0.252500 #*# 0.245625, 0.122500, 0.037500, -0.021875, -0.067500, -0.144375, -0.219375 #*# 0.213125, 0.115000, 0.022500, -0.025625, -0.039375, -0.119375, -0.220000 #*# 0.151250, 0.087500, 0.010625, -0.028125, -0.079375, -0.087500, -0.195625 #*# 0.146875, 0.107500, 0.093750, 0.034375, 0.005625, -0.036250, -0.148125 #*# 0.090000, 0.036250, 0.070000, 0.035625, 0.017500, 0.017500, -0.048750 #*# 0.130000, 0.118125, 0.104375, 0.101875, 0.111875, 0.120625, 0.091250 #*# x_count = 7 #*# y_count = 7 #*# mesh_x_pps = 2 #*# mesh_y_pps = 2 #*# algo = bicubic #*# tension = 0.2 #*# min_x = 20.0 #*# max_x = 264.98 #*# min_y = 20.0 #*# max_y = 260.0 #*# #*# [bed_mesh ratos] #*# version = 1 #*# points = #*# 0.266875, 0.228750, 0.230000 #*# 0.372500, 0.335000, 0.316875 #*# 0.305000, 0.326875, 0.311250 #*# 0.161875, 0.186875, 0.210000 #*# x_count = 3 #*# y_count = 4 #*# mesh_x_pps = 2 #*# mesh_y_pps = 2 #*# algo = lagrange #*# tension = 0.2 #*# min_x = 110.63 #*# max_x = 189.37 #*# min_y = 104.85 #*# max_y = 259.98 #*# #*# [extruder] #*# control = pid #*# pid_kp = 15.500 #*# pid_ki = 1.065 #*# pid_kd = 56.380