Advertisement
cetex

Untitled

May 13th, 2022
124
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 14.90 KB | None | 0 0
  1. # Rat Rig V-core 3 Klipper Config
  2. # Documentation: https://os.ratrig.com
  3.  
  4. # The first thing you'll need to do is go through this file and comment out / uncomment
  5. # the files and/or settings you need.
  6. # You'll be able to print just fine with this config as it is, but it is recommended
  7. # that you follow these steps to properly calibrate your printer:
  8. # 0) Sanity check and PID Tuning: https://www.klipper3d.org/Config_checks.html
  9. # 1) Pressure Advance: https://www.klipper3d.org/Pressure_Advance.html
  10. # 2) Skew Correction: https://www.klipper3d.org/Skew_Correction.html
  11. # 3) Resonance Compensation: https://www.klipper3d.org/Resonance_Compensation.html
  12.  
  13. # Read more about klipper here: https://www.klipper3d.org/Overview.html
  14.  
  15. #############################################################################################################
  16. ### CONTROL BOARD
  17. ### Pick the board you have installed and wired in your printer.
  18. #############################################################################################################
  19. # [include config/boards/btt-skr-pro-12/config.cfg]
  20. [include config/boards/btt-octopus-11/config.cfg]
  21. #[include config/boards/btt-octopus-pro-446/config.cfg]
  22. #[include config/boards/btt-octopus-pro-429/config.cfg]
  23. #[include config/boards/fysetc-spider/config.cfg]
  24.  
  25.  
  26. #############################################################################################################
  27. ### BASE SETUP
  28. #############################################################################################################
  29. [include config/printers/v-core-3/v-core-3.cfg]
  30.  
  31. #############################################################################################################
  32. ### STEPPER MOTORS, DRIVERS & SPEED LIMITS
  33. ### Pick the drivers and stepper motors you're using. See the RatOS documentation for custom combinations.
  34. #############################################################################################################
  35. [include config/printers/v-core-3/steppers.cfg]
  36.  
  37. # UNCOOLED TMC 2209 + LDO-42STH48-2504AC
  38. #[include config/printers/v-core-3/speed-limits-basic.cfg]
  39. #[include config/printers/v-core-3/tmc2209.cfg]
  40. #[include config/steppers/ldo/42sth48-2504ac/2209/24v-1.1a-*.cfg]
  41.  
  42. # COOLED TMC 2209 + LDO-42STH48-2504AC
  43. # This increases motor torque, positional accuracy and speed limits.
  44. # don't enable this before your printer is fully configured and you have a fan blowing on your stepper drivers.
  45. [include config/printers/v-core-3/speed-limits-performance.cfg]
  46. [include config/printers/v-core-3/tmc2209-performance.cfg]
  47. [include config/steppers/ldo/42sth48-2504ac/2209/24v-1.6a-*.cfg]
  48.  
  49. # STEALTH MODE (Enables stealthchop and limits velocity and acceleration)
  50. # NOTE: You still need to include one of the above stepper motor definitions.
  51. # NOTE: This will make your printer quiter but less accurate, it's an inherent side effect of stealthchop.
  52. #[include config/printers/v-core-3/speed-limits-stealth.cfg]
  53. #[include config/printers/v-core-3/tmc2209-stealth.cfg]
  54.  
  55. #############################################################################################################
  56. ### HOMING
  57. ### Pick your probe and endstops
  58. #############################################################################################################
  59. # BL Touch
  60. # [include config/z-probe/bltouch.cfg]
  61. # Inductive/Capacitive probe
  62. [include config/z-probe/probe.cfg]
  63.  
  64. # Physical endstops
  65. [include config/printers/v-core-3/physical-endstops.cfg]
  66. # Sensorless homing (Beware: this requires manual tinkering and does not work if your x/y stepper drivers
  67. # have clipped DIAG pins). It is strongly encouraged to use physical endstops if you're a beginner.
  68. # If you still wish to proceed, copy config/templates/sensorless-homing-tmc2209.cfg to the root directory and
  69. # remove the # from the line below.
  70. #[include sensorless-homing-tmc2209.cfg]
  71.  
  72.  
  73. #############################################################################################################
  74. ### PHYSICAL DIMENSIONS
  75. ### Pick your printer size
  76. #############################################################################################################
  77. # Remove the # from your printer size below.
  78. # Similarly add a # in front of [include config/printers/v-core-3/300.cfg] if you have a bigger machine.
  79. #[include config/printers/v-core-3/300.cfg]
  80. [include config/printers/v-core-3/400.cfg]
  81. #[include config/printers/v-core-3/500.cfg]
  82.  
  83.  
  84. #############################################################################################################
  85. ### INPUT SHAPER
  86. ### Enable/disable input shaper calibration
  87. #############################################################################################################
  88. # Uncomment this next line if you have an ADXL345 connected to your control board
  89. [include config/printers/v-core-3/input-shaper.cfg]
  90.  
  91.  
  92. #############################################################################################################
  93. ### TOOLHEAD
  94. ### Pick your extruder and hotend
  95. #############################################################################################################
  96. # Extruder
  97. # [include config/extruders/bmg.cfg]
  98. # [include config/extruders/lgx.cfg]
  99. [include config/extruders/lgx-lite.cfg]
  100. #[include config/extruders/orbiter.cfg]
  101. #[include config/extruders/orbiter-1004.cfg] # Use this with the LDO-36STH20-1004AHG motor
  102. #[include config/extruders/hemera.cfg]
  103. #[include config/extruders/titan.cfg]
  104.  
  105. # Hotend
  106. # [include config/hotends/v6.cfg]
  107. #[include config/hotends/dragonfly.cfg]
  108. [include config/hotends/rapido.cfg]
  109. #[include config/hotends/copperhead.cfg]
  110. #[include config/hotends/mosquito.cfg]
  111. #[include config/hotends/mosquito-magnum.cfg]
  112. #[include config/hotends/dragon-standard-flow.cfg]
  113. #[include config/hotends/dragon-high-flow.cfg]
  114.  
  115.  
  116. #############################################################################################################
  117. ### MACROS
  118. #############################################################################################################
  119. [include config/macros.cfg]
  120. [include config/shell-macros.cfg]
  121. [include config/printers/v-core-3/macros.cfg]
  122.  
  123.  
  124. #############################################################################################################
  125. ### MACRO CONFIGURATION
  126. ### Configure the behavior of RatOS macros
  127. #############################################################################################################
  128. [gcode_macro RatOS]
  129. # Use absolute extrusion mode
  130. # Set to True to use relative extrusion mode
  131. variable_relative_extrusion: False
  132. # Wait for extruder to reach 150 so an inductive probe (if present) is at a predictable temp.
  133. # Also allows the bed heat to spread a little, and softens any plastic that might be stuck to the nozzle.
  134. # Set to False to disable
  135. variable_preheat_extruder: True
  136. # Calibrate the bed mesh in the START_PRINT macro.
  137. # Set to false to skip BED_MESH_CALIBRATE, it will still load the BED_MESH
  138. # with the name "ratos", be sure to save your bed_mesh profile with that name.
  139. # or override the _START_PRINT_BED_MESH macro to implement your own mesh handling logic.
  140. variable_calibrate_bed_mesh: False
  141. # Print a prime line or blob at the end of the START_PRINT macro
  142. # set to "primeline" or "primeblob", or False to disable nozzle_priming.
  143. variable_nozzle_priming: "primeline"
  144. # Park in the back when waiting for the extruder to heat up
  145. # set to "front" to park in the front, or "center" to park in the center.
  146. variable_start_print_park_in: "center"
  147. # Height to park it when waiting for extruder to heat.
  148. variable_start_print_park_z_height: 50
  149. # Skew profile to load before starting the print
  150. # uncomment this to use your calibrated skew correction profile.
  151. #variable_skew_profile: "my_skew_profile"
  152. # Park in the back after the print has ended or was cancelled.
  153. # set to "front" to park in the front, or "center" to park in the center.
  154. variable_end_print_park_in: "back"
  155. # Park in the back when the print is paused.
  156. # set to "front" to park in the front, or "center" to park in the center.
  157. variable_pause_print_park_in: "back"
  158. # Set the speed for travel moves in RatOS Macros in mm/s.
  159. variable_macro_travel_speed: 300
  160.  
  161.  
  162. #############################################################################################################
  163. ### PRINTER CONFIGURATION
  164. ### Customize the defaults to your specific build
  165. #############################################################################################################
  166. [stepper_x]
  167. dir_pin: x_dir_pin # Add ! in front of pin name to reverse X stepper direction
  168. rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys
  169. position_endstop: 0 # Adjust this to your setup
  170.  
  171. [stepper_y]
  172. dir_pin: y_dir_pin # Add ! in front of pin name to reverse Y stepper direction
  173. rotation_distance: 40 # 40 for 20 tooth 2GT pulleys, 32 for 16 tooth 2GT pulleys
  174. #position_endstop: 300 # 300mm printer
  175. position_endstop: 400 # 400mm printer
  176. #position_endstop: 500 # 500mm printer
  177.  
  178. [stepper_z]
  179. dir_pin: !z0_dir_pin # Add ! in front of pin name to reverse Z stepper direction
  180. rotation_distance: 4 # 4 for TR8*4 lead screws
  181.  
  182. [stepper_z1]
  183. dir_pin: !z1_dir_pin # Add ! in front of pin name to reverse Z1 direction
  184. rotation_distance: 4 # 4 for TR8*4 lead screws
  185.  
  186. [stepper_z2]
  187. dir_pin: !z2_dir_pin # Add ! in front of pin name to reverse Z2 direction
  188. rotation_distance: 4 # 4 for TR8*4 lead screws
  189.  
  190. # Z Probe configuration
  191. # [bltouch]
  192. # z_offset: 0.0 # Adjust this to fit your setup
  193. [probe]
  194. #z_offset: 0.0 # Adjust this to fit your setup
  195. pin: ^probe_pin # For NPN NC probes such as the Super Pinda / Vinda / SupCR / Decoprobe probes.
  196. #pin: ^!probe_pin # NPN NO (refer to the specs on your probe)
  197. #pin: probe_pin # PNP NO (refer to the specs on your probe)
  198. #pin: !probe_pin # PNP NC (refer to the specs on your probe)
  199.  
  200. # Safe Z Home (Physical endstops only)
  201. [safe_z_home]
  202. #home_xy_position: 150,150 # 300mm printer
  203. home_xy_position: 200,200 # 400mm printer
  204. #home_xy_position: 250,250 # 500mm printer
  205.  
  206. [extruder]
  207. # Check https://www.klipper3d.org/Pressure_Advance.html for pressure advance tuning.
  208. #pressure_advance: 0.05
  209. nozzle_diameter: 0.6 # Remember to change this if you change nozzle diameter.
  210. dir_pin: e_dir_pin # Remove ! in front of pin name to reverse extruder direction
  211. control: pid
  212. pid_kp: 28.413
  213. pid_ki: 1.334
  214. pid_kd: 151.300
  215. #pressure_advance: 0.135
  216. #pressure_advance: 0.075
  217. pressure_advance: 0.1
  218. #max_extrude_cross_section: 0.8 # Default 4 * nozzle_diam^2, this is 5 * nozzle_diam^2
  219. max_extrude_cross_section: 2.0
  220.  
  221. [heater_bed]
  222. control: pid
  223. pid_Kp: 22.2
  224. pid_Ki: 1.08
  225. pid_Kd: 114
  226.  
  227. # ADXL345 resonance testing configuration
  228. #[resonance_tester]
  229. #probe_points:
  230. # 150,150,20 # 300mm printer
  231. # 200,200,20 # 400mm printer
  232. # 250,250,20 # 500mm printer
  233.  
  234. # [probe]
  235. # z_offset = 1.850
  236.  
  237. #############################################################################################################
  238. ### USER OVERRIDES
  239. ### Anything custom you want to add, or RatOS configuration you want to override, do it here.
  240. #############################################################################################################
  241.  
  242. [tmc2209 stepper_x]
  243. #driver_SGTHRS: 255 # Stall guard threshold, this is your X sensitivity, to adjust, copy this section and override it in printer.cfg.
  244. run_current: 2.0
  245.  
  246. [tmc2209 stepper_y]
  247. #driver_SGTHRS: 255 # Stall guard threshold, this is your Y sensitivity, to adjust, copy this section and override it in printer.cfg.
  248. run_current: 2.0
  249.  
  250. [tmc2209 extruder]
  251. interpolate: False
  252. run_current: 0.85
  253. stealthchop_threshold: 0
  254. driver_TBL: 0
  255. driver_HEND: 6
  256. driver_HSTRT: 7
  257. driver_TOFF: 4
  258.  
  259. [gcode_macro JOG_HEAD]
  260. description: Jog head
  261. gcode:
  262. G1 X50 Y50 F15000
  263. G1 X350
  264. G1 Y350
  265. G1 X50 Y50
  266. G1 Y350
  267. G1 X350 Y50
  268. G1 X50 Y350
  269. G28
  270.  
  271. [input_shaper]
  272. shaper_freq_x: 77.4
  273. shaper_type_x: zv
  274. shaper_freq_y: 44.6
  275. shaper_type_y: mzv
  276.  
  277. [printer]
  278. max_accel: 5800
  279. max_accel_to_decel: 2900
  280.  
  281. [probe]
  282. # z_offset = 1.770 # 0.4mm hf nozzle
  283. #z_offset = 1.370
  284. z_offset = 1.54
  285. z_offset = 1.38
  286. z_offset = 1.45
  287.  
  288. [bed_mesh]
  289. speed: 500
  290. probe_count: 15,15
  291.  
  292. #*# <---------------------- SAVE_CONFIG ---------------------->
  293. #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
  294. #*#
  295. #*# [bed_mesh ratos]
  296. #*# version = 1
  297. #*# points =
  298. #*# 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
  299. #*# 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
  300. #*# 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
  301. #*# -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
  302. #*# -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
  303. #*# -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
  304. #*# -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
  305. #*# -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
  306. #*# -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
  307. #*# -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
  308. #*# -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
  309. #*# -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
  310. #*# 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
  311. #*# 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
  312. #*# 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
  313. #*# tension = 0.2
  314. #*# min_x = 20.0
  315. #*# algo = bicubic
  316. #*# y_count = 15
  317. #*# mesh_y_pps = 2
  318. #*# min_y = 20.0
  319. #*# x_count = 15
  320. #*# max_y = 359.92
  321. #*# mesh_x_pps = 2
  322. #*# max_x = 364.96
  323.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement