-
Notifications
You must be signed in to change notification settings - Fork 3
/
overrides.cfg
200 lines (160 loc) · 5.53 KB
/
overrides.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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
# MOTOR INFORMATION 0.2
# AB LDO-35STH52-1504AH(VRN) 1.8 deg 1.5 amp 200 steps
# Z LDO-42STH25-1004CL200ET(VRN) 1.8 deg 1 amp 200 steps
# Extruder LDO-36STH20-1004AHG(XH) 1.8 deg 1 amp 200 steps
#-------------------------#
# START_PRINT SEQUENCE #
#-------------------------#
## The START_PRINT sequence is modular and fully customizable. A default START_PRINT sequence is auto-populated based on
## your probe choice (TAP, Dockable, Inductive), but if for some reasons you still want to modify it, please uncomment the following 3
## lines to define a new `variable_startprint_actions`. You can use any number of action or even duplicate some actions if needed.
## Available actions: "bed_soak", "extruder_preheating", "chamber_soak", "extruder_heating", "tilt_calib", "z_offset", "bedmesh", "purge", "clean", "primeline"
##
# [gcode_macro _USER_VARIABLES]
# variable_startprint_actions: "action1", "action2", ...
# gcode: # do not remove this line
[auto_speed]
[printer]
square_corner_velocity: 20
[idle_timeout]
timeout: 7200
gcode:
RESPOND MSG="Idle timeout reached"
#-------------------------#
# EXTRUDER/BED PIDs #
#-------------------------#
## Here is an example of some overrides for the PIDs. I put them here as almost everyone will use them,
## so just uncomment the following lines and change the values according to your own machine
[extruder]
rotation_distance: 4.683
sensor_type: ATC Semitec 104NT-4-R025H42G
# filament_density = 1.20
# filament_heat_capacity = 1.8
# control = mpc
# heater_power: 115
# cooling_fan: fan
# block_heat_capacity: 19.9341
# sensor_responsiveness: 0.0964833
# ambient_transfer: 0.198141
# fan_ambient_transfer: 0.198141, 0.17878, 0.16703
control: pid_v
pid_Kp=19.637
pid_Ki=2.019
pid_Kd=47.745
max_temp: 290
pressure_advance: 0.039 #0.038 is good too
pressure_advance_smooth_time: 0.04
[heater_bed]
control: pid
pid_Kp=67.219
pid_Ki=1.042
pid_Kd=1083.905
# control: mpc
#heater_power: 200
#ambient_temp_sensor: temperature_sensor beacon_coil
# block_heat_capacity: 940.836
# sensor_responsiveness: 0.00762336
# ambient_transfer: 2.05755
# [heater_bed]
# control: pid_v
# pid_Kp=51.548
# pid_Ki=0.730
# pid_Kd=910.463
[shaketune]
result_folder: ~/printer_data/config/ShakeTune_results
# The folder where the results will be stored. It will be created if it doesn't exist.
# number_of_results_to_keep: 3
# The number of results to keep in the result_folder. The oldest results will
# be automatically deleted after each runs.
# keep_raw_csv: False
# If True, the raw CSV files will be kept in the result_folder alongside the
# PNG graphs. If False, they will be deleted and only the graphs will be kept.
# show_macros_in_webui: True
# Mainsail and Fluidd doesn't create buttons for "system" macros that are not in the
# printer.cfg file. If you want to see the macros in the webui, set this to True.
# timeout: 300
# The maximum time in seconds to let Shake&Tune process the CSV files and generate the graphs.
[stepper_z]
dir_pin: !Z_DIR
position_endstop: 116.415 #116.400 #116.615 # Smaller position_endstop is less squish, bigger is more
# [input_shaper]
# smoother_freq_x: 86.4
# shaper_type_x: mzv
# smoother_freq_y: 51.8
# shaper_type_y: mzv
# #damping_ratio_x: 0.047
# #damping_ratio_y: 0.056
# enabled_extruders: extruder
[input_shaper]
shaper_freq_x: 79.2
shaper_type_x: mzv
shaper_freq_y: 59.5
shaper_type_y: mzv
damping_ratio_x: 0.039
damping_ratio_y: 0.046
#enabled_extruders: extruder
#-------------------------#
# Fans #
#-------------------------#
[controller_fan controller_fan]
fan_speed: .5
#-------------------------#
# Lights #
#-------------------------#
#OLD
# Disco on a stick
[neopixel caselight]
pin: mcu:LIGHT_NEOPIXEL
chain_count: 21
color_order: GRB
initial_RED: 1
initial_GREEN: 1
initial_BLUE: 1
# manual include since my order is different
# Neopixel leds used on the toolhead (stealthburner style)
[gcode_macro _USER_VARIABLES]
variable_status_leds_enabled: True
variable_status_leds_logo_led_name: "status_leds"
variable_status_leds_logo_idx: '3'
variable_status_leds_nozzle_led_name: "status_leds"
variable_status_leds_nozzle_idx: '1,2'
gcode:
# # Also include directly the leds control macros from here
# [include ./macros/hardware_functions/status_leds.cfg]
[neopixel status_leds]
pin: toolhead:STATUS_NEOPIXEL
# # The pin connected to the neopixel. This parameter must be provided.
# chain_count: 3
# # The number of Neopixel chips that are "daisy chained" to the
# # provided pin. The default is 1 (which indicates only a single
# # Neopixel is connected to the pin).
# color_order: GRBW
# # Set the pixel order required by the LED hardware. Options are GRB,
# # RGB, GRBW, or RGBW. The default is GRB.
# initial_RED: 0.0
# initial_GREEN: 0.0
# initial_BLUE: 0.0
# initial_WHITE: 1.0
# # Sets the initial LED color of the Neopixel. Each value should be
# # between 0.0 and 1.0. The WHITE option is only available on RGBW
# # LEDs. The default for each color is 0.#
# [led_effect bed_effects]
# leds:
# neopixel:caselight
# autostart: false
# frame_rate: 24
# heater: heater_bed
# layers:
# heater 50 0 add (1,1,0),(1,0,0)
# static 0 0 top (1,0,0)
#-------------------------#
# Additional Macros #
#-------------------------#
[gcode_shell_command backup_cfg]
command: ~/printer_data/config/autocommit.sh
timeout: 30
verbose: True
[gcode_macro BACKUP_CFG]
description: Backs up config directory GitHub
gcode:
RUN_SHELL_COMMAND CMD=backup_cfg