From 1dde0a5552ec3de59c4bd94a4c12474aa473d661 Mon Sep 17 00:00:00 2001 From: steeb Date: Tue, 6 Aug 2024 12:16:58 -0700 Subject: [PATCH] Upload files to "Klipper/ender/printer_data/config" --- .../printer_data/config/KAMP_Settings.cfg | 36 ++ .../ender/printer_data/config/moonraker.conf | 111 ++++++ Klipper/ender/printer_data/config/printer.cfg | 325 ++++++++++++++++++ 3 files changed, 472 insertions(+) create mode 100644 Klipper/ender/printer_data/config/KAMP_Settings.cfg create mode 100644 Klipper/ender/printer_data/config/moonraker.conf create mode 100644 Klipper/ender/printer_data/config/printer.cfg diff --git a/Klipper/ender/printer_data/config/KAMP_Settings.cfg b/Klipper/ender/printer_data/config/KAMP_Settings.cfg new file mode 100644 index 0000000..b42ed62 --- /dev/null +++ b/Klipper/ender/printer_data/config/KAMP_Settings.cfg @@ -0,0 +1,36 @@ +# Below you can include specific configuration files depending on what you want KAMP to do: + +[include ./KAMP/Adaptive_Meshing.cfg] # Include to enable adaptive meshing configuration. +[include ./KAMP/Line_Purge.cfg] # Include to enable adaptive line purging configuration. +#[include ./KAMP/Voron_Purge.cfg] # Include to enable adaptive Voron logo purging configuration. +#[include ./KAMP/Smart_Park.cfg] # Include to enable the Smart Park function, which parks the printhead near the print area for final heating. + +[gcode_macro _KAMP_Settings] +description: This macro contains all adjustable settings for KAMP + +# The following variables are settings for KAMP as a whole. +variable_verbose_enable: True # Set to True to enable KAMP information output when running. This is useful for debugging. + +# The following variables are for adjusting adaptive mesh settings for KAMP. +variable_mesh_margin: 0 # Expands the mesh size in millimeters if desired. Leave at 0 to disable. +variable_fuzz_amount: 0 # Slightly randomizes mesh points to spread out wear from nozzle-based probes. Leave at 0 to disable. + +# The following variables are for those with a dockable probe like Klicky, Euclid, etc. # ---------------- Attach Macro | Detach Macro +variable_probe_dock_enable: False # Set to True to enable the usage of a dockable probe. # --------------------------------------------- +variable_attach_macro: 'Attach_Probe' # The macro that is used to attach the probe. # Klicky Probe: 'Attach_Probe' | 'Dock_Probe' +variable_detach_macro: 'Dock_Probe' # The macro that is used to store the probe. # Euclid Probe: 'Deploy_Probe' | 'Stow_Probe' + # Legacy Gcode: 'M401' | 'M402' + +# The following variables are for adjusting adaptive purge settings for KAMP. +variable_purge_height: 0.8 # Z position of nozzle during purge, default is 0.8. +variable_tip_distance: 0 # Distance between tip of filament and nozzle before purge. Should be similar to PRINT_END final retract amount. +variable_purge_margin: 10 # Distance the purge will be in front of the print area, default is 10. +variable_purge_amount: 30 # Amount of filament to be purged prior to printing. +variable_flow_rate: 12 # Flow rate of purge in mm3/s. Default is 12. + +# The following variables are for adjusting the Smart Park feature for KAMP, which will park the printhead near the print area at a specified height. +variable_smart_park_height: 10 # Z position for Smart Park, default is 10. + +gcode: # Gcode section left intentionally blank. Do not disturb. + + {action_respond_info(" Running the KAMP_Settings macro does nothing, it is only used for storing KAMP settings. ")} diff --git a/Klipper/ender/printer_data/config/moonraker.conf b/Klipper/ender/printer_data/config/moonraker.conf new file mode 100644 index 0000000..f5d0b5b --- /dev/null +++ b/Klipper/ender/printer_data/config/moonraker.conf @@ -0,0 +1,111 @@ +[server] +host: 0.0.0.0 +port: 7125 +# The maximum size allowed for a file upload (in MiB). Default 1024 MiB +max_upload_size: 1024 +# Path to klippy Unix Domain Socket +klippy_uds_address: ~/printer_data/comms/klippy.sock + +[file_manager] +# post processing for object cancel. Not recommended for low resource SBCs such as a Pi Zero. Default False +enable_object_processing: true + +[update_manager Klipper-Adaptive-Meshing-Purging] +type: git_repo +channel: dev +path: ~/Klipper-Adaptive-Meshing-Purging +origin: https://github.com/kyleisah/Klipper-Adaptive-Meshing-Purging.git +managed_services: klipper +primary_branch: main + +[authorization] +cors_domains: + https://my.mainsail.xyz + http://my.mainsail.xyz + http://*.local + http://*.lan +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 + +# enables partial support of Octoprint API +[octoprint_compat] + +# enables moonraker to track and store print history. +[history] + +# this enables moonraker announcements for mainsail +[announcements] +subscriptions: + mainsail + +# this enables moonraker's update manager +[update_manager] +refresh_interval: 168 +enable_auto_refresh: True + +[update_manager mainsail] +type: web +channel: stable +repo: mainsail-crew/mainsail +path: ~/mainsail + +[update_manager mainsail-config] +type: git_repo +primary_branch: master +path: ~/mainsail-config +origin: https://github.com/mainsail-crew/mainsail-config.git +managed_services: klipper + +### moonraker-timelapse +### Don't forget to include timelapse.cfg to your printer.cfg +### Uncomment to enable moonraker-timelapse + + +#[update_manager timelapse] +#type: git_repo +#primary_branch: main +#path: ~/moonraker-timelapse +#origin: https://github.com/mainsail-crew/moonraker-timelapse.git +#managed_services: klipper moonraker + +#[timelapse] +### Directory where the generated video will be saved +#output_path: ~/timelapse/ +### Directory where ffmpeg is installed +#ffmpeg_binary_path: /usr/bin/ffmpeg + +# Crowsnest update_manager entry +[update_manager crowsnest] +type: git_repo +path: ~/crowsnest +origin: https://github.com/mainsail-crew/crowsnest.git +managed_services: crowsnest +install_script: tools/pkglist.sh + +# Sonar update_manager entry +[update_manager sonar] +type: git_repo +path: ~/sonar +origin: https://github.com/mainsail-crew/sonar.git +primary_branch: main +managed_services: sonar +install_script: tools/install.sh + +[update_manager fluidd-config] +type: git_repo +primary_branch: master +path: ~/fluidd-config +origin: https://github.com/fluidd-core/fluidd-config.git +managed_services: klipper + +[update_manager fluidd] +type: web +channel: stable +repo: fluidd-core/fluidd +path: ~/fluidd diff --git a/Klipper/ender/printer_data/config/printer.cfg b/Klipper/ender/printer_data/config/printer.cfg new file mode 100644 index 0000000..f49675a --- /dev/null +++ b/Klipper/ender/printer_data/config/printer.cfg @@ -0,0 +1,325 @@ +# This file contains pin mappings for the Creality Ender 3 Pro with +# the BigTreeTech SKR Mini E3 V2.0. +# To use this config, the firmware should be compiled for the +# STM32F103 with a "28KiB bootloader" and USB communication. Also, +# select "Enable extra low-level configuration options" and configure +# "GPIO pins to set at micro-controller startup" to "!PA14". + +# The "make flash" command does not work on the SKR mini E3. Instead, +# after running "make", copy the generated "out/klipper.bin" file to a +# file named "firmware.bin" on an SD card and then restart the SKR +# mini E3 with that SD card. + +[include fluidd.cfg] +[include KAMP_Settings.cfg] +[virtual_sdcard] +path: /home/ender/printer_data/gcodes +on_error_gcode: CANCEL_PRINT + +[exclude_object] + +[firmware_retraction] + +[pause_resume] + +# This adds a bed screws adjust GCode, that moves the nozzle around for you so you can paper adjust. +[bed_screws] +screw1: 31,37 +screw1_name: Front left screw +screw2: 31,208 +screw2_name: Rear left screw +screw3: 201,208 +screw3_name: Rear right screw +screw4: 201,37 +screw4_name: Front right screw + +[bltouch] +sensor_pin: ^PC14 +control_pin: PA1 +x_offset: -20 +y_offset: 0 +#z_offset: 0 +probe_with_touch_mode: True +pin_up_touch_mode_reports_triggered: True +stow_on_each_sample: False # Keep the probe extended between points +samples: 2 # Probe each point at least twice +samples_tolerance: 0.0125 # If those measurements aren't this close then +samples_tolerance_retries: 5 # Re-probe this many times and use the average + +#Original config below - I never used it. Delete this section if auto-homing and bed meshing works. +#sensor_pin: ^PC14 +#control_pin: PA1 +#x_offset: -36 +#y_offset: 0 +#z_offset: 2.10 +#stow_on_each_sample: False + +[stepper_x] +step_pin: PB13 +dir_pin: !PB12 +enable_pin: !PB14 +microsteps: 64 +rotation_distance: 40 +endstop_pin: ^PC0 +position_endstop: 0 +position_min: 0 +position_max: 230 +homing_speed: 50 + +[tmc2209 stepper_x] +uart_pin: PC11 +tx_pin: PC10 +uart_address: 0 +run_current: 0.580 +interpolate: False + +[stepper_y] +step_pin: PB10 +dir_pin: !PB2 +enable_pin: !PB11 +microsteps: 64 +rotation_distance: 40 +endstop_pin: ^PC1 +position_endstop: -12 +position_min: -12 +position_max: 230 +homing_speed: 50 + +[tmc2209 stepper_y] +uart_pin: PC11 +tx_pin: PC10 +uart_address: 2 +run_current: 0.580 +interpolate: False + +[stepper_z] +step_pin: PB0 +dir_pin: PC5 +enable_pin: !PB1 +microsteps: 64 +rotation_distance: 8 +# endstop_pin: ^PC2 +# position_endstop: 0.0 +endstop_pin: probe:z_virtual_endstop +position_min: -4 +position_max: 230 + +[tmc2209 stepper_z] +uart_pin: PC11 +tx_pin: PC10 +uart_address: 1 +run_current: 0.580 +interpolate: False + +[extruder] +pressure_advance: 0.122 +step_pin: PB3 +dir_pin: !PB4 +enable_pin: !PD2 +max_extrude_only_distance: 900.0 +max_extrude_cross_section: 50.0 +nozzle_diameter: 0.400 +filament_diameter: 1.750 +heater_pin: PC8 +sensor_type: EPCOS 100K B57560G104F +sensor_pin: PA0 +min_temp: 0 +max_temp: 300 +rotation_distance: 31.562 +microsteps: 16 + + +[tmc2209 extruder] +uart_pin: PC11 +tx_pin: PC10 +uart_address: 3 +run_current: 0.650 +hold_current: 0.500 +stealthchop_threshold: 5 + +[heater_bed] +heater_pin: PC9 +sensor_type: ATC Semitec 104GT-2 +sensor_pin: PC3 +#control: pid +#pid_Kp: 54.027 +#pid_Ki: 0.770 +#pid_Kd: 948.182 +min_temp: 0 +max_temp: 130 + +[heater_fan nozzle_cooling_fan] +pin: PC7 + +[fan] +pin: PC6 + +[mcu] +serial: /dev/serial/by-id/usb-Klipper_stm32f103xe_34FFD7054D50383524500943-if00 + +[printer] +kinematics: cartesian +max_velocity: 300 +max_accel: 3000 +max_z_velocity: 5 +max_z_accel: 100 + +[static_digital_output usb_pullup_enable] +pins: !PA14 + +[board_pins] +aliases: + # EXP1 header + EXP1_1=PB5, EXP1_3=PA9, EXP1_5=PA10, EXP1_7=PB8, EXP1_9=, + EXP1_2=PA15, EXP1_4=, EXP1_6=PB9, EXP1_8=PB15, EXP1_10=<5V> + +[display] +lcd_type: st7920 +cs_pin: EXP1_7 +sclk_pin: EXP1_6 +sid_pin: EXP1_8 +encoder_pins: ^EXP1_5, ^EXP1_3 +click_pin: ^!EXP1_2 + +[output_pin beeper] +pin: EXP1_1 + + +[display_glyph bed] +data: + ................ + ................ + ................ + ................ + ................ + ................ + ................ + ................ + ................ + ................ + ...**********... + ..*..........*.. + .*............*. + *..............* + **************** + ................ + +[display_glyph bed_heat1] +data: + ................ + ......*...*..... + ......*...*..... + .....*...*...... + .....*...*...... + ......*...*..... + ......*...*..... + .....*...*...... + .....*...*...... + ................ + ...**********... + ..*..........*.. + .*............*. + *..............* + **************** + ................ + +[display_glyph bed_heat2] +data: + ................ + .....*...*...... + .....*...*...... + ......*...*..... + ......*...*..... + .....*...*...... + .....*...*...... + ......*...*..... + ......*...*..... + ................ + ...**********... + ..*..........*.. + .*............*. + *..............* + **************** + ................ + +[display_glyph feedrate] +data: + ................ + ................ + ................ + ......******.... + ....**********.. + ...****....****. + ..***........**. + .***..........*. + .**..*.......... + ***...*......... + **.....*........ + **......**...... + **......***..... + **.......**..... + ................ + ................ + + +[bed_mesh] +speed: 100 +horizontal_move_z: 8 +mesh_min: 35, 25 +mesh_max: 210, 210 +probe_count: 6 +fade_start: 0 +mesh_pps: 2, 2 +algorithm: bicubic +bicubic_tension: 0.2 +move_check_distance: 5 +split_delta_z: .025 + +[gcode_macro G29] +gcode: + BED_MESH_CLEAR + BED_MESH_CALIBRATE + BED_MESH_PROFILE SAVE=default + BED_MESH_PROFILE LOAD=default + + +[safe_z_home] +home_xy_position: 145,115 +speed: 80.0 +z_hop: 10.0 +z_hop_speed: 10.0 + +#*# <---------------------- SAVE_CONFIG ----------------------> +#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. +#*# +#*# [extruder] +#*# control = pid +#*# pid_kp = 26.433 +#*# pid_ki = 1.632 +#*# pid_kd = 107.055 +#*# +#*# [heater_bed] +#*# control = pid +#*# pid_kp = 72.314 +#*# pid_ki = 1.759 +#*# pid_kd = 743.026 +#*# +#*# [bltouch] +#*# z_offset = 3.275 +#*# +#*# [bed_mesh default] +#*# version = 1 +#*# points = +#*# -0.171875, -0.120000, -0.072500 +#*# -0.067188, 0.009375, 0.090000 +#*# 0.029062, 0.128125, 0.260312 +#*# x_count = 3 +#*# y_count = 3 +#*# mesh_x_pps = 2 +#*# mesh_y_pps = 2 +#*# algo = lagrange +#*# tension = 0.2 +#*# min_x = 90.71 +#*# max_x = 140.29 +#*# min_y = 90.71 +#*# max_y = 140.29