Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # Rat Rig V-core 3 Klipper Config
- # Documentation: https://os.ratrig.com
- # 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
- #############################################################################################################
- ### CONTROL BOARD
- ### Pick the board you have installed and wired in your printer.
- #############################################################################################################
- # [include config/boards/btt-skr-pro-12/config.cfg]
- [include config/boards/btt-octopus-11/config.cfg]
- #[include config/boards/btt-octopus-pro-446/config.cfg]
- #[include config/boards/btt-octopus-pro-429/config.cfg]
- #[include config/boards/fysetc-spider/config.cfg]
- #############################################################################################################
- ### BASE SETUP
- #############################################################################################################
- [include config/printers/v-core-3/v-core-3.cfg]
- #############################################################################################################
- ### STEPPER MOTORS, DRIVERS & SPEED LIMITS
- ### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations.
- #############################################################################################################
- [include config/printers/v-core-3/steppers.cfg]
- # UNCOOLED TMC 2209 + LDO-42STH48-2504AC
- #[include config/printers/v-core-3/speed-limits-basic.cfg]
- #[include config/printers/v-core-3/tmc2209.cfg]
- #[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg]
- # COOLED TMC 2209 + LDO-42STH48-2504AC
- # This increases motor torque, positional accuracy and speed limits.
- # don't enable this before your printer is fully configured and you have a fan blowing on your stepper drivers.
- [include config/printers/v-core-3/speed-limits-performance.cfg]
- [include config/printers/v-core-3/tmc2209-performance.cfg]
- [include config/steppers/ldo/42sth48-2504ac/2209/24v-1.6a-*.cfg]
- # STEALTH MODE (Enables stealthchop and limits velocity and acceleration)
- # NOTE: You still need to include one of the above stepper motor definitions.
- # NOTE: This will make your printer quiter but less accurate, it's an inherent side effect of stealthchop.
- #[include config/printers/v-core-3/speed-limits-stealth.cfg]
- #[include config/printers/v-core-3/tmc2209-stealth.cfg]
- #############################################################################################################
- ### HOMING
- ### Pick your probe and endstops
- #############################################################################################################
- # BL Touch
- # [include config/z-probe/bltouch.cfg]
- # Inductive/Capacitive probe
- [include config/z-probe/probe.cfg]
- # Physical endstops
- [include config/printers/v-core-3/physical-endstops.cfg]
- # Sensorless homing (Beware: this requires manual tinkering and does not work if your x/y stepper drivers
- # have clipped DIAG pins). It is strongly encouraged to use physical endstops if you're a beginner.
- # If you still wish to proceed, copy config/templates/sensorless-homing-tmc2209.cfg to the root directory and
- # remove the # from the line below.
- #[include sensorless-homing-tmc2209.cfg]
- #############################################################################################################
- ### PHYSICAL DIMENSIONS
- ### Pick your printer size
- #############################################################################################################
- # Remove the # from your printer size below.
- # Similarly add a # in front of [include config/printers/v-core-3/300.cfg] if you have a bigger machine.
- #[include config/printers/v-core-3/300.cfg]
- [include config/printers/v-core-3/400.cfg]
- #[include config/printers/v-core-3/500.cfg]
- #############################################################################################################
- ### INPUT SHAPER
- ### Enable/disable input shaper calibration
- #############################################################################################################
- # Uncomment this next line if you have an ADXL345 connected to your control board
- [include config/printers/v-core-3/input-shaper.cfg]
- #############################################################################################################
- ### TOOLHEAD
- ### Pick your extruder and hotend
- #############################################################################################################
- # Extruder
- # [include config/extruders/bmg.cfg]
- # [include config/extruders/lgx.cfg]
- [include config/extruders/lgx-lite.cfg]
- #[include config/extruders/orbiter.cfg]
- #[include config/extruders/orbiter-1004.cfg] # Use this with the LDO-36STH20-1004AHG motor
- #[include config/extruders/hemera.cfg]
- #[include config/extruders/titan.cfg]
- # Hotend
- # [include config/hotends/v6.cfg]
- #[include config/hotends/dragonfly.cfg]
- [include config/hotends/rapido.cfg]
- #[include config/hotends/copperhead.cfg]
- #[include config/hotends/mosquito.cfg]
- #[include config/hotends/mosquito-magnum.cfg]
- #[include config/hotends/dragon-standard-flow.cfg]
- #[include config/hotends/dragon-high-flow.cfg]
- #############################################################################################################
- ### MACROS
- #############################################################################################################
- [include config/macros.cfg]
- [include config/shell-macros.cfg]
- [include config/printers/v-core-3/macros.cfg]
- #############################################################################################################
- ### MACRO CONFIGURATION
- ### Configure the behavior of RatOS macros
- #############################################################################################################
- [gcode_macro RatOS]
- # Use absolute extrusion mode
- # Set to True to use relative extrusion mode
- variable_relative_extrusion: False
- # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp.
- # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle.
- # Set to False to disable
- variable_preheat_extruder: True
- # Calibrate the bed mesh in the START_PRINT macro.
- # Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH
- # with the name "ratos", be sure to save your bed_mesh profile with that name.
- # or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic.
- variable_calibrate_bed_mesh: False
- # Print a prime line or blob at the end of the START_PRINT macro
- # set to "primeline" or "primeblob", or False to disable nozzle_priming.
- variable_nozzle_priming: "primeline"
- # Park in the back when waiting for the extruder to heat up
- # set to "front" to park in the front, or "center" to park in the center.
- variable_start_print_park_in: "center"
- # Height to park it when waiting for extruder to heat.
- variable_start_print_park_z_height: 50
- # Skew profile to load before starting the print
- # uncomment this to use your calibrated skew correction profile.
- #variable_skew_profile: "my_skew_profile"
- # Park in the back after the print has ended or was cancelled.
- # set to "front" to park in the front, or "center" to park in the center.
- variable_end_print_park_in: "back"
- # Park in the back when the print is paused.
- # set to "front" to park in the front, or "center" to park in the center.
- variable_pause_print_park_in: "back"
- # Set the speed for travel moves in RatOS Macros in mm/s.
- variable_macro_travel_speed: 300
- #############################################################################################################
- ### PRINTER CONFIGURATION
- ### Customize the defaults to your specific build
- #############################################################################################################
- [stepper_x]
- dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction
- rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys
- position_endstop: 0 # Adjust this to your setup
- [stepper_y]
- dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction
- rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys
- #position_endstop: 300 # 300mm printer
- position_endstop: 400 # 400mm printer
- #position_endstop: 500 # 500mm printer
- [stepper_z]
- dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction
- rotation_distance: 4 # 4 for TR8*4 lead screws
- [stepper_z1]
- dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction
- rotation_distance: 4 # 4 for TR8*4 lead screws
- [stepper_z2]
- dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction
- rotation_distance: 4 # 4 for TR8*4 lead screws
- # Z Probe configuration
- # [bltouch]
- # z_offset: 0.0 # Adjust this to fit your setup
- [probe]
- #z_offset: 0.0 # Adjust this to fit your setup
- pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes.
- #pin: ^!probe_pin # NPN NO (refer to the specs on your probe)
- #pin: probe_pin # PNP NO (refer to the specs on your probe)
- #pin: !probe_pin # PNP NC (refer to the specs on your probe)
- # Safe Z Home (Physical endstops only)
- [safe_z_home]
- #home_xy_position: 150,150 # 300mm printer
- home_xy_position: 200,200 # 400mm printer
- #home_xy_position: 250,250 # 500mm printer
- [extruder]
- # Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning.
- #pressure_advance: 0.05
- nozzle_diameter: 0.6 # Remember to change this if you change nozzle diameter.
- dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction
- control: pid
- pid_kp: 28.413
- pid_ki: 1.334
- pid_kd: 151.300
- #pressure_advance: 0.135
- #pressure_advance: 0.075
- pressure_advance: 0.1
- #max_extrude_cross_section: 0.8 # Default 4 * nozzle_diam^2, this is 5 * nozzle_diam^2
- max_extrude_cross_section: 2.0
- [heater_bed]
- control: pid
- pid_Kp: 22.2
- pid_Ki: 1.08
- pid_Kd: 114
- # ADXL345 resonance testing configuration
- #[resonance_tester]
- #probe_points:
- # 150,150,20 # 300mm printer
- # 200,200,20 # 400mm printer
- # 250,250,20 # 500mm printer
- # [probe]
- # z_offset = 1.850
- #############################################################################################################
- ### USER OVERRIDES
- ### Anything custom you want to add, or RatOS configuration you want to override, do it here.
- #############################################################################################################
- [tmc2209 stepper_x]
- #driver_SGTHRS: 255 # Stall guard threshold, this is your X sensitivity, to adjust, copy this section and override it in printer.cfg.
- run_current: 2.0
- [tmc2209 stepper_y]
- #driver_SGTHRS: 255 # Stall guard threshold, this is your Y sensitivity, to adjust, copy this section and override it in printer.cfg.
- run_current: 2.0
- [tmc2209 extruder]
- interpolate: False
- run_current: 0.85
- stealthchop_threshold: 0
- driver_TBL: 0
- driver_HEND: 6
- driver_HSTRT: 7
- driver_TOFF: 4
- [gcode_macro JOG_HEAD]
- description: Jog head
- gcode:
- G1 X50 Y50 F15000
- G1 X350
- G1 Y350
- G1 X50 Y50
- G1 Y350
- G1 X350 Y50
- G1 X50 Y350
- G28
- [input_shaper]
- shaper_freq_x: 77.4
- shaper_type_x: zv
- shaper_freq_y: 44.6
- shaper_type_y: mzv
- [printer]
- max_accel: 5800
- max_accel_to_decel: 2900
- [probe]
- # z_offset = 1.770 # 0.4mm hf nozzle
- #z_offset = 1.370
- z_offset = 1.54
- z_offset = 1.38
- z_offset = 1.45
- [bed_mesh]
- speed: 500
- probe_count: 15,15
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [bed_mesh ratos]
- #*# version = 1
- #*# points =
- #*# 0.024226, -0.011399, -0.024836, -0.042961, -0.058586, -0.065774, -0.067024, -0.059211, -0.054524, -0.047336, -0.030461, -0.020461, 0.003914, 0.059851, 0.110164
- #*# 0.023914, -0.024836, -0.050774, -0.063586, -0.068274, -0.076399, -0.072961, -0.067649, -0.065461, -0.065774, -0.052024, -0.027961, -0.007961, 0.034539, 0.097664
- #*# 0.009226, -0.046086, -0.067336, -0.081086, -0.096399, -0.104524, -0.111086, -0.128586, -0.105461, -0.100461, -0.093274, -0.070461, -0.056711, -0.014211, 0.035476
- #*# -0.035774, -0.089836, -0.111086, -0.112024, -0.131399, -0.144836, -0.149211, -0.154836, -0.140461, -0.128274, -0.109836, -0.103274, -0.091711, -0.044211, -0.004211
- #*# -0.052024, -0.102961, -0.116399, -0.125774, -0.144524, -0.155461, -0.168586, -0.174836, -0.162649, -0.146711, -0.139836, -0.132961, -0.103899, -0.081086, -0.045149
- #*# -0.070149, -0.122649, -0.140149, -0.142024, -0.152024, -0.165149, -0.182024, -0.179836, -0.165149, -0.153586, -0.141086, -0.129836, -0.105461, -0.084836, -0.046399
- #*# -0.077024, -0.121399, -0.132649, -0.147024, -0.174836, -0.187024, -0.194211, -0.192024, -0.186086, -0.176711, -0.152024, -0.137961, -0.126711, -0.100774, -0.058274
- #*# -0.083586, -0.138586, -0.157336, -0.172961, -0.190461, -0.200774, -0.211711, -0.217961, -0.207649, -0.192649, -0.178586, -0.172024, -0.154836, -0.126086, -0.081086
- #*# -0.068586, -0.113274, -0.121711, -0.135774, -0.156711, -0.178899, -0.187024, -0.197024, -0.174524, -0.153899, -0.146086, -0.150461, -0.134524, -0.106399, -0.065774
- #*# -0.063274, -0.100461, -0.107649, -0.117336, -0.139211, -0.154211, -0.165774, -0.166399, -0.152961, -0.140461, -0.135774, -0.141399, -0.121399, -0.095461, -0.051399
- #*# -0.036086, -0.076399, -0.080149, -0.099524, -0.112649, -0.125774, -0.129211, -0.131711, -0.116399, -0.106086, -0.106711, -0.114836, -0.102649, -0.064836, -0.026086
- #*# -0.020774, -0.060461, -0.061086, -0.081399, -0.093586, -0.102961, -0.101399, -0.106711, -0.094836, -0.086711, -0.079211, -0.082961, -0.068586, -0.038586, -0.005774
- #*# 0.003914, -0.028586, -0.033274, -0.037024, -0.050774, -0.061399, -0.074524, -0.078899, -0.071086, -0.072961, -0.074836, -0.071086, -0.062961, -0.038899, -0.000774
- #*# 0.023289, -0.009524, -0.003274, -0.007336, -0.026399, -0.032961, -0.045461, -0.052649, -0.044211, -0.035774, -0.037961, -0.038586, -0.033586, -0.017024, 0.016726
- #*# 0.074539, 0.051414, 0.061414, 0.049851, 0.025164, 0.014851, 0.006101, 0.001726, 0.005789, 0.009851, 0.007976, 0.001101, 0.000476, 0.019851, 0.043289
- #*# tension = 0.2
- #*# min_x = 20.0
- #*# algo = bicubic
- #*# y_count = 15
- #*# mesh_y_pps = 2
- #*# min_y = 20.0
- #*# x_count = 15
- #*# max_y = 359.92
- #*# mesh_x_pps = 2
- #*# max_x = 364.96
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement