diff --git a/.VERSION b/.VERSION new file mode 100644 index 0000000..3446c4b --- /dev/null +++ b/.VERSION @@ -0,0 +1 @@ +a20763997ef134cb24b401cb071eac245126f724 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..6ccdec9 --- /dev/null +++ b/.gitignore @@ -0,0 +1,2 @@ +saved_variables.cfg +K-ShakeTune_results/ diff --git a/.moonraker.conf.bkp b/.moonraker.conf.bkp new file mode 100644 index 0000000..ee8495e --- /dev/null +++ b/.moonraker.conf.bkp @@ -0,0 +1,87 @@ +[server] +host = 0.0.0.0 +port = 7125 +klippy_uds_address = {data_path}/comms/klippy.sock +max_upload_size = 1024 + +[machine] +provider = systemd_dbus + +[data_store] +temperature_store_size = 1200 +gcode_store_size = 1000 + +[authorization] +force_logins = False +cors_domains = + *.local + *.lan + *://app.fluidd.xyz + *://dev-app.fluidd.xyz + *://my.mainsail.xyz +trusted_clients = + 10.0.0.0/8 + 127.0.0.0/8 + 169.254.0.0/16 + 172.16.0.0/12 + 192.168.0.0/16 + FE80::/10 + ::1/128 + +[history] + +[octoprint_compat] + +[update_manager] +enable_auto_refresh = True + +[update_manager Klippain] +type = git_repo +path = ~/klippain_config +origin = https://github.com/Frix-x/klippain.git +primary_branch = main +managed_services = moonraker klipper +install_script = install.sh + +[file_manager] +enable_object_processing = True + +[update_manager beacon] +type = git_repo +channel = dev +path = ~/beacon_klipper +origin = https://github.com/beacon3d/beacon_klipper.git +env = ~/klippy-env/bin/python +requirements = requirements.txt +install_script = install.sh +is_system_service = False +managed_services = klipper +info_tags = + desc=Beacon Surface Scanner + +[update_manager Klippain-ShakeTune] +type = git_repo +origin = https://github.com/Frix-x/klippain-shaketune.git +path = ~/klippain_shaketune +virtualenv = ~/klippain_shaketune-env +requirements = requirements.txt +system_dependencies = system-dependencies.json +primary_branch = main +managed_services = klipper + +[update_manager crowsnest] +type = git_repo +path = ~/crowsnest +origin = https://github.com/mainsail-crew/crowsnest.git +install_script = tools/pkglist.sh + +[update_manager moonraker-obico] +type = git_repo +path = /home/pi/moonraker-obico +origin = https://github.com/TheSpaghettiDetective/moonraker-obico.git +env = /home/pi/moonraker-obico/../moonraker-obico-env/bin/python +requirements = requirements.txt +install_script = install.sh +managed_services = + moonraker-obico + diff --git a/autocommit.sh b/autocommit.sh new file mode 100755 index 0000000..f2df91e --- /dev/null +++ b/autocommit.sh @@ -0,0 +1,84 @@ +#!/bin/bash + +####################################################################### +## NOTE: This script originates from here but I tweaked the pull ## +## command, changed default location for backup, and added a comment ## +## for reference later. ## +####################################################################### + +##################################################################### +### Please set the paths accordingly. In case you don't have all ### +### the listed folders, just keep that line commented out. ### +##################################################################### +### Path to your config folder you want to backup +config_folder=~/printer_data/config + +# NOTE: The above should work for just about everyone, but a somewhat +# recent update to moonraker changed paths, etc. You can run the +# provided moonraker script 'data-path-fix.sh' to fix/update +# older installs + +### Path to your Klipper folder, by default that is '~/klipper' +klipper_folder=~/klipper + +### Path to your Moonraker folder, by default that is '~/moonraker' +moonraker_folder=~/moonraker + +### Path to your Mainsail folder, by default that is '~/mainsail' +mainsail_folder=~/mainsail + +### Path to your Fluidd folder, by default that is '~/fluidd' +#fluidd_folder=~/fluidd + +### The branch of the repository that you want to save your config +### By default that is 'main' +branch=main + +##################################################################### +##################################################################### + + +##################################################################### +################ !!! DO NOT EDIT BELOW THIS LINE !!! ################ +##################################################################### +grab_version(){ + if [ ! -z "$klipper_folder" ]; then + cd "$klipper_folder" + klipper_commit=$(git rev-parse --short=7 HEAD) + m1="Klipper on commit: $klipper_commit" + cd .. + fi + if [ ! -z "$moonraker_folder" ]; then + cd "$moonraker_folder" + moonraker_commit=$(git rev-parse --short=7 HEAD) + m2="Moonraker on commit: $moonraker_commit" + cd .. + fi + if [ ! -z "$mainsail_folder" ]; then + mainsail_ver=$(head -n 1 $mainsail_folder/.version) + m3="Mainsail version: $mainsail_ver" + fi + if [ ! -z "$fluidd_folder" ]; then + fluidd_ver=$(head -n 1 $fluidd_folder/.version) + m4="Fluidd version: $fluidd_ver" + fi +} + +# To fully automate this and not have to deal with auth issues, generate a legacy token on Github +# then update the command below to use the token. Run the command in your base directory and it will +# handle auth. This should just be executed in your shell and not committed to any files or +# Github will revoke the token. =) +# git remote set-url origin https://XXXXXXXXXXX@github.com/EricZimmerman/Voron24Configs.git/ +# Note that that format is for changing things after the repository is in use, vs initially + +push_config(){ + cd $config_folder + git pull origin $branch --no-rebase + git add . + current_date=$(date +"%Y-%m-%d %T") + git commit -m "Autocommit from $current_date" -m "$m1" -m "$m2" -m "$m3" -m "$m4" + git push origin $branch +} + +grab_version +push_config diff --git a/config b/config new file mode 120000 index 0000000..03b3cb5 --- /dev/null +++ b/config @@ -0,0 +1 @@ +/home/pi/klippain_config/config \ No newline at end of file diff --git a/config_backup.cfg b/config_backup.cfg new file mode 100644 index 0000000..ec56d7c --- /dev/null +++ b/config_backup.cfg @@ -0,0 +1,9 @@ +[gcode_shell_command backup_cfg] +command: /usr/bin/bash /home/pi/printer_data/config/autocommit.sh +timeout: 120 +verbose: True + +[gcode_macro BACKUP_CFG] +description: Backs up config directory GitHub +gcode: + RUN_SHELL_COMMAND CMD=backup_cfg diff --git a/crowsnest.conf b/crowsnest.conf new file mode 100644 index 0000000..9414e44 --- /dev/null +++ b/crowsnest.conf @@ -0,0 +1,47 @@ +#### crowsnest.conf +#### This is a typical default config. +#### Also used as default in mainsail / MainsailOS +#### See: +#### https://github.com/mainsail-crew/crowsnest/blob/master/README.md +#### for details to configure to your needs. + + +##################################################################### +#### ##### +#### Information about ports and according URL's ##### +#### ##### +##################################################################### +#### ##### +#### Port 8080 equals /webcam/?action=[stream/snapshot] ##### +#### Port 8081 equals /webcam2/?action=[stream/snapshot] ##### +#### Port 8082 equals /webcam3/?action=[stream/snapshot] ##### +#### Port 8083 equals /webcam4/?action=[stream/snapshot] ##### +#### ##### +#### Note: These ports are default for most Mainsail ##### +#### installations. To use any other port would involve ##### +#### changing the proxy configuration or using directly ##### +#### http://:/?action=[stream/snapshot] ##### +#### ##### +##################################################################### +#### RTSP Stream URL: ( if enabled and supported ) ##### +#### rtsp://:/stream.h264 ##### +##################################################################### + + +[crowsnest] +log_path: %LOGPATH% +log_level: verbose # Valid Options are quiet/verbose/debug +delete_log: false # Deletes log on every restart, if set to true +no_proxy: false + +[cam 1] +mode: ustreamer # ustreamer - Provides mjpg and snapshots. (All devices) + # camera-streamer - Provides webrtc, mjpg and snapshots. (rpi + Raspi OS based only) +enable_rtsp: false # If camera-streamer is used, this enables also usage of an rtsp server +rtsp_port: 8554 # Set different ports for each device! +port: 8080 # HTTP/MJPG Stream/Snapshot Port +device: /dev/video0 # See Log for available ... +resolution: 640x480 # widthxheight format +max_fps: 15 # If Hardware Supports this it will be forced, otherwise ignored/coerced. +#custom_flags: # You can run the Stream Services with custom flags. +#v4l2ctl: # Add v4l2-ctl parameters to setup your camera, see Log what your cam is capable of. \ No newline at end of file diff --git a/custom_macros.cfg b/custom_macros.cfg new file mode 100644 index 0000000..d17a30f --- /dev/null +++ b/custom_macros.cfg @@ -0,0 +1,29 @@ +[gcode_macro center] +gcode: + G90 + G1 X175 Y175 F6000 + +[gcode_macro belt] +gcode: + G90 + G1 X175 Y113 F6000 + +[gcode_macro front] +gcode: + G90 + G1 X175 Y25 Z150 F6000 + +[gcode_macro OFF] +gcode: + M84 + TURN_OFF_HEATERS + M107 + #SET_FAN_SPEED FAN=exhaust_fan SPEED=0 + +[gcode_macro IDLE_TIMEOUT_DEF] +gcode: + SET_IDLE_TIMEOUT TIMEOUT=600 + +[gcode_macro IDLE_TIMEOUT_INF] +gcode: + SET_IDLE_TIMEOUT TIMEOUT=21600 \ No newline at end of file diff --git a/macros b/macros new file mode 120000 index 0000000..752ecaf --- /dev/null +++ b/macros @@ -0,0 +1 @@ +/home/pi/klippain_config/macros \ No newline at end of file diff --git a/mcu.cfg b/mcu.cfg new file mode 100644 index 0000000..c146e69 --- /dev/null +++ b/mcu.cfg @@ -0,0 +1,102 @@ +######################################################### \ +#### User MCU and TMCs wiring definition file ########### + --> Everything MCU related :) +######################################################### / + +# This file is yours: keep in mind that it will not be erased when updating +# the config using moonraker and it will be kept as you've set it. + +# Put here all your wiring definitions, your MCU serial port, CANbus UUID, etc... +# It should be populated automatically with some default wiring templates during +# the first time install of the config if you choose to do so when asked by the +# script. If it's not the case, you will need to manually define all your +# [board_pins] section. You can use the pinout documentation here: ./docs/pinout.md + +# ------------------------------------------------------------------------------------------ + + +#-------------------------# +# TMCs DRIVERS # +#-------------------------# + +# ---------------------------------------------------------------------- AXIS DRIVERS ----> optional, but only one line per axis need to be selected +### 1. X Drivers ------------------------------------------------------------------------- +[include config/hardware/axis/X/TMC/TMC2209.cfg] +# [include config/hardware/axis/X/TMC/TMC2209_V0specific.cfg] # Should only be used for early LDO V0 kits to mitigate the known VFAs issue +# [include config/hardware/axis/X/TMC/TMC2240.cfg] +# [include config/hardware/axis/X/TMC/TMC5160.cfg] +### 2. Y Drivers ------------------------------------------------------------------------- +[include config/hardware/axis/Y/TMC/TMC2209.cfg] +# [include config/hardware/axis/Y/TMC/TMC2209_V0specific.cfg] # Should only be used for early LDO V0 kits to mitigate the known VFAs issue +# [include config/hardware/axis/Y/TMC/TMC2240.cfg] +# [include config/hardware/axis/Y/TMC/TMC5160.cfg] +### 3. Z Drivers ------------------------------------------------------------------------- +# [include config/hardware/axis/Z/TMC/TMC2209_1-Motor.cfg] +# [include config/hardware/axis/Z/TMC/TMC2209_3-Motors.cfg] +[include config/hardware/axis/Z/TMC/TMC2209_4-Motors.cfg] +# [include config/hardware/axis/Z/TMC/TMC2240_1-Motor.cfg] +# [include config/hardware/axis/Z/TMC/TMC2240_3-Motors.cfg] +# [include config/hardware/axis/Z/TMC/TMC2240_4-Motors.cfg] +# ---------------------------------------------------------------------------------------- + + +# ------------------------------------------------------------------- EXTRUDER DRIVER ----> optional, but only one line need to be selected +### -------------------------------------------------------------------------------------- +[include config/hardware/extruder/TMC/TMC2209.cfg] +# [include config/hardware/extruder/TMC/TMC2240.cfg] +# ---------------------------------------------------------------------------------------- + + +#--------------------------------------# +#### BTT Octopus MCU definition ######## +#--------------------------------------# + +[mcu] +##-------------------------------------------------------------------- +# This board work by using a serial connection by default. If you +# want to use CAN, invert the commented lines and use canbus_uuid. + +serial: /dev/serial/by-id/usb-Klipper_stm32f446xx_400043000451303431333234-if00 +# canbus_uuid: change-me-to-the-correct-canbus-id +##-------------------------------------------------------------------- + +[include config/mcu_definitions/main/BTT_Octopus.cfg] # Do not remove this line +[board_pins octopus_mcu] +mcu: mcu +aliases: + X_STEP=MCU_MOTOR0_STEP , X_DIR=MCU_MOTOR0_DIR , X_ENABLE=MCU_MOTOR0_ENABLE , X_TMCUART=MCU_MOTOR0_UART , + Y_STEP=MCU_MOTOR1_STEP , Y_DIR=MCU_MOTOR1_DIR , Y_ENABLE=MCU_MOTOR1_ENABLE , Y_TMCUART=MCU_MOTOR1_UART , + + Z_STEP=MCU_MOTOR2_1_STEP , Z_DIR=MCU_MOTOR2_1_DIR , Z_ENABLE=MCU_MOTOR2_1_ENABLE , Z_TMCUART=MCU_MOTOR2_1_UART , + Z1_STEP=MCU_MOTOR3_STEP , Z1_DIR=MCU_MOTOR3_DIR , Z1_ENABLE=MCU_MOTOR3_ENABLE , Z1_TMCUART=MCU_MOTOR3_UART , + Z2_STEP=MCU_MOTOR4_STEP , Z2_DIR=MCU_MOTOR4_DIR , Z2_ENABLE=MCU_MOTOR4_ENABLE , Z2_TMCUART=MCU_MOTOR4_UART , + Z3_STEP=MCU_MOTOR5_STEP , Z3_DIR=MCU_MOTOR5_DIR , Z3_ENABLE=MCU_MOTOR5_ENABLE , Z3_TMCUART=MCU_MOTOR5_UART , + + E_STEP=MCU_MOTOR6_STEP , E_DIR=MCU_MOTOR6_DIR , E_ENABLE=MCU_MOTOR6_ENABLE , E_TMCUART=MCU_MOTOR6_UART , + + # DRIVER_SPI_MOSI=EXP2_6 , # Used in case of SPI drivers such as TMC2240 or TMC5160 + # DRIVER_SPI_MISO=EXP2_1 , # Used in case of SPI drivers such as TMC2240 or TMC5160 + # DRIVER_SPI_SCK=EXP2_2 , # Used in case of SPI drivers such as TMC2240 or TMC5160 + + X_STOP=MCU_STOP0 , Y_STOP=MCU_STOP1 , Z_STOP=MCU_STOP2 , + PROBE_INPUT=MCU_STOP7 , + RUNOUT_SENSOR=MCU_STOP4 , + MOTION_SENSOR=MCU_STOP5 , + + E_HEATER=MCU_HE0 , E_TEMPERATURE=MCU_T0 , + BED_HEATER=MCU_HE1 , BED_TEMPERATURE=MCU_TB , + + PART_FAN=MCU_FAN0 , E_FAN=MCU_FAN1 , + CONTROLLER_FAN1=MCU_FAN2 , + CONTROLLER_FAN2=MCU_FAN3 , + FILTER_FAN=MCU_HE3 , + + CHAMBER_TEMPERATURE=MCU_T1 , ELECTRICAL_CABINET_TEMPERATURE=MCU_T3 , + + E_FAN_SPEED=MCU_PROBE , + + LIGHT_OUTPUT=MCU_HE2 , + LIGHT_NEOPIXEL=MCU_STOP6 , + STATUS_NEOPIXEL=MCU_NEOPIXEL , + + SERVO_PIN=MCU_SERVOS , + diff --git a/moonraker b/moonraker new file mode 120000 index 0000000..946bcb6 --- /dev/null +++ b/moonraker @@ -0,0 +1 @@ +/home/pi/klippain_config/moonraker \ No newline at end of file diff --git a/moonraker-obico-update.cfg b/moonraker-obico-update.cfg new file mode 100644 index 0000000..2144e3d --- /dev/null +++ b/moonraker-obico-update.cfg @@ -0,0 +1,9 @@ +[update_manager moonraker-obico] +type: git_repo +path: /home/pi/moonraker-obico +origin: https://github.com/TheSpaghettiDetective/moonraker-obico.git +env: /home/pi/moonraker-obico/../moonraker-obico-env/bin/python +requirements: requirements.txt +install_script: install.sh +managed_services: + moonraker-obico diff --git a/moonraker-obico.cfg b/moonraker-obico.cfg new file mode 100644 index 0000000..74adf60 --- /dev/null +++ b/moonraker-obico.cfg @@ -0,0 +1,19 @@ +[server] +url = https://app.obico.io +auth_token = 93471722d1cd42aa8689 + +[moonraker] +host = 127.0.0.1 +port = 7125 + +[webcam] +disable_video_streaming = False + +[logging] +path = /home/pi/printer_data/logs/moonraker-obico.log + +[tunnel] + + +[misc] +sentry_opt: in diff --git a/moonraker.conf b/moonraker.conf new file mode 100644 index 0000000..7a489cd --- /dev/null +++ b/moonraker.conf @@ -0,0 +1,77 @@ +########################################################## \ +############# MOONRAKER CONFIG FILE ###################### + --> To configure moonraker... :) +########################################################## / + +[include moonraker/base.conf] # Do not remove this line + +# This file is yours! Feel free to edit it in order to include all the needed +# things to configure moonraker to your machine. Also, keep in mind that it +# will not be erased when updating the config and it will be kept as you've set it. + +# The moonraker/base.conf file should contain a good and sane default configuration, +# however, feel free to override its sections and adapt the config to your needs. + +# ------------------------------------------------------------------------------------------ + + +##### Exclude object pre-processing ------------------------------- +## This can be deactivated in case you use an offline processor in your slicer +[include moonraker/exclude_object.conf] +# ----------------------------------------------------------------- + +##### Fluidd update management ------------------------------------ +# [include moonraker/fluidd.conf] +# ----------------------------------------------------------------- + +##### Mainsail update management ---------------------------------- +# [include moonraker/mainsail.conf] +# ----------------------------------------------------------------- + +##### Auto Z calibration plugin update management ----------------- +# [include moonraker/z_calibration.conf] +# ----------------------------------------------------------------- + + +##### Add your custom moonraker config customizations and overrides below this line... +# ------------------------------------------------------------------------------------ + +#-------------------------# +# Beacon # +#-------------------------# +[update_manager beacon] +type: git_repo +channel: dev +path: ~/beacon_klipper +origin: https://github.com/beacon3d/beacon_klipper.git +env: ~/klippy-env/bin/python +requirements: requirements.txt +install_script: install.sh +is_system_service: False +managed_services: klipper +info_tags: + desc=Beacon Surface Scanner + +#-------------------------# +# Shake&Tune # +#-------------------------# +## Klippain Shake&Tune automatic update management +[update_manager Klippain-ShakeTune] +type: git_repo +origin: https://github.com/Frix-x/klippain-shaketune.git +path: ~/klippain_shaketune +virtualenv: ~/klippain_shaketune-env +requirements: requirements.txt +system_dependencies: system-dependencies.json +primary_branch: main +managed_services: klipper + +#-------------------------# +# Crowsnest # +#-------------------------# +[update_manager crowsnest] +type: git_repo +path: ~/crowsnest +origin: https://github.com/mainsail-crew/crowsnest.git +install_script: tools/pkglist.sh + +[include moonraker-obico-update.cfg] diff --git a/moonraker_obico_macros.cfg b/moonraker_obico_macros.cfg new file mode 120000 index 0000000..f2fa8f5 --- /dev/null +++ b/moonraker_obico_macros.cfg @@ -0,0 +1 @@ +/home/pi/moonraker-obico/scripts/../include_cfgs/moonraker_obico_macros.cfg \ No newline at end of file diff --git a/overrides.cfg b/overrides.cfg new file mode 100644 index 0000000..944a0c1 --- /dev/null +++ b/overrides.cfg @@ -0,0 +1,198 @@ +############################################# \ +######## USER CONFIG OVERRIDES FILE ######### + --> This will help you personalize my config to your printer :) +############################################# / + +# This file is yours! Feel free to edit it in order to include all the needed +# things to adapt my generic config to your machine. This file will not be erased +# when updating the config using moonraker and it will be kept as you've set it. +# You can change every section of the config. You can also add some new custom macros, etc... +# The corresponding documentation can be found in: docs > overrides.md + +### Also, keep in mind: if you use a multi-MCU config such as the old school double SKRs or a CANbus toolhead +### board, you will need to specify which components are connected to which board in your own mcu.cfg file! +### Example: if something is connected to the toolhead MCU, you should use "config_pin: toolhead:PIN_NAME". + +#> Main control MCUs are called "mcu" (and "secondary" when using a double MCU configuration) +#> Toolhead CANboard MCUs are called "toolhead" +#> ERCF MCUs are called "ercf" + +# ------------------------------------------------------------------------------------------ + + +#-------------------------# +# START_PRINT SEQUENCE # +#-------------------------# + +## The START_PRINT sequence is modular and fully customizable. A default START_PRINT sequence is auto-populated based on +## your probe choice (TAP, Dockable, Inductive), but if for some reasons you still want to modify it, please uncomment the following 3 +## lines to define a new `variable_startprint_actions`. You can use any number of action or even duplicate some actions if needed. +## Available actions: "bed_soak", "extruder_preheating", "chamber_soak", "extruder_heating", "tilt_calib", "z_offset", "bedmesh", "purge", "clean", "primeline" +## +# [gcode_macro _USER_VARIABLES] +# variable_startprint_actions: "action1", "action2", ... +# gcode: # do not remove this line + + +#-------------------------# +# EXTRUDER/BED PIDs # +#-------------------------# + +## Here is an example of some overrides for the PIDs. I put them here as almost everyone will use them, +## so just uncomment the following lines and change the values according to your own machine +[extruder] +sensor_type: PT1000 +pressure_advance: 0.035 +pressure_advance_smooth_time: 0.040 +rotation_distance: 47.794 +max_temp: 295 +max_extrude_only_distance: 300 +control: pid +pid_kp: 29.451 +pid_ki: 3.570 +pid_kd: 60.743 + +[heater_bed] +control: pid +pid_kp: 36.280 +pid_ki: 1.336 +pid_kd: 246.250 + +#-------------------------# +# Height # +#-------------------------# + +[stepper_z] +position_max: 330 + +#-------------------------# +# Limits # +#-------------------------# +[printer] +max_velocity = 600 +max_accel = 24000 +max_z_velocity = 30 +max_z_accel = 500 + +#-------------------------# +# SENSORLESS HOMING # +#-------------------------# + +[tmc2209 stepper_x] +driver_SGTHRS: 110 + +[tmc2209 stepper_y] +driver_SGTHRS: 110 + +#-------------------------# +# RUN CURRENT # +#-------------------------# +[tmc2209 stepper_x] +run_current: 0.8 + +[tmc2209 stepper_y] +run_current: 0.8 + +#-------------------------# +# QGL # +#-------------------------# + +[quad_gantry_level] +horizontal_move_z: 2 +retries: 10 +retry_tolerance: 0.0075 +max_adjust: 10 + +#-------------------------# +# MOTORS DIRECTION # +#-------------------------# + +[extruder] +dir_pin: !E_DIR + +[stepper_z1] +dir_pin: !Z1_DIR + +[stepper_z3] +dir_pin: !Z3_DIR + +#-------------------------# +# Centering # +#-------------------------# + +[stepper_y] +position_min: 0 +position_max: 353 +position_endstop: 353 + +#-------------------------# +# Probe # +#-------------------------# + +[beacon] +serial: /dev/serial/by-id/usb-Beacon_Beacon_RevH_8D4C90244E5737374D202020FF0A0E16-if00 +x_offset: 0 # update with offset from nozzle on your machine +y_offset: 22 # update with offset from nozzle on your machine +mesh_main_direction: x +mesh_runs: 2 + +[beacon model default] +model_coef: 1.9091168692546117, + 2.1899323962673902, + 0.6079134526319617, + 0.16061732414171453, + 0.1015165262637375, + 0.11930148702409481, + -0.10268785532308122, + -0.06371448505709051, + 0.09049497775487876, + 0.007544576501720049 +model_domain: 1.946073306739796e-07,1.9518030287959836e-07 +model_range: 0.200000,5.000000 +model_temp: 55.347712 +model_offset: -0.175 #increase to increase nozzle height, decrease to lower nozzle height + +[bed_mesh] +mesh_max:300,300 + +#-------------------------# +# Input Shaper # +#-------------------------# + +[resonance_tester] +accel_chip: beacon +probe_points: 175, 175, 20 + +[input_shaper] +# Supported shapers: zv, mzv, zvd, ei, 2hump_ei, 3hump_ei +shaper_freq_x: 57.4 +shaper_type_x: mzv +shaper_freq_y: 38.2 +shaper_type_y: mzv + +#-------------------------# +# Filament sensor # +#-------------------------# + +[filament_motion_sensor runout_sensor] +switch_pin: ^MOTION_SENSOR +detection_length: 2.88 + +#-------------------------# +# Fans # +#-------------------------# + +[heater_fan hotend_fan] +tachometer_pin: ^MCU_STOP2 +tachometer_ppr: 2 +tachometer_poll_interval: 0.0004 + +[multi_pin controller_fan_pins] +pins: CONTROLLER_FAN1, CONTROLLER_FAN2 + +[controller_fan controller_fan] +pin: multi_pin:controller_fan_pins +kick_start_time: 0.5 +idle_timeout: 60 +heater: heater_bed + + diff --git a/printer.cfg b/printer.cfg new file mode 100644 index 0000000..b1bc82e --- /dev/null +++ b/printer.cfg @@ -0,0 +1,292 @@ +########################################### \ +######## MAIN PRINTER CONFIG FILE ######### + --> Entry file to configure your printer configuration :) +########################################### / + +# This file is yours! Feel free to edit it in order to include all +# the needed components (adapted to your machine). Also, keep in mind +# that it will not be erased when updating the config using moonraker +# and it will be kept as you've set it. + +# ---------------------------------------------------------------------------------------- + + +#-------------------------# +# HARDWARE COMPONENTS # +#-------------------------# + +# ---------------------------------------------------------------- PRINTER KINEMATICS ----> Select only one line +### -------------------------------------------------------------------------------------- +# [include config/kinematics/cartesian.cfg] # ex. Ender3, Prusa, ... +[include config/kinematics/corexy.cfg] # ex. Voron v2, Trident, ... +# [include config/kinematics/corexz.cfg] # ex. Voron Switchwire, ... +# ---------------------------------------------------------------------------------------- + + +# ---------------------------------------------------------------------- MACHINE AXIS ----> Select only one line for each axis +### X axis ------------------------------------------------------------------------------- +[include config/hardware/axis/X/1.8deg.cfg] +# [include config/hardware/axis/X/0.9deg.cfg] +### Y axis ------------------------------------------------------------------------------- +[include config/hardware/axis/Y/1.8deg.cfg] +# [include config/hardware/axis/Y/0.9deg.cfg] +### Z axis ------------------------------------------------------------------------------- +[include config/hardware/axis/Z/V2.4_stock_1.8deg.cfg] + +# [include config/hardware/axis/Z/V2.4_galileoZ_1.8deg.cfg] +#[include config/hardware/axis/Z/V2.4_galileo2Z_1.8deg.cfg] + +# [include config/hardware/axis/Z/Trident_TR8x8_1.8deg.cfg] +# [include config/hardware/axis/Z/Trident_TR8x4_1.8deg.cfg] + +# [include config/hardware/axis/Z/V0_TR8x8_1.8deg.cfg] +# [include config/hardware/axis/Z/V0_TR8x4_1.8deg.cfg] + +# [include config/hardware/axis/Z/TriZero_1.8deg.cfg] +# [include config/hardware/axis/Z/TriZero_0.9deg.cfg] + +# [include config/hardware/axis/Z/VSW_1.8deg.cfg] +# [include config/hardware/axis/Z/VSW_0.9deg.cfg] +# ---------------------------------------------------------------------------------------- + + +# ---------------------------------------------------------------- PRINTER DIMENSIONS ----> Select only one line +### -------------------------------------------------------------------------------------- +# [include config/hardware/axis/size/120mm.cfg] +# [include config/hardware/axis/size/180mm.cfg] +# [include config/hardware/axis/size/250mm.cfg] +# [include config/hardware/axis/size/300mm.cfg] +[include config/hardware/axis/size/350mm.cfg] +# [include config/hardware/axis/size/VSW_MK52.cfg] + +### These are global default sizes for common machines. If you need to specify a custom size, +### use your overrides.cfg file instead. +# ---------------------------------------------------------------------------------------- + + +# -------------------------------------------------------------------------- EXTRUDER ----> Select only one line +### 1. Motors configuration -------------------------------------------------------------- +# [include config/hardware/extruder/cw1.cfg] +# [include config/hardware/extruder/cw2.cfg] +# [include config/hardware/extruder/galileo.cfg] +[include config/hardware/extruder/galileo2.cfg] +# [include config/hardware/extruder/lgx_heavy.cfg] +# [include config/hardware/extruder/lgx_lite.cfg] +# [include config/hardware/extruder/orbiter2.0.cfg] +# [include config/hardware/extruder/sherpa_mini.cfg] +# [include config/hardware/extruder/vz_hextrudort.cfg] +# ---------------------------------------------------------------------------------------- + + +# ------------------------------------------------------------------------ HEATED BED ---- +### -------------------------------------------------------------------------------------- +[include config/hardware/bed_heaters/keenovo.cfg] # Used for most machines with NTC100K bed temperature sensors +# [include config/hardware/bed_heaters/creality.cfg] # For machines with EPCOS 100k sensors like creality, etc... +# ---------------------------------------------------------------------------------------- + + +# ----------------------------------------------------------------------------- PROBE ----> Select only one line +### -------------------------------------------------------------------------------------- +## No probe installed, like on a stock Voron V0 or equivalent +# [include config/hardware/probes/no_probe.cfg] + +## Inductive probes, like on stock 2.4 or Trident printers (available also in virtual Z endstop variant) +# [include config/hardware/probes/inductive.cfg] +# [include config/hardware/probes/inductive_virtual.cfg] + +## Dockable probes, like Klicky, Euclid or equivalent (available also in virtual Z endstop variant) +# [include config/hardware/probes/dockable.cfg] +# [include config/hardware/probes/dockable_virtual.cfg] + +## Voron TAP, also used naturally as a virtual Z endstop +#[include config/hardware/probes/voron_tap.cfg] + +## Beacon probe also used as virtual Z endstop. Do not forget to install the plugin and add the [beacon] section to make it work! +[include config/hardware/probes/beacon_virtual.cfg] +# ---------------------------------------------------------------------------------------- + + +# ------------------------------------------------------------------------------ FANS ----> You can select multiple lines +### -------------------------------------------------------------------------------------- +[include config/hardware/fans/hotend_fan.cfg] +[include config/hardware/fans/part_fan.cfg] +#[include config/hardware/fans/controller_fan.cfg] +#[include config/hardware/fans/rpi_fan.cfg] +# ---------------------------------------------------------------------------------------- + + +# ---------------------------------------------------------------------------- SERVOS ----> Select only one line +### -------------------------------------------------------------------------------------- +# [include config/hardware/servos/probe_servo.cfg] +# [include config/hardware/servos/purgeclean_servo.cfg] +# [include config/hardware/servos/shared_probepurge_servo.cfg] # If one servo is used for both probe dock and purge bucket +# ---------------------------------------------------------------------------------------- + + +# --------------------------------------------------------------------------- DISPLAY ----> Select only one line +### -------------------------------------------------------------------------------------- +### If using a display and an MCU board from the same brand (ie. a BTT display +### on a BTT board, or a Fysetc display on a Fysetc board), please use the file +### that correspond to your display brand in the following lines: +[include config/hardware/displays/BTT_mini12864.cfg] +# [include config/hardware/displays/Fysetc_mini12864.cfg] + +### As BTT and Fysetc have done the wiring exactly the opposite on their boards, if you are mixing +### the brands (ie. a BTT display on a Fysetc board, or the opposite), please use the file +### that correspond to your display brand in the following lines. Also you may have to +### rotate connectors 180 degree according to this documentation: https://docs.vorondesign.com/build/electrical/mini12864_klipper_guide.html +# [include config/hardware/displays/BTT_mini12864_inversed.cfg] +# [include config/hardware/displays/Fysetc_mini12864_inversed.cfg] +# ---------------------------------------------------------------------------------------- + + +# --------------------------------------------------------------- TEMPERATURE SENSORS ----> You can select multiple lines +### -------------------------------------------------------------------------------------- +[include config/hardware/temperature_sensors/rpi_temp.cfg] +[include config/hardware/temperature_sensors/mcu_temp.cfg] +#[include config/hardware/temperature_sensors/toolhead_mcu_temp.cfg] +# [include config/hardware/temperature_sensors/cabinet_temp.cfg] +[include config/hardware/temperature_sensors/chamber_temp.cfg] +# [include config/hardware/temperature_sensors/chamber_temp_ds18b20.cfg] # Specific for DS18B20 directly connected to the Pi +# [include config/hardware/temperature_sensors/chamber_temp_toolhead.cfg] # This is not recommended as toolhead board temperature sensors are not accurate +# ---------------------------------------------------------------------------------------- + + +# ------------------------------------------------------------------- LIGHTS AND LEDS ---- +### -------------------------------------------------------------------------------------- +[include config/hardware/lights/fcob_white.cfg] +#[include config/hardware/lights/neopixel_caselight.cfg] +#[include config/hardware/lights/status_leds.cfg] +# ---------------------------------------------------------------------------------------- + + +# ------------------------------------------------------------------ FILAMENT SENSORS ----> Select only one line +### -------------------------------------------------------------------------------------- +[include config/hardware/filament_sensors/motion_sensor.cfg] +#[include config/hardware/filament_sensors/switch_sensor.cfg] +# ---------------------------------------------------------------------------------------- + + +# --------------------------------------------------------------------- ACCELEROMETER ----> Select only one line +### -------------------------------------------------------------------------------------- +# [include config/hardware/accelerometers/adxl345_rpi.cfg] # For ADXL plugged directly on the Pi (official and recommended way) +# [include config/hardware/accelerometers/adxl345_usb.cfg] # For KUBSA, ... +# [include config/hardware/accelerometers/adxl345_usb_rampon.cfg] # For KUBSA with Rampon firmware, ... +# [include config/hardware/accelerometers/adxl345_usb_rp2040_spi1.cfg] # For Fysetc PortableInputShaper, ... +# [include config/hardware/accelerometers/adxl345_skr.cfg] # For ADXL plugged in SKRv1.4 (not a conventional way) + +# [include config/hardware/accelerometers/adxl345_sb2040.cfg] # For ADXL plugged in Mellow Fly-SB2040 boards +#[include config/hardware/accelerometers/adxl345_ebb.cfg] # For ADXL plugged in BTT EBB36 or EBB42 boards +# [include config/hardware/accelerometers/adxl345_sht.cfg] # For ADXL plugged in Mellow SHT36 or SHT42 boards +# [include config/hardware/accelerometers/adxl345_BTT_SB22xx.cfg] # For ADXL plugged in BTT SB2209 or SB2240 boards +[include /home/pi/klippain_shaketune/K-ShakeTune/*.cfg] +# ---------------------------------------------------------------------------------------- + + +# --------------------------------------------------------------------------- FILTERS ----> You can select multiple lines +### -------------------------------------------------------------------------------------- +# [include config/hardware/filters/exhaust_filter.cfg] +[include config/hardware/filters/nevermore_filter.cfg] +# ---------------------------------------------------------------------------------------- + + +# ------------------------------------------------------------------------------ ERCF ----> Select either all lines or none +### -------------------------------------------------------------------------------------- +### Klippain is designed to be used with the ERCF Happy Hare software: https://github.com/moggieuk/ERCF-Software-V3 +### Please run its own install script to get Happy Hare ready to be used +### Then, include all of the following files that are created during the installation of Happy Hare to enable ERCF in Klippain +# [include ercf_hardware.cfg] +# [include ercf_parameters.cfg] +# [include ercf_software.cfg] +# [include ercf_menu.cfg] # Optional: use it if you also have a Mini12864 display to add the ERCF menu entries +# [include config/hardware/ercf.cfg] +# ---------------------------------------------------------------------------------------- + + + +#---------------------------------# +# KLIPPER SOFTWARE COMPONENTS # +#---------------------------------# + +# -------------------------------------------------------------------------- BED MESH ----> Select only one line +### -------------------------------------------------------------------------------------- +# [include config/software/bed_mesh/bed_mesh_120mm.cfg] +# [include config/software/bed_mesh/bed_mesh_180mm.cfg] +# [include config/software/bed_mesh/bed_mesh_250mm.cfg] +# [include config/software/bed_mesh/bed_mesh_300mm.cfg] +[include config/software/bed_mesh/bed_mesh_350mm.cfg] +# [include config/software/bed_mesh/bed_mesh_mk52.cfg] + +### If you need to specify a bed mesh configuration for a custom sized printer, use your +### overrides.cfg file instead. These defaults are only made for common machines sizes +# ---------------------------------------------------------------------------------------- + + +# ----------------------------------------------------------------- SENSORLESS HOMING ----> Select only one line +### -------------------------------------------------------------------------------------- +[include config/software/sensorless_homing/sensorless_TMC2209.cfg] +# [include config/software/sensorless_homing/sensorless_BTT_TMC2240.cfg] +# [include config/software/sensorless_homing/sensorless_MKS_TMC2240.cfg] + +### Follow the Klipper documentation here: https://www.klipper3d.org/TMC_Drivers.html#sensorless-homing +### to find the best suited SGTHRS value according to your machine. Then add this value to your +### overrides.cfg as stated in the config/software/sensorless_homing.cfg file! +# ---------------------------------------------------------------------------------------- + + +# --------------------------------------------------------------- FIRMWARE RETRACTION ---- +### -------------------------------------------------------------------------------------- +# [include config/software/firmware_rectraction.cfg] +# ---------------------------------------------------------------------------------------- + + +# ---------------------------------------------------------------------- INPUT SHAPER ---- +### -------------------------------------------------------------------------------------- +[include config/software/input_shaper.cfg] # Don't forget to calibrate it! +# ---------------------------------------------------------------------------------------- + + +# --------------------------------------------------------------------------- TILTING ----> Select only one line +### -------------------------------------------------------------------------------------- +# [include config/software/tilting/qgl_180mm.cfg] +# [include config/software/tilting/qgl_250mm.cfg] +# [include config/software/tilting/qgl_300mm.cfg] +[include config/software/tilting/qgl_350mm.cfg] + +# [include config/software/tilting/z_tilt_120mm.cfg] +# [include config/software/tilting/z_tilt_250mm.cfg] +# [include config/software/tilting/z_tilt_300mm.cfg] +# [include config/software/tilting/z_tilt_350mm.cfg] + +# [include config/software/tilting/bedscrews_120mm.cfg] + +### If you need to specify a tilting configuration for a custom sized printer, use your +### overrides.cfg file instead. These defaults are only made for common machines sizes +# ---------------------------------------------------------------------------------------- + + +# ---------------------------------------------------------------- AUTO Z CALIBRATION ---- +### -------------------------------------------------------------------------------------- +### This does work only with dockable probes types (it doesn't work with Voron TAP or virtual probes) +### Also don't forget to install the plugin from here: https://github.com/protoloft/klipper_z_calibration +# [include config/software/z_calibration.cfg] +# ---------------------------------------------------------------------------------------- + + +# ---------------------------------------------------------------- Macros ---- +[include macros/calibration/test_speed.cfg] +[include moonraker_obico_macros.cfg] +[include custom_macros.cfg] + +# ---------------------------------------------------------------- BACKUP ---- +[include config_backup.cfg] + + + +################################### +### DO NOT EDIT BELOW THIS LINE ### +################################### +[include config/machine.cfg] +[include variables.cfg] +[include mcu.cfg] +[include overrides.cfg] + diff --git a/save_variables.cfg b/save_variables.cfg new file mode 100644 index 0000000..21009a9 --- /dev/null +++ b/save_variables.cfg @@ -0,0 +1,15 @@ +[Variables] +ercf_calib_0 = 1.0 +ercf_calib_1 = 1.0 +ercf_calib_2 = 1.0 +ercf_calib_3 = 1.0 +ercf_calib_4 = 1.0 +ercf_calib_5 = 1.0 +ercf_calib_6 = 1.0 +ercf_calib_7 = 1.0 +ercf_calib_8 = 1.0 +ercf_calib_9 = 1.0 +ercf_calib_10 = 1.0 +ercf_calib_11 = 1.0 +ercf_calib_ref = 500.0 +ercf_calib_clog_length = 8.0 diff --git a/scripts b/scripts new file mode 120000 index 0000000..341d2b3 --- /dev/null +++ b/scripts @@ -0,0 +1 @@ +/home/pi/klippain_config/scripts \ No newline at end of file diff --git a/variables.cfg b/variables.cfg new file mode 100644 index 0000000..9ed00d8 --- /dev/null +++ b/variables.cfg @@ -0,0 +1,297 @@ +[gcode_macro _USER_VARIABLES] +# Enable verbose output to let the macro have a chat +variable_verbose: True + +################################################### +# Feedrate and accels setpoints for all the macros +################################################### + +## SPEEDS +variable_homing_travel_speed: 350 +variable_travel_speed: 350 +variable_z_drop_speed: 15 +variable_brush_clean_speed: 100 +variable_probe_dock_speed: 60 + +## ACCELS +## Those are specific accel settings for some of the macros +variable_homing_travel_accel: 3000 +variable_tilting_travel_accel: 3000 +variable_brush_clean_accel: 1500 +variable_probe_dock_accel: 2000 + +## Accel to decel scale factor (default is 75% of the accel) +variable_accel_to_decel_factor: 0.75 + + +################################################# +# Homing, start_print and end_print variables +################################################# + +## Physical Z endstop pin position. This variable is used only if +## you don't use the automatic z_calibration plugin: if this plugin is +## installed, the z endstop pin position is directly extracted from the +## plugin config file (see config/software/z_calibration.cfg) or its user override. +variable_zendstop_position: -1, 1 # change it ONLY if not using the auto z calibration plugin !!! + +## Force always a full homing and QGL/Z_TILT during the START_PRINT macro +variable_force_homing_in_start_print: False + +## Z hop before homing to avoid grinding +## the bed due to the gantry sag +variable_homing_zhop: 5 + +## XY axis homing order and backoff distance after touching the endstops +variable_homing_first: "X" # can be set to "Y" first +variable_homing_backoff_distance_xy: -5, -5 # move 5mm in negative direction on both axis + +## Percentage of run_current used while sensorless homing (if used) +variable_sensorless_current_factor: 75 + +## margin to avoid the probe dock when homing +variable_probe_dock_margin_xy: 0, 0 + +## Temperature of the extruder used to preheat the chamber temperature and do some START_PRINT actions +variable_safe_extruder_temp: 150 + +## Prime line parameters +variable_prime_line_xy: 5, 2.5 # starting point +variable_prime_line_direction: "X" # can also be set to "Y" +variable_prime_line_length: 40 # length of the prime line on the bed (in mm) +variable_prime_line_purge_distance: 30 # length of filament to purge (in mm) +variable_prime_line_flowrate: 10 # mm3/s used for the prime line + +## Park position used when pause, end_print, etc... +variable_park_position_xy: 225, 340 +variable_park_lift_z: 50 + +## Automatically disable motors in the END_PRINT macro +variable_disable_motors_in_end_print: False + +## Automatically turn-off heaters in the END_PRINT macro +variable_turn_off_heaters_in_end_print: True + + +######################################################### +# Dockable probe variables (if available in the machine) +######################################################### + +## Bed size used to avoids doing a probe_accuracy or probe_calibrate outside the bed +## This has no effect in the macros beside a safety check (not mandatory to be changed) +variable_min_bed_xy: 0, 0 +variable_max_bed_xy: 9999, 9999 + +## Minimum safe Z height to attach/detach probe +variable_probe_min_z_travel: 20 + +## Position of the probe dock +variable_probe_dock_location_xy: -1, -1 + +## Servo angles used to define the retracted and deployed positions +## of the dock (if applicable). These variables are only used if a probe servo +## is included in the config and have no effect if it's not the case +variable_probe_servo_angle_retracted: 0 +variable_probe_servo_angle_deployed: 90 + +## Positions of the toolhead when docking/undocking the probe +## See diagram below for help +variable_probe_before_attach_position: "front" +variable_probe_after_attach_position : "front" +variable_probe_before_dock_position : "front" # generaly same as probe_after_attach_position +variable_probe_after_dock_position : "left" + +variable_probe_move_attach_length: 30 +variable_probe_move_dock_length: 30 + +## Y +## ^ +## | back +## | ^ +## | left < O > right +## | v +## | front +## |_ _ _ _ _ _ _ _ _ _ _ _> X + +## If there is an error during a tilting procedure (QGL or Z_TILT_ADJUST) or during a BED_MESH_CALIBRATE +## then automatically dock the probe before stopping all actions. This avoid letting the probe +## very close to a very hot bed doing nothing as this could destroy the probe microswitch +variable_autodock_on_probe_error: True + + +########################################################## +# Voron TAP probe variables (if available in the machine) +########################################################## + +variable_tap_max_probing_temp: 150 +variable_tap_deactivation_zhop: 5 # this is used to Z hop before restoring the temperature to avoid burnt PEI + + +########################################## +# Material and specific print parameters +########################################## + +## default START_PRINT parameters +variable_print_default_bed_temp: 55 +variable_print_default_extruder_temp: 220 +variable_print_default_chamber_temp: 0 +variable_print_default_chamber_max_heating_time: 60 +variable_print_default_soak: 3 +variable_print_default_material: "PLA" + +## Material configuration parameters applied during START_PRINT by using the slicer MATERIAL variable +## FYI, retract paramaters are used only if firmware retraction is enabled, filter speed (in %) is used if +## there is a filter installed on the machine, etc... +## If you are using another material, just extend the list bellow with a new material and everything should work :) +variable_material_parameters: { + 'PLA': { + 'pressure_advance': 0.055, + 'retract_length': 0.75, + 'unretract_extra_length': 0, + 'retract_speed': 40, + 'unretract_speed': 30, + 'filter_speed': 0, + 'additional_z_offset': 0, + 'filament_sensor': 1 + }, + 'PET': { + 'pressure_advance': 0.0650, + 'retract_length': 1.4, + 'unretract_extra_length': 0, + 'retract_speed': 30, + 'unretract_speed': 20, + 'filter_speed': 0, + 'additional_z_offset': 0.020, + 'filament_sensor': 1 + }, + 'ABS': { + 'pressure_advance': 0.0480, + 'retract_length': 0.5, + 'unretract_extra_length': 0, + 'retract_speed': 40, + 'unretract_speed': 30, + 'filter_speed': 80, + 'additional_z_offset': 0, + 'filament_sensor': 1 + }, + 'ASA': { + 'pressure_advance': 0.0480, + 'retract_length': 0.5, + 'unretract_extra_length': 0, + 'retract_speed': 40, + 'unretract_speed': 30, + 'filter_speed': 80, + 'additional_z_offset': 0, + 'filament_sensor': 1 + } + } + + +################################################ +## ERCF specific variables +################################################ +## This section is only considered if an ERCF is installed and configured + +variable_ercf_unload_on_cancel_print: False +variable_ercf_unload_on_end_print: True +variable_ercf_reset_stats_on_start_print: False + +################################################ +## Filter specific variables +################################################ +## This section is only considered if a filter is available (and enabled) + +variable_filter_default_time_on_end_print: 600 # seconds + +################################################ +# Other hardware options used in the macros +################################################ + +## Brush and purge bucket available in the machine +## If this is not available in the machine, set both positions +## variables to "-1, -1, -1" for safety +variable_purge_and_brush_enabled: False +variable_force_homing_before_brush: False # Add an homing of the Z axis before a clean to be sure to not miss the brush +variable_brush_over_y_axis: True # Cleanup is done moving the extruder along the Y axis, then X axis. If false, only X axis is done +variable_brush_xyz: -1, -1, -1 # Position of the brush center for nozzle cleaning +variable_purge_bucket_xyz: -1, -1, -1 # Purge bucket position +variable_purge_distance: 30 # Amount to purge (in mm) +variable_purge_ooze_time: 10 # Time (in seconds) to wait after the purge to let the nozzle ooze before going to the brush + +## Servo angles used to define the retracted and deployed positions +## of the purge bucket and brush (if applicable). These variables are only used if a purge +## bucket servo is included in the config and have no effect if it's not the case +variable_purgeclean_servo_angle_retracted: 0 +variable_purgeclean_servo_angle_deployed: 90 + + +## White light parameters (if installed in the machine) +variable_light_intensity_start_print: 100 +variable_light_intensity_printing: 30 +variable_light_intensity_end_print: 0 + + +## Patch the M190/M109 commands to avoid some wait time while the temperature +## settle on very low thermal latency devices (such as the BambuLabs hotend) +variable_fix_heaters_temperature_settle: False + + +## Resonnance testing position (if an accelerometer is installed in the machine) +## If test point is let to -1,-1, it default to the center of the bed at 50mm high +variable_resonnance_test_point_xy: -1, -1 +variable_resonnance_test_z_clearance: 50 + + +## SteathBurner minidisplay and case leds colors (if installed in the machine) +variable_status_leds_colors: { + 'logo': { + 'busy': {'r': 0.4, 'g': 0.0, 'b': 0.0, 'w': 0.0}, + 'cleaning': {'r': 0.0, 'g': 0.02, 'b': 0.5, 'w': 0.0}, + 'calibrating_z': {'r': 0.8, 'g': 0., 'b': 0.35, 'w': 0.0}, + 'heating': {'r': 0.3, 'g': 0.18, 'b': 0.0, 'w': 0.0}, + 'homing': {'r': 0.0, 'g': 0.6, 'b': 0.2, 'w': 0.0}, + 'leveling': {'r': 0.5, 'g': 0.1, 'b': 0.4, 'w': 0.0}, + 'meshing': {'r': 0.2, 'g': 1.0, 'b': 0.0, 'w': 0.0}, + 'on': {'r': 0.8, 'g': 0.8, 'b': 0.8, 'w':1.0}, + 'off': {'r': 0.0, 'g': 0.0, 'b': 0.0, 'w': 0.0}, + 'printing': {'r': 1.0, 'g': 0.0, 'b': 0.0, 'w': 0.0}, + 'standby': {'r': 0.01, 'g': 0.01, 'b': 0.01, 'w': 0.1}, + 'error': {'r': 0.6, 'g': 0.0, 'b': 0.0, 'w':0.0}, + }, + 'nozzle': { + 'heating': {'r': 0.8, 'g': 0.35, 'b': 0.0, 'w':0.0}, + 'off': {'r': 0.0, 'g': 0.0, 'b': 0.0, 'w': 0.0}, + 'on': {'r': 0.8, 'g': 0.8, 'b': 0.8, 'w':1.0}, + 'standby': {'r': 0.6, 'g': 0.0, 'b': 0.0, 'w':0.0}, + 'error': {'r': 0.6, 'g': 0.0, 'b': 0.0, 'w':0.0}, + }, + 'caselight': { + 'busy': {'r': 0.4, 'g': 0.0, 'b': 0.0, 'w': 0.0}, + 'cleaning': {'r': 0.0, 'g': 0.02, 'b': 0.5, 'w': 0.0}, + 'calibrating_z': {'r': 0.8, 'g': 0., 'b': 0.35, 'w': 0.0}, + 'heating': {'r': 0.3, 'g': 0.18, 'b': 0.0, 'w': 0.0}, + 'homing': {'r': 0.0, 'g': 0.6, 'b': 0.2, 'w': 0.0}, + 'leveling': {'r': 0.5, 'g': 0.1, 'b': 0.4, 'w': 0.0}, + 'meshing': {'r': 0.2, 'g': 1.0, 'b': 0.0, 'w': 0.0}, + 'on': {'r': 0.8, 'g': 0.8, 'b': 0.8, 'w':1.0}, + 'off': {'r': 0.0, 'g': 0.0, 'b': 0.0, 'w': 0.0}, + 'printing': {'r': 1.0, 'g': 0.0, 'b': 0.0, 'w': 0.0}, + 'standby': {'r': 0.01, 'g': 0.01, 'b': 0.01, 'w': 0.1}, + 'error': {'r': 0.6, 'g': 0.0, 'b': 0.0, 'w':0.0}, + }, + 'minidisplay': { + 'on': {'r': 0.0, 'g': 0.2, 'b': 0.4, 'w':1.0}, + 'off': {'r': 0.0, 'g': 0.0, 'b': 0.0, 'w': 0.0}, + 'error': {'r': 0.4, 'g': 0.0, 'b': 0.0, 'w':0.0}, + }, + 'thermal': { + 'hot': {'r': 1.0, 'g': 0.0, 'b': 0.0, 'w': 0.0}, + 'cold': {'r': 0.3, 'g': 0.0, 'b': 0.3, 'w': 0.0} + } + } + + +## Do not remove the next lines +gcode: + +[save_variables] +filename: ~/printer_data/config/save_variables.cfg