This post has been de-listed
It is no longer included in search results and normal feeds (front page, hot posts, subreddit posts, etc). It remains visible only via the author's post history.
So I'm new to clipper. After some time with marlin I decided there was a better alternative so here I am. Skr 1.4 turbo, e3d V6, BL touch, dual tmc2209 divers for z. Also running klipper screen. Going to add my config and maybe it can help someone. Use at own risk!
[include mainsail.cfg]
[gcode_macro G29] gcode: G28 BED_MESH_CALIBRATE G0 X0 Y0 Z10 F6000 BED_MESH_PROFILE save=E3D BED_MESH_PROFILE load=E3D
[printer] kinematics: cartesian max_velocity: 180 max_accel: 1500 max_z_velocity: 5 max_z_accel: 100
[heater_bed] heater_pin: P2.5 sensor_type: EPCOS 100K B57560G104F sensor_pin: P0.25 control: pid # tuned for 80 degrees C pid_kp: 71.063 pid_ki: 1.674 pid_kd: 754.158 min_temp: 0 max_temp: 130
[fan] pin: P2.3 hardware_pwm: false
[heater_fan extruder_fan] pin: P2.4 heater: extruder heater_temp: 50.0 fan_speed: 1.0
[mcu] serial: /dev/serial/by-id/usb-Klipper_lpc1769_0FC0001768944BAFB8BF7D5DC72000F5-if00
[stepper_x] step_pin: P2.2 dir_pin: !P2.6 enable_pin: !P2.1 rotation_distance: 40 microsteps: 16 endstop_pin: tmc2209_stepper_x:virtual_endstop # pin !P1.29 position_endstop: 0 position_max: 235 # We added 10 mm ontop of the 235 for proper screw_tilt_adjust homing_retract_dist: 0 homing_speed: 20
[tmc2209 stepper_x] uart_pin: P1.10 interpolate: True run_current: 0.580 hold_current: 0.290 stealthchop_threshold: 250 diag_pin: P1.29 driver_SGTHRS: 53
[stepper_y] step_pin: P0.19 dir_pin: !P0.20 enable_pin: !P2.8 rotation_distance: 40 microsteps: 16 endstop_pin: tmc2209_stepper_y:virtual_endstop # pin !P1.28 position_endstop: -15 position_min: -15 position_max: 220 homing_retract_dist: 0 homing_speed: 20
[tmc2209 stepper_y] uart_pin: P1.9 interpolate: True run_current: 0.580 hold_current: 0.290 stealthchop_threshold: 250 diag_pin: P1.28 driver_SGTHRS: 50
[stepper_z] step_pin: P0.22 dir_pin: P2.11 enable_pin: !P0.21 rotation_distance: 7.619047619047619 microsteps: 16 endstop_pin: probe:z_virtual_endstop # pin !P1.27 position_min: -2 position_max: 250 homing_speed: 5
[tmc2209 stepper_z] uart_pin: P1.8 interpolate: True run_current: 0.580 hold_current: 0.290 stealthchop_threshold: 250
[stepper_z1] step_pin: P1.15 dir_pin: P1.14 enable_pin: !P1.16 rotation_distance: 7.619047619047619 microsteps: 16 endstop_pin: probe:z_virtual_endstop # pin !P1.27
[tmc2209 stepper_z1] uart_pin: P1.1 interpolate: True run_current: 0.580 hold_current: 0.290 stealthchop_threshold: 250
[extruder] step_pin: P2.13 dir_pin: !P0.11 enable_pin: !P2.12 rotation_distance: 103.922435505 microsteps: 16 gear_ratio: 3:1 nozzle_diameter: 0.400 filament_diameter: 1.750 heater_pin: P2.7 sensor_type: ATC Semitec 104GT-2 sensor_pin: P0.24 control: pid # tuned for 220 degrees C pid_kp: 28.541 pid_ki: 1.746 pid_kd: 116.662 min_temp: 0 max_temp: 280 max_extrude_only_distance: 600 pressure_advance: 0.43
[tmc2209 extruder] uart_pin: P1.4 interpolate: True run_current: 0.660 hold_current: 0.330
[bltouch] sensor_pin: P0.10 control_pin: P2.0 x_offset: 49 y_offset: 2
z_offset: 0.5
set_output_mode: 5V samples: 2 sample_retract_dist: 10 samples_tolerance_retries: 1
[safe_z_home] home_xy_position: 117.5,117.5 z_hop: 10 # Move up z_hop_speed: 5
[bed_mesh] speed: 150 horizontal_move_z: 5 mesh_min: 50,0 mesh_max: 210,200 probe_count: 6,6
[screws_tilt_adjust] screw1: 0, 40 screw1_name: front left screw screw2: 150, 40 screw2_name: front right screw screw3: 150, 200 screw3_name: rear right screw screw4: 0, 200 screw4_name: rear left screw horizontal_move_z: 10. speed: 50. screw_thread: CW-M3
Fluidd requirements
[virtual_sdcard] path: ~/gcode_files
[display_status]
[virtual_sdcard] path: ~/gcode_files
[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
[gcode_macro START_PRINT] gcode: {% set BED_TEMP = params.BED_TEMP|default(60)|float %} {% set EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(205)|float %} # Start bed heating M140 S{BED_TEMP} # Use absolute coordinates G90
G28
BED_MESH_PROFILE load=E3D
Z_tilt_adjust
# Move the nozzle near the bed
G1 Z5 F3000
# Move the nozzle very close to the bed
G1 Z0.15 F300
# Wait for bed to reach temperature
M190 S{BED_TEMP}
# Set and wait for nozzle to reach temperature
M109 S{EXTRUDER_TEMP}
[gcode_macro END_PRINT] gcode: # Turn off bed, extruder, and fan M140 S0 M104 S0 M106 S0 # Move nozzle away from print while retracting G91 G1 X-2 Y-2 E-3 F300 # Raise nozzle by 10mm G1 Z10 F3000 G90 # Disable steppers M84
[z_tilt] z_positions:170, 150 0, 150
first entry corresponds
points: 170, 150 0, 150
Subreddit
Post Details
- Posted
- 2 years ago
- Reddit URL
- View post on reddit.com
- External URL
- reddit.com/r/klippers/co...