-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathprinter_base.cfg
104 lines (95 loc) · 3.48 KB
/
printer_base.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
##############################################################################################################
[gcode_macro _SETTINGS]
gcode:
# global settings
variable_use_kamp: 1 # use adaptive mesh bed leveling
variable_heat_soak_threshold: 110 # enable heat soak when tool temperature is above this value
variable_temperature_compensation: 1 # use temperature compensation for tool
variable_apply_global_offsets: 0 # apply global offsets to tool
variable_enable_tool_detection: 1 # enable tool detection switch
variable_remember_position: 0 # remember and restore position after tool change
variable_save_tool_offsets: 0 # whether to save tool offset when unmount
variable_bed_mesh_before_print: 1 # whether to do G29 before print
variable_standby_tool_start_off: 1 # whether to turn off standby tool when start print
# temperature compensation coefficients
# I observed the nozzle will expand while heated, and is will give significant effect on the first layer
# so I use a temperature compensation to compensate this effect.
# the coifficients are not measured, but are estimated. and it dosen't seem to be linear.
variable_compensation_coeffs: {
'0': {
'low': 0.0007,
'high': 0.0009,
},
'1': {
'low': 0.0007,
'high': 0.0009,
},
'2': {
'low': 0.0007,
'high': 0.0009,
},
'3': {
'low': 0.0008,
'high': 0.0010,
},
}
##############################################################################################################
# save variables (this must be the first section)
[save_variables]
filename: ~/printer_data/config/variables.cfg
# mainsail
[include mainsail.cfg]
[include settings/mainsail_client.cfg]
[temperature_sensor mcu_temp]
sensor_type: temperature_mcu
min_temp: -10
max_temp: 100
[temperature_sensor raspberry_pi]
sensor_type: temperature_host
min_temp: -10
max_temp: 100
# enable exclude object
[exclude_object]
##############################################################################################################
# duet2
[include duet2/mcu.cfg]
# [include duet2/stepper_x.cfg]
[include duet2/stepper_x_e5.cfg] # my stepper driver x is broken
[include duet2/stepper_y.cfg]
[include duet2/stepper_z.cfg]
[include duet2/stepper_c.cfg]
[include duet2/extruder.cfg]
[include duet2/extruder1.cfg]
[include duet2/extruder2.cfg]
[include duet2/extruder3.cfg]
# [include duet2/bed.cfg] # orignal bed
[include duet2/bed-ac.cfg] # ac bed
[include duet2/fan.cfg]
[include duet2/led.cfg]
##############################################################################################################
# printer
[include settings/basic.cfg]
[include settings/bed_mesh.cfg]
[include settings/input_shaper.cfg]
[include settings/timeout.cfg]
[include settings/pwrfail.cfg]
[include tools/tools.cfg]
##############################################################################################################
# macros
[include macros/cancel.cfg]
[include macros/coldpull.cfg]
[include macros/debug.cfg]
[include macros/filament.cfg]
[include macros/G28.cfg]
[include macros/G29.cfg]
[include macros/graphs.cfg]
[include macros/heaters.cfg]
[include macros/heatsoak.cfg]
[include macros/led.cfg]
[include macros/M18.cfg]
[include macros/pressure_adv.cfg]
[include macros/prime.cfg]
[include macros/startstop.cfg]
[include macros/settings.cfg]
[include macros/utility.cfg]
[include macros/fans.cfg]