Created
April 25, 2023 18:07
-
-
Save jeanfbrito/79b1aba88434932cf7c9ebae15019814 to your computer and use it in GitHub Desktop.
Ender 3 S1 Pro Klipper
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[gcode_macro BED_MESH_CALIBRATE] | |
rename_existing: BED_MESH_CALIBRATE_BASE | |
; gcode parameters | |
variable_parameter_AREA_START : 0,0 | |
variable_parameter_AREA_END : 0,0 | |
; the clearance between print area and probe area | |
variable_mesh_area_offset : 5.0 | |
; number of sample per probe point | |
variable_probe_samples : 2 | |
; minimum probe count | |
variable_min_probe_count : 3 | |
; scale up the probe count, should be 1.0 ~ < variable_max_probe_count/variable_min_probe_count | |
variable_probe_count_scale_factor : 1.0 | |
gcode: | |
{% if params.AREA_START and params.AREA_END %} | |
{% set bedMeshConfig = printer["configfile"].config["bed_mesh"] %} | |
{% set safe_min_x = bedMeshConfig.mesh_min.split(",")[0]|float %} | |
{% set safe_min_y = bedMeshConfig.mesh_min.split(",")[1]|float %} | |
{% set safe_max_x = bedMeshConfig.mesh_max.split(",")[0]|float %} | |
{% set safe_max_y = bedMeshConfig.mesh_max.split(",")[1]|float %} | |
{% set area_min_x = params.AREA_START.split(",")[0]|float %} | |
{% set area_min_y = params.AREA_START.split(",")[1]|float %} | |
{% set area_max_x = params.AREA_END.split(",")[0]|float %} | |
{% set area_max_y = params.AREA_END.split(",")[1]|float %} | |
{% set meshPointX = bedMeshConfig.probe_count.split(",")[0]|int %} | |
{% set meshPointY = bedMeshConfig.probe_count.split(",")[1]|int %} | |
{% set meshMaxPointX = meshPointX %} | |
{% set meshMaxPointY = meshPointY %} | |
{% if (area_min_x < area_max_x) and (area_min_y < area_max_y) %} | |
{% if area_min_x - mesh_area_offset >= safe_min_x %} | |
{% set area_min_x = area_min_x - mesh_area_offset %} | |
{% else %} | |
{% set area_min_x = safe_min_x %} | |
{% endif %} | |
{% if area_min_y - mesh_area_offset >= safe_min_y %} | |
{% set area_min_y = area_min_y - mesh_area_offset %} | |
{% else %} | |
{% set area_min_y = safe_min_y %} | |
{% endif %} | |
{% if area_max_x + mesh_area_offset <= safe_max_x %} | |
{% set area_max_x = area_max_x + mesh_area_offset %} | |
{% else %} | |
{% set area_max_x = safe_max_x %} | |
{% endif %} | |
{% if area_max_y + mesh_area_offset <= safe_max_y %} | |
{% set area_max_y = area_max_y + mesh_area_offset %} | |
{% else %} | |
{% set area_max_y = safe_max_y %} | |
{% endif %} | |
{% set meshPointX = (meshPointX * (area_max_x - area_min_x) / (safe_max_x - safe_min_x) * probe_count_scale_factor)|round(0)|int %} | |
{% if meshPointX < min_probe_count %} | |
{% set meshPointX = min_probe_count %} | |
{% endif %} | |
{% if meshPointX > meshMaxPointX %} | |
{% set meshPointX = meshMaxPointX %} | |
{% endif %} | |
{% set meshPointY = (meshPointY * (area_max_y -area_min_y ) / (safe_max_y - safe_min_y) * probe_count_scale_factor )|round(0)|int %} | |
{% if meshPointY < min_probe_count %} | |
{% set meshPointY = min_probe_count %} | |
{% endif %} | |
{% if meshPointY > meshMaxPointY %} | |
{% set meshPointY = meshMaxPointY %} | |
{% endif %} | |
BED_MESH_CALIBRATE_BASE mesh_min={area_min_x},{area_min_y} mesh_max={area_max_x},{area_max_y} probe_count={meshPointX},{meshPointY} samples={probe_samples|int} | |
{% else %} | |
BED_MESH_CALIBRATE_BASE | |
{% endif %} | |
{% else %} | |
BED_MESH_CALIBRATE_BASE | |
{% endif %} | |
###################################################################### | |
# Filament Change | |
###################################################################### | |
# M600: Filament Change. This macro will pause the printer, move the | |
# tool to the change position, and retract the filament 50mm. Adjust | |
# the retraction settings for your own extruder. After filament has | |
# been changed, the print can be resumed from its previous position | |
# with the "RESUME" gcode. | |
# Pressure Advance test macro by drawing 20 simple lines | |
# | |
# Adapted from: https://www.reddit.com/r/VORONDesign/comments/sjdiol/pressure_advance_testing_macro_klipper/ | |
# to suit home-made free ABL that requires a pause after homing to manually retract the probe. | |
# | |
# To do that, the process is divided into 2 macros: | |
# | |
# - PA_INIT to bring bed and extruder up to temperature, then home. | |
# eg. PA_INIT BED_TEMP=65 EXTRUDER_TEMP=205 | |
# After homing, the ABL can be manually retracted | |
# | |
# - PA_CAL to start the Pressure Advance test. | |
# eg. PA_CAL PA_START=0.01 PA_STEP=0.01 NZL=0.4 | |
# This will draw 20 lines using different PA values | |
# | |
# To use, simply include in printer.cfg: | |
# | |
# [include pa_macro.cfg] | |
# [gcode_macro PA_INIT] | |
# gcode: | |
# {% set BED_TEMP = params.BED_TEMP|default(60)|float %} | |
# {% set EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(180)|float %} | |
# M140 S{BED_TEMP} ;Start heating bed | |
# M190 S{BED_TEMP} ;Wait for bed to reach temp before proceeding | |
# M104 S{EXTRUDER_TEMP} ;Start heating extruder | |
# M109 S{EXTRUDER_TEMP} ;Wait for extruder to reach temp before proceeding | |
# G28 ;Home all axes and pause with audio alert | |
[gcode_macro PRESSURE_ADVANCE_CALIBRATION] | |
gcode: | |
{% set BED_TEMP = params.BED_TEMP|default(60)|float %} | |
{% set EXTRUDER_TEMP = params.EXTRUDER_TEMP|default(200)|float %} | |
{% set RETRACTION_LENGTH = params.RETRACTION_LENGTH|default(0.3)|float %} | |
{% set LAYER_HEIGHT = params.LAYER_HEIGHT|default(0.2)|float %} | |
{% set PA_START = params.PA_START|default(0.0)|float %} | |
{% set PA_STEP = params.PA_STEP|default(0.005)|float %} | |
{% set NOZZLE_SIZE = params.NOZZLE_SIZE|default(0.4)|float %} | |
{% set E5 = (0.1147475 * NOZZLE_SIZE) * 5|float %} | |
{% set E20 = (0.1147475 * NOZZLE_SIZE) * 20|float %} | |
{% set E40 = (0.1147475 * NOZZLE_SIZE) * 40|float %} | |
{% set X_MID = printer.configfile.config["stepper_x"]["position_max"]|float / 2.0 %} | |
{% set Y_MID = printer.configfile.config["stepper_y"]["position_max"]|float / 2.0 %} | |
M140 S{BED_TEMP} ;Start heating bed | |
M190 S{BED_TEMP} ;Wait for bed to reach temp before proceeding | |
M104 S{EXTRUDER_TEMP} ;Start heating extruder | |
M109 S{EXTRUDER_TEMP} ;Wait for extruder to reach temp before proceeding | |
G28 ;Home all axes and pause with audio alert | |
G21 ; millimeter units | |
G90 ; absolute XYZ | |
M83 ; relative E | |
SET_VELOCITY_LIMIT ACCEL=3000 ACCEL_TO_DECEL=1500 | |
G92 E0 ; reset extruder | |
M106 S0 ; set fan speed to zero | |
; This was taken from Cura to prime the extruder by tracing a line at the | |
; left side of the build bed twice | |
G1 X10.1 Y20 Z0.28 F5000.0 ; move to start position | |
G1 X10.1 Y200.0 Z0.28 F1500.0 E15 ; draw the first line | |
G1 X10.4 Y200.0 Z0.28 F5000.0 ; move to side a little | |
G1 X10.4 Y20 Z0.28 F1500.0 E30 ; draw the second line | |
G1 E-2 F1800 ; retract | |
G1 Z5 F300 ; move above layer height | |
{% for i in range(0, 20) %} | |
SET_PRESSURE_ADVANCE ADVANCE={PA_START + (i * PA_STEP)} ; set Pressure Advance | |
M117 Testing Pressure Advance at: {PA_START + (i * PA_STEP)} | |
G1 X{(X_MID-40)} Y{(Y_MID-35)+(5*i)} F5000 ; move to start position | |
G1 Z{LAYER_HEIGHT} F300 ; move to layer height | |
G1 E{RETRACTION_LENGTH} F1800 ; un-retract | |
G1 X{(X_MID-20)} Y{(Y_MID-35)+(5*i)} E{E20} F300 ; print line part one | |
G1 X{(X_MID+20)} Y{(Y_MID-35)+(5*i)} E{E40} F9000 ; print line part two | |
G1 X{(X_MID+40)} Y{(Y_MID-35)+(5*i)} E{E20} F300 ; print line part three | |
G1 E-{RETRACTION_LENGTH} F1800 ; retract | |
G1 Z5 F300 ; move above layer height | |
{% endfor %} | |
; This was again taken from Cura to raise the extruder and push the build plate forward when test is done | |
G1 Z20 F300 ; Raise Z more | |
G1 X{X_MID} Y{(Y_MID-35)+(5*24)} F300 ; Present print by pushing build plate forward a little | |
M117 Find best line and multiply it by ({PA_START} + (line * {PA_STEP}) ) to find your PA setting. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
## Client klipper macro definitions | |
## | |
## Copyright (C) 2022 Alex Zellner <[email protected]> | |
## | |
## This file may be distributed under the terms of the GNU GPLv3 license | |
## add [include mainsail.cfg] to your printer.cfg | |
## Customization: | |
## copy the following macro to your printer.cfg (outside of mainsail.cfg) | |
#[gcode_macro _CLIENT_VARIABLE] | |
#variable_use_custom_pos : False ; use custom park coordinates for x,y [True/False] | |
#variable_custom_park_x : 0.0 ; custom x position; value must be within your defined min and max of X | |
#variable_custom_park_y : 0.0 ; custom y position; value must be within your defined min and max of Y | |
#variable_custom_park_dz : 2.0 ; custom dz value; the value in mm to lift the nozzle when move to park position | |
#variable_retract : 1.0 ; the value to retract while PAUSE | |
#variable_cancel_retract : 5.0 ; the value to retract while CANCEL_PRINT | |
#variable_speed_retract : 35.0 ; retract speed in mm/s | |
#variable_unretract : 1.0 ; the value to unretract while RESUME | |
#variable_speed_unretract : 35.0 ; unretract speed in mm/s | |
#variable_speed_hop : 15.0 ; z move speed in mm/s | |
#variable_speed_move : 100.0 ; move speed in mm/s | |
#variable_park_at_cancel : False ; allow to move the toolhead to park while execute CANCEL_PRINT [True,False] | |
## !!! Caution [firmware_retraction] must be defined in the printer.cfg if you set use_fw_retract: True !!! | |
#variable_use_fw_retract : False ; use fw_retraction instead of the manual version [True/False] | |
#gcode: | |
## After you uncomment it add your custom values | |
## You now can use your PAUSE macro direct in your M600 here a short example: | |
#[gcode_macro M600] | |
#description: Filament change | |
#gcode: PAUSE X=10 Y=10 Z_MIN=50 | |
## That will park your head front left with a minimum height of 50mm above the bed. If your head | |
## is already above 50mm it will use only the z_hop specified with dz. | |
[virtual_sdcard] | |
path: ~/gcodes | |
on_error_gcode: CANCEL_PRINT | |
[pause_resume] | |
[display_status] | |
[gcode_macro CANCEL_PRINT] | |
description: Cancel the actual running print | |
rename_existing: CANCEL_PRINT_BASE | |
gcode: | |
##### get user parameters or use default ##### | |
{% set macro_found = True if printer['gcode_macro _CLIENT_VARIABLE'] is defined else False %} | |
{% set client = printer['gcode_macro _CLIENT_VARIABLE'] %} | |
{% set allow_park = False if not macro_found | |
else False if client.park_at_cancel is not defined | |
else True if client.park_at_cancel|lower == 'true' | |
else False %} | |
{% set retract = 5.0 if not macro_found else client.cancel_retract|default(5.0)|abs %} | |
##### end of definitions ##### | |
{% if not printer.pause_resume.is_paused and allow_park %} _TOOLHEAD_PARK_PAUSE_CANCEL {% endif %} | |
_CLIENT_RETRACT LENGTH={retract} | |
TURN_OFF_HEATERS | |
M106 S0 | |
# clear pause_next_layer and pause_at_layer as preparation for next print | |
SET_GCODE_VARIABLE MACRO=SET_PRINT_STATS_INFO VARIABLE=pause_next_layer VALUE="{{'enable': False, 'call':"PAUSE"}}" | |
SET_GCODE_VARIABLE MACRO=SET_PRINT_STATS_INFO VARIABLE=pause_at_layer VALUE="{{'enable': False, 'layer': 0, 'call':"PAUSE"}}" | |
CANCEL_PRINT_BASE | |
[gcode_macro PAUSE] | |
description: Pause the actual running print | |
rename_existing: PAUSE_BASE | |
gcode: | |
PAUSE_BASE | |
_TOOLHEAD_PARK_PAUSE_CANCEL {rawparams} | |
[gcode_macro RESUME] | |
description: Resume the actual running print | |
rename_existing: RESUME_BASE | |
gcode: | |
##### get user parameters or use default ##### | |
{% set macro_found = True if printer['gcode_macro _CLIENT_VARIABLE'] is defined else False %} | |
{% set client = printer['gcode_macro _CLIENT_VARIABLE'] %} | |
{% set velocity = printer.configfile.settings.pause_resume.recover_velocity %} | |
{% set sp_move = velocity if not macro_found else client.speed_move|default(velocity) %} | |
##### end of definitions ##### | |
_CLIENT_EXTRUDE | |
RESUME_BASE VELOCITY={params.VELOCITY|default(sp_move)} | |
# Usage: SET_PAUSE_NEXT_LAYER [MACRO=<name>] | |
[gcode_macro SET_PAUSE_NEXT_LAYER] | |
description: Enable a pause if the next layer is reached | |
gcode: SET_GCODE_VARIABLE MACRO=SET_PRINT_STATS_INFO VARIABLE=pause_next_layer VALUE="{{'enable':True, 'call':params.MACRO|default("PAUSE")}}" | |
# Usage: SET_PAUSE_AT_LAYER [LAYER=<number>] [MACRO=<name>] | |
[gcode_macro SET_PAUSE_AT_LAYER] | |
description: Enable/disable a pause if a given layer number is reached | |
gcode: | |
{% if params.LAYER is defined %} | |
SET_GCODE_VARIABLE MACRO=SET_PRINT_STATS_INFO VARIABLE=pause_at_layer VALUE="{{'enable': True, 'layer':params.LAYER|int, 'call':params.MACRO|default("PAUSE")}}" | |
{% else %} | |
SET_GCODE_VARIABLE MACRO=SET_PRINT_STATS_INFO VARIABLE=pause_at_layer VALUE="{{'enable': False, 'layer':0, 'call':"PAUSE"}}" | |
{% endif %} | |
# Usage: SET_PRINT_STATS_INFO [TOTAL_LAYER=<total_layer_count>] [CURRENT_LAYER= <current_layer>] | |
[gcode_macro SET_PRINT_STATS_INFO] | |
rename_existing: SET_PRINT_STATS_INFO_BASE | |
description: Overwrite, to get pause_next_layer and pause_at_layer feature | |
variable_pause_next_layer: {'enable':False, 'call':"PAUSE"} | |
variable_pause_at_layer : {'enable':False, 'layer':0, 'call':"PAUSE"} | |
gcode: | |
{% if pause_next_layer.enable %} | |
{action_respond_info("%s, forced by pause_next_layer" % pause_next_layer.call)} | |
{pause_next_layer.call} ; execute the given gcode to pause, should be either M600 or PAUSE | |
SET_GCODE_VARIABLE MACRO=SET_PRINT_STATS_INFO VARIABLE=pause_next_layer VALUE="{{'enable': False, 'call':"PAUSE"}}" | |
{% elif pause_at_layer.enable and params.CURRENT_LAYER is defined and params.CURRENT_LAYER|int == pause_at_layer.layer %} | |
{action_respond_info("%s, forced by pause_at_layer [%d]" % (pause_at_layer.call, pause_at_layer.layer))} | |
{pause_at_layer.call} ; execute the given gcode to pause, should be either M600 or PAUSE | |
SET_GCODE_VARIABLE MACRO=SET_PRINT_STATS_INFO VARIABLE=pause_at_layer VALUE="{{'enable': False, 'layer': 0, 'call':"PAUSE"}}" | |
{% endif %} | |
SET_PRINT_STATS_INFO_BASE {rawparams} | |
##### internal use ##### | |
[gcode_macro _TOOLHEAD_PARK_PAUSE_CANCEL] | |
description: Helper: park toolhead used in PAUSE and CANCEL_PRINT | |
gcode: | |
##### get user parameters or use default ##### | |
{% set macro_found = True if printer['gcode_macro _CLIENT_VARIABLE'] is defined else False %} | |
{% set client = printer['gcode_macro _CLIENT_VARIABLE'] %} | |
{% set velocity = printer.configfile.settings.pause_resume.recover_velocity %} | |
{% set use_custom = False if not macro_found | |
else False if client.use_custom_pos is not defined | |
else True if client.use_custom_pos|lower == 'true' | |
else False %} | |
{% set custom_park_x = 0.0 if not macro_found else client.custom_park_x|default(0.0) %} | |
{% set custom_park_y = 0.0 if not macro_found else client.custom_park_y|default(0.0) %} | |
{% set park_dz = 2.0 if not macro_found else client.custom_park_dz|default(2.0)|abs %} | |
{% set sp_hop = 900 if not macro_found else client.speed_hop|default(15) * 60 %} | |
{% set sp_move = velocity * 60 if not macro_found else client.speed_move|default(velocity) * 60 %} | |
##### get config and toolhead values ##### | |
{% set origion = printer.gcode_move.homing_origin %} | |
{% set act = printer.gcode_move.gcode_position %} | |
{% set max = printer.toolhead.axis_maximum %} | |
{% set cone = printer.toolhead.cone_start_z|default(max.z) %} ; height as long the toolhead can reach max and min of an delta | |
{% set round_bed = True if printer.configfile.settings.printer.kinematics is in ['delta','polar','rotary_delta','winch'] | |
else False %} | |
##### define park position ##### | |
{% set z_min = params.Z_MIN|default(0)|float %} | |
{% set z_park = [[(act.z + park_dz), z_min]|max, (max.z - origion.z)]|min %} | |
{% set x_park = params.X if params.X is defined | |
else custom_park_x if use_custom | |
else 0.0 if round_bed | |
else (max.x - 5.0) %} | |
{% set y_park = params.Y if params.Y is defined | |
else custom_park_y if use_custom | |
else (max.y - 5.0) if round_bed and z_park < cone | |
else 0.0 if round_bed | |
else (max.y - 5.0) %} | |
##### end of definitions ##### | |
_CLIENT_RETRACT | |
{% if "xyz" in printer.toolhead.homed_axes %} | |
G90 | |
G1 Z{z_park} F{sp_hop} | |
G1 X{x_park} Y{y_park} F{sp_move} | |
{% if not printer.gcode_move.absolute_coordinates %} G91 {% endif %} | |
{% else %} | |
{action_respond_info("Printer not homed")} | |
{% endif %} | |
[gcode_macro _CLIENT_EXTRUDE] | |
description: Extrudes, if the extruder is hot enough | |
gcode: | |
{% set macro_found = True if printer['gcode_macro _CLIENT_VARIABLE'] is defined else False %} | |
{% set client = printer['gcode_macro _CLIENT_VARIABLE'] %} | |
{% set use_fw_retract = False if not macro_found | |
else False if client.use_fw_retract is not defined | |
else True if client.use_fw_retract|lower == 'true' and printer.firmware_retraction is defined | |
else False %} | |
{% set length = (params.LENGTH|float) if params.LENGTH is defined | |
else 1.0 if not macro_found | |
else client.unretract|default(1.0) %} | |
{% set speed = params.SPEED if params.SPEED is defined | |
else 35 if not macro_found | |
else client.speed_unretract|default(35) %} | |
{% set absolute_extrude = printer.gcode_move.absolute_extrude %} | |
{% if printer.extruder.can_extrude %} | |
{% if use_fw_retract %} | |
{% if length < 0 %} | |
G10 | |
{% else %} | |
G11 | |
{% endif %} | |
{% else %} | |
M83 | |
G1 E{length} F{(speed|float|abs) * 60} | |
{% if absolute_extrude %} | |
M82 | |
{% endif %} | |
{% endif %} | |
{% else %} | |
{action_respond_info("Extruder not hot enough")} | |
{% endif %} | |
[gcode_macro _CLIENT_RETRACT] | |
description: Retracts, if the extruder is hot enough | |
gcode: | |
{% set macro_found = True if printer['gcode_macro _CLIENT_VARIABLE'] is defined else False %} | |
{% set client = printer['gcode_macro _CLIENT_VARIABLE'] %} | |
{% set length = (params.LENGTH|float) if params.LENGTH is defined | |
else 1.0 if not macro_found | |
else client.retract|default(1.0) %} | |
{% set speed = params.SPEED if params.SPEED is defined | |
else 35 if not macro_found | |
else client.speed_retract|default(35) %} | |
_CLIENT_EXTRUDE LENGTH=-{length|float|abs} SPEED={speed|float|abs} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[include mainsail.cfg] | |
[include macros.cfg] | |
##################Creality Ender 3 S1 Pro Klipper Config - 3DPrintBeginner############### | |
######Full guide: https://3dprintbeginner.com/how-to-install-klipper-on-ender-3-s1/###### | |
##################Version 1.0 edited by Jean Brito####################################### | |
[stepper_x] | |
step_pin: PC2 | |
dir_pin: PB9 | |
enable_pin: !PC3 | |
microsteps: 16 | |
rotation_distance: 40 | |
endstop_pin: !PA5 | |
position_endstop: -5 | |
position_min: -5 | |
position_max: 236 | |
homing_speed: 50 | |
[stepper_y] | |
step_pin: PB8 | |
dir_pin: PB7 | |
enable_pin: !PC3 | |
microsteps: 16 | |
rotation_distance: 40 | |
endstop_pin: !PA6 | |
position_endstop: -5 | |
position_min: -5 | |
position_max: 232 | |
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 | |
rotation_distance: 7.6190 | |
nozzle_diameter: 0.400 | |
filament_diameter: 1.750 | |
heater_pin: PA1 | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: PC5 | |
control: pid | |
pid_Kp: 21.761 | |
pid_Ki: 1.261 | |
pid_Kd: 93.844 | |
min_temp: 0 | |
max_temp: 300 | |
pressure_advance = 0.0325 | |
[filament_switch_sensor RunoutSensor] | |
pause_on_runout: True | |
runout_gcode: PAUSE | |
insert_gcode: | |
switch_pin: !PC15 | |
[heater_bed] | |
heater_pin: PA7 | |
sensor_type: EPCOS 100K B57560G104F | |
sensor_pin: PC4 | |
control: pid | |
pid_Kp: 68.385 | |
pid_Ki: 1.093 | |
pid_Kd: 1069.370 | |
min_temp: 0 | |
max_temp: 130 | |
[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 | |
serial: /dev/serial/by-path/platform-fd500000.pcie-pci-0000:01:00.0-usb-0:1.4:1.0-port0 | |
restart_method: command | |
[printer] | |
kinematics: cartesian | |
max_velocity: 150 | |
max_accel: 2000 | |
#max_accel_to_decel: 3000 | |
max_z_velocity: 10 | |
square_corner_velocity: 5.0 | |
max_z_accel: 100 | |
[bltouch] | |
sensor_pin: ^PC14 | |
control_pin: PC13 | |
x_offset: -32 | |
y_offset: -41 | |
#z_offset: 2.900 | |
speed:10 | |
samples:3 | |
samples_result:average | |
probe_with_touch_mode: true | |
stow_on_each_sample: false | |
[safe_z_home] | |
home_xy_position: 147,154 | |
speed: 100 | |
z_hop: 10 | |
z_hop_speed: 5 | |
[bed_mesh] | |
speed: 100 | |
mesh_min: 7, 7 | |
mesh_max: 202, 190 | |
algorithm: bicubic | |
probe_count: 6,6 | |
fade_start: 1 | |
fade_end: 5 | |
fade_target: 0 | |
mesh_pps: 2,2 | |
algorithm: bicubic | |
bicubic_tension: 0.2 | |
[bed_screws] | |
screw1: 30, 30 | |
screw2: 205, 30 | |
screw3: 205, 195 | |
screw4: 30, 195 | |
[temperature_sensor Raspberry_Pi] | |
sensor_type: temperature_host | |
min_temp: 0 | |
max_temp: 100 | |
[virtual_sdcard] | |
#path: /home/pi/printer_data/gcodes | |
path: /home/pi/amorim_data/gcodes | |
[display_status] | |
[pause_resume] | |
#*# <---------------------- SAVE_CONFIG ----------------------> | |
#*# DO NOT EDIT THIS BLOCK OR BELOW. The contents are auto-generated. | |
#*# | |
#*# [input_shaper] | |
#*# shaper_type_x = mzv | |
#*# shaper_freq_x = 59.2 | |
#*# shaper_type_y = 2hump_ei | |
#*# shaper_freq_y = 43.4 | |
#*# | |
#*# [bltouch] | |
#*# z_offset = 1.799 | |
#*# | |
#*# [bed_mesh default] | |
#*# version = 1 | |
#*# points = | |
#*# -0.001667, -0.107500, -0.204167, -0.230000, -0.214167, -0.205000 | |
#*# 0.001667, -0.119167, -0.170000, -0.200833, -0.196667, -0.217500 | |
#*# 0.077500, -0.013333, -0.067500, -0.074167, -0.065000, -0.082500 | |
#*# 0.059167, -0.008333, -0.047500, -0.042500, -0.029167, -0.028333 | |
#*# 0.106667, 0.019167, -0.027500, -0.044167, -0.026667, -0.025833 | |
#*# 0.032500, -0.070833, -0.083333, -0.080833, -0.054167, -0.034167 | |
#*# x_count = 6 | |
#*# y_count = 6 | |
#*# mesh_x_pps = 2 | |
#*# mesh_y_pps = 2 | |
#*# algo = bicubic | |
#*# tension = 0.2 | |
#*# min_x = 7.0 | |
#*# max_x = 202.0 | |
#*# min_y = 7.0 | |
#*# max_y = 190.0 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
nice