-
Notifications
You must be signed in to change notification settings - Fork 0
/
klipper-macros.cfg
92 lines (73 loc) · 3.69 KB
/
klipper-macros.cfg
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
# All customizations are documented in globals.cfg. Just copy a variable from
# there into the section below, and change the value to meet your needs.
[gcode_macro _km_options]
# These are examples of some likely customizations:
#Sensorless custom start
# https://github.com/jschuh/klipper-macros/discussions/165
# X position to park toolhead (set "max" or "min" to infer from stepper config).
variable_park_x: 70.0
# Y position to park toolhead (set "max" or "min" to infer from stepper config).
variable_park_y: 10.0
variable_start_end_park_y: 260.0 # Defaults to print_max Y. Was 290
#sensorless custom end
# Any sheets in the below list will be available with a configurable offset.
#variable_bed_surfaces: ['smooth_1','texture_1']
# Length (in mm) of filament to load (bowden tubes will be longer).
#variable_load_length: 90.0
# Hide the Octoprint LCD menu since I don't use it.
variable_menu_show_octoprint: False
# Customize the filament menus (up to 10 entries).
variable_menu_temperature: [
{'name' : 'PLA', 'extruder' : 200.0, 'bed' : 60.0},
{'name' : 'PETG', 'extruder' : 235.0, 'bed' : 81.0},
{'name' : 'ABS', 'extruder' : 260.0, 'bed' : 105.0, 'chamber' : 50}]
# Length of filament (in millimeters) to purge at print start.
variable_start_purge_length: 30 # This value works for most setups.
# Length of filament (in millimeters) to prime before drawing purge lines.
variable_start_purge_prime_length: 6.0
# X and Y travel speed (in mm/m) for movement macros.
variable_travel_speed_xy: 12000 #3000 is 50mm/s
#(default: True) - If True the extruder is set to its target temperature before
#bed leveling begins. If False the target is set after bed level completes.
#Setting True warms up the extruder faster and False prevents oozing during
#bed level. The extruder preheat is applied independent of this setting.
#########variable_start_extruder_set_target_before_level: False
# If non-zero the extruder will stabilize at this temp before probing the bed.
variable_start_extruder_probing_temp: 160
#This value is multiplied by the target extruder temperature and the result is
#used as the preheat value for the extruder while the bed is heating to prevent ooze
variable_start_extruder_preheat_scale: 0.65
gcode: # This line is required by Klipper.
# Any code you put here will run at klipper startup, after the initialization
# for these macros. For example, you could uncomment the following line to
# automatically adjust your bed surface offsets to account for any changes made
# to your Z endstop or probe offset.
# ADJUST_SURFACE_OFFSETS
# This line includes all the standard macros.
[include klipper-macros/*.cfg]
# Uncomment to include features that require specific hardware support.
# LCD menu support for features like bed surface selection and pause next layer.
[include klipper-macros/optional/lcd_menus.cfg]
# Optimized bed leveling
[include klipper-macros/optional/bed_mesh.cfg]
# The sections below here are required for the macros to work. If your config
# already has some of these sections you should merge the duplicates into one
# (or if they are identical just remove one of them).
[idle_timeout]
gcode:
_KM_IDLE_TIMEOUT # This line must be in your idle_timeout section.
[pause_resume]
[respond]
[save_variables]
#filename: ~/printer_data/variables.cfg # UPDATE THIS FOR YOUR PATH!!!
filename: ~/printer_data/klipper-macros.cfg # UPDATE THIS FOR YOUR PATH!!!
#[virtual_sdcard]
#path: ~/gcode_files # UPDATE THIS FOR YOUR PATH!!!
[virtual_sdcard]
path: ~/printer_data/gcodes
on_error_gcode: CANCEL_PRINT
[display_status]
# Uncomment the sections below if Fluidd complains (because it's confused).
#[gcode_macro CANCEL_PRINT]
#rename_existing: CANCEL_PRINT_FAKE_BASE
#gcode: CANCEL_PRINT_FAKE_BASE {rawparams}