############################################################################################################# ### 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: run BEACON_RATOS_CALIBRATE to automatically calibrate your beacon for scan and contact. ### IMPORTANT: Ensure the beacon is properly mounted and the nozzle and meltzone is clean by unloading ### the filament (if it's loaded) and make sure there's no ooze or gunk on the nozzle when the hotend is at printing temperature. ### 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 ############################################################################################################# #---------------------------------------------------- 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: 400 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: 400 position_endstop: 400 #---------------------------------------------------- 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: 4 # 4 for TR8*4 lead screws homing_speed: 10 position_min: -5 position_max: 400 #---------------------------------------------------- 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: 4 # 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: 4 # 4 for TR8*4 lead screws #------------------------------------------------- EXTRUDER ------------------------------------------------- # The extruder motor used for pushing filament through the toolhead #------------------------------------------------------------------------------------------------------------ [extruder] dir_pin: e_dir_pin # Remove ! in front of pin name to reverse the direction of extruder rotation_distance: 4.63 # Orbiter 2 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 [ratos] allow_unsupported_slicer_versions: True [heater_bed] #control: pid #pid_Kp: 22.2 #pid_Ki: 1.08 #pid_Kd: 114 # REMEMBER TO CALIBRATE YOUR BEACON! # Run BEACON_RATOS_CALIBRATE for automatic calibration. #*# <---------------------- SAVE_CONFIG ----------------------> #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. #*# #*# [beacon model default] #*# model_coef = 1.5975172865329332, #*# 1.8726784132361896, #*# 0.6831908541506015, #*# 0.297670351398316, #*# 0.4699880587349227, #*# 0.5520901004060271, #*# -0.40858060855718514, #*# -0.6362173357828864, #*# 0.2592637565485284, #*# 0.31623607693923433 #*# model_domain = 1.8747764188876422e-07,1.9340701041867548e-07 #*# model_range = 0.200000,5.000000 #*# model_temp = 19.463708 #*# model_offset = 0.00000 #*# #*# [extruder] #*# #*# [heater_bed] #*# control = pid #*# pid_kp = 45.195 #*# pid_ki = 0.924 #*# pid_kd = 552.512 #*# #*# [bed_mesh default] #*# version = 1 #*# points = #*# 0.060350, 0.031948, 0.008738, 0.016736, 0.020911, 0.011556, -0.013557 #*# -0.002940, -0.004741, -0.017998, 0.006811, 0.020636, 0.027188, -0.003061 #*# -0.078209, -0.056978, -0.045222, -0.009239, 0.016702, 0.023429, 0.001748 #*# -0.155493, -0.108668, -0.075914, -0.027166, 0.005117, 0.023854, 0.012593 #*# -0.231351, -0.164361, -0.115840, -0.054250, -0.004875, 0.011488, 0.016084 #*# -0.285261, -0.206991, -0.146050, -0.073197, -0.022497, 0.018488, 0.025740 #*# -0.318983, -0.222179, -0.141595, -0.070690, -0.018915, 0.010276, 0.034283 #*# 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 = 365.0 #*# min_y = 30.0 #*# max_y = 360.0