Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- [include timelapse.cfg]
- [stepper_x]
- step_pin: PC2
- dir_pin: PB9
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 40
- endstop_pin: !PA5
- position_endstop: 0
- position_max: 248
- position_min: -10
- homing_speed: 50
- [stepper_y]
- step_pin: PB8
- dir_pin: PB7
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 40
- endstop_pin: !PA6
- position_endstop: 0
- position_max: 226
- position_min: -10
- homing_speed: 50
- [stepper_z]
- step_pin: PB6
- dir_pin: !PB5
- enable_pin: !PC3
- microsteps: 16
- rotation_distance: 8
- endstop_pin: probe:z_virtual_endstop
- position_max: 270
- position_min: -5
- [extruder]
- max_extrude_only_distance: 100.0
- step_pin: PB4
- dir_pin: PB3
- enable_pin: !PC3
- microsteps: 16
- gear_ratio: 3.5:1
- rotation_distance: 26.193
- nozzle_diameter: 0.400
- filament_diameter: 1.750
- heater_pin: PA1
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC5
- #control: pid
- #pid_Kp: 22.865
- #pid_Ki: 1.292
- #pid_Kd: 101.178
- min_temp: 0
- max_temp: 250
- pressure_advance = 0.133
- [heater_bed]
- heater_pin: PA7
- sensor_type: EPCOS 100K B57560G104F
- sensor_pin: PC4
- #control: pid
- #pid_Kp: 69.139
- #pid_Ki: 1.273
- #pid_Kd: 938.565
- min_temp: 0
- max_temp: 110
- [filament_switch_sensor RunoutSensor]
- pause_on_runout: True
- runout_gcode: PAUSE
- insert_gcode: RESUME
- switch_pin: !PC15
- [heater_fan hotend_fan]
- pin: PC0
- heater: extruder
- heater_temp: 50.0
- [fan]
- pin: PA0
- [mcu]
- serial: /dev/serial/by-id/usb-1a86_USB_Serial-if00-port0
- restart_method: command
- [printer]
- kinematics: cartesian
- max_velocity: 300
- max_accel: 2300
- max_accel_to_decel: 2000
- max_z_velocity: 5
- square_corner_velocity: 5.0
- max_z_accel: 100
- [input_shaper]
- shaper_freq_x: 90.6 # frequency for the X mark of the test model
- shaper_type_x: 2hump_ei
- shaper_freq_y: 49.0 # frequency for the Y mark of the test model
- shaper_type_y: ei
- [bltouch]
- sensor_pin: ^PC14
- control_pin: PC13
- x_offset: -31.8
- y_offset: -37.2
- speed:4
- samples:2
- samples_result:average
- probe_with_touch_mode: true
- stow_on_each_sample: false
- [bed_mesh]
- speed: 100
- mesh_min: 25,20
- mesh_max: 210,181
- algorithm: bicubic
- probe_count: 10
- move_check_distance: 3
- split_delta_z: .025
- [safe_z_home]
- home_xy_position: 117, 117
- speed: 100
- z_hop: 10
- z_hop_speed: 5
- [bed_screws]
- screw1: 32, 203
- screw2: 32, 33
- screw3: 212, 33
- screw4: 205, 203
- [screws_tilt_adjust]
- screw1: 60, 73
- screw1_name: front left screw
- screw2: 237, 73
- screw2_name: front right screw
- screw3: 237, 213
- screw3_name: rear right screw
- screw4: 60, 213
- screw4_name: rear left screw
- horizontal_move_z: 10.
- speed: 50.
- screw_thread: CW-M3
- [temperature_sensor Board_MCU]
- sensor_type: temperature_mcu
- min_temp: 0
- max_temp: 100
- [temperature_sensor Raspberry_Pi]
- sensor_type: temperature_host
- min_temp: 0
- max_temp: 100
- [virtual_sdcard]
- path: ~/gcode_files
- [mcu rpi]
- serial: /tmp/klipper_host_mcu
- [adxl345]
- cs_pin: rpi:None
- [resonance_tester]
- accel_chip: adxl345
- probe_points:
- 115, 115, 20 # an example
- [display_status]
- [pause_resume]
- [gcode_macro PAUSE]
- description: Pause the actual running print
- rename_existing: PAUSE_BASE
- # change this if you need more or less extrusion
- variable_extrude: 1.0
- gcode:
- ##### read E from pause macro #####
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- ##### set park positon for x and y #####
- # default is your max posion from your printer.cfg
- {% set x_park = printer.toolhead.axis_maximum.x|float - 5.0 %}
- {% set y_park = printer.toolhead.axis_maximum.y|float - 5.0 %}
- ##### calculate save lift position #####
- {% set max_z = printer.toolhead.axis_maximum.z|float %}
- {% set act_z = printer.toolhead.position.z|float %}
- {% if act_z < (max_z - 2.0) %}
- {% set z_safe = 2.0 %}
- {% else %}
- {% set z_safe = max_z - act_z %}
- {% endif %}
- ##### end of definitions #####
- PAUSE_BASE
- G91
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G1 E-{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- {% if "xyz" in printer.toolhead.homed_axes %}
- G1 Z{z_safe} F900
- G90
- G1 X{x_park} Y{y_park} F6000
- {% else %}
- {action_respond_info("Printer not homed")}
- {% endif %}
- [gcode_macro RESUME]
- description: Resume the actual running print
- rename_existing: RESUME_BASE
- gcode:
- ##### read E from pause macro #####
- {% set E = printer["gcode_macro PAUSE"].extrude|float %}
- #### get VELOCITY parameter if specified ####
- {% if 'VELOCITY' in params|upper %}
- {% set get_params = ('VELOCITY=' + params.VELOCITY) %}
- {%else %}
- {% set get_params = "" %}
- {% endif %}
- ##### end of definitions #####
- {% if printer.extruder.can_extrude|lower == 'true' %}
- G91
- G1 E{E} F2100
- {% else %}
- {action_respond_info("Extruder not hot enough")}
- {% endif %}
- RESUME_BASE {get_params}
- [gcode_macro CANCEL_PRINT]
- description: Cancel the actual running print
- rename_existing: CANCEL_PRINT_BASE
- gcode:
- TURN_OFF_HEATERS
- CANCEL_PRINT_BASE
- #*# <---------------------- SAVE_CONFIG ---------------------->
- #*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated.
- #*#
- #*# [bltouch]
- #*# z_offset = 3.000
- #*#
- #*# [extruder]
- #*# control = pid
- #*# pid_kp = 19.788
- #*# pid_ki = 0.956
- #*# pid_kd = 102.405
- #*#
- #*# [heater_bed]
- #*# control = pid
- #*# pid_kp = 73.454
- #*# pid_ki = 1.683
- #*# pid_kd = 801.571
- #*#
- #*# [bed_mesh default]
- #*# version = 1
- #*# points =
- #*# -0.032500, -0.005000, -0.042500, -0.020000, -0.047500, -0.065000, -0.092500, -0.030000, -0.012500, -0.050000
- #*# -0.095000, -0.067500, -0.095000, -0.118750, -0.115000, -0.137500, -0.152500, -0.093750, -0.125000, -0.111250
- #*# -0.062500, -0.042500, -0.095000, -0.073750, -0.065000, -0.095000, -0.107500, -0.053750, -0.067500, -0.077500
- #*# -0.005000, 0.007500, -0.027500, -0.005000, -0.012500, -0.033750, -0.065000, 0.002500, -0.002500, -0.007500
- #*# -0.002500, 0.030000, -0.020000, -0.000000, -0.000000, -0.015000, -0.042500, 0.007500, 0.031250, 0.017500
- #*# 0.026250, 0.022500, -0.012500, -0.015000, 0.003750, -0.022500, -0.048750, 0.022500, 0.015000, 0.001250
- #*# -0.005000, -0.000000, -0.012500, -0.008750, -0.003750, -0.008750, -0.020000, 0.020000, -0.000000, 0.005000
- #*# -0.031250, -0.010000, -0.027500, -0.053750, -0.012500, -0.037500, -0.025000, 0.015000, 0.016250, 0.025000
- #*# 0.005000, -0.000000, -0.025000, -0.027500, 0.002500, -0.010000, -0.015000, 0.010000, 0.021250, 0.032500
- #*# -0.003750, -0.005000, -0.037500, -0.053750, -0.005000, -0.057500, -0.073750, -0.033750, -0.062500, -0.075000
- #*# tension = 0.2
- #*# min_x = 25.0
- #*# algo = bicubic
- #*# y_count = 10
- #*# mesh_y_pps = 2
- #*# min_y = 20.0
- #*# x_count = 10
- #*# max_y = 180.92
- #*# mesh_x_pps = 2
- #*# max_x = 209.95
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement