-
Notifications
You must be signed in to change notification settings - Fork 2
/
°ADV_macro.cfg
596 lines (436 loc) · 27.6 KB
/
°ADV_macro.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
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
# https://github.com/Travis90x/Klipper-configuration/blob/main/printer.example.cfg
## USEFULL COMMANDS
# ./kiauh/kiauh.sh
# sudo ls /dev/serial/by-id/*
# find device -d
# ls /dev/v4l/by-id/*
# v4l2-ctl --list-devices
# https://github.com/Travis90x/Klipper-configuration/blob/main/printer.example.cfg
## INLCUDE WHAT YOU NEED IN YOUR PRINTER.CFG
# Macro UPDATE_KLIPPER_CONFIGURATION - to update GIT & reinstall Klipper-configuration
[include config/scripts/update/klipper-configuration/klipper-configuration.cfg]
# ███╗ ███╗ █████╗ ██╗███╗ ██╗███████╗ █████╗ ██╗██╗
# ████╗ ████║██╔══██╗██║████╗ ██║██╔════╝██╔══██╗██║██║
# ██╔████╔██║███████║██║██╔██╗ ██║███████╗███████║██║██║
# ██║╚██╔╝██║██╔══██║██║██║╚██╗██║╚════██║██╔══██║██║██║
# ██║ ╚═╝ ██║██║ ██║██║██║ ╚████║███████║██║ ██║██║███████╗
# ╚═╝ ╚═╝╚═╝ ╚═╝╚═╝╚═╝ ╚═══╝╚══════╝╚═╝ ╚═╝╚═╝╚══════╝
#
# [include config/sensors/probe/z_calibration_IDM.cfg]
# Mainsail Pause/Macro at/next layer
[include config/macros/mainsail_macro.cfg]
[include config/macros/mainsail_custom.cfg]
[gcode_macro _CLIENT_VARIABLE]
variable_use_custom_pos : True ; use custom park coordinates for x,y [True/False]
variable_custom_park_x : 150.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 : 5.0 ; custom dz value; the value in mm to lift the nozzle when move to park position
variable_retract : 2.0 ; the value to retract while PAUSE
variable_cancel_retract : 5.0 ; the value to retract while CANCEL_PRINT
variable_speed_retract : 40.0 ; retract speed in mm/s
variable_unretract : 2.0 ; the value to unretract while RESUME
variable_speed_unretract : 60.0 ; unretract speed in mm/s
variable_speed_hop : 15.0 ; z move speed in mm/s
variable_speed_move : 150.0 ; move speed in mm/s
variable_park_at_cancel : True ; allow to move the toolhead to park while execute CANCEL_PRINT [True/False]
variable_park_at_cancel_x : 300.0 ; different park position during CANCEL_PRINT [None/Position as Float]; park_at_cancel must be True
variable_park_at_cancel_y : 300.0 ; different park position during CANCEL_PRINT [None/Position as Float]; park_at_cancel must be True
# !!! Caution [firmware_retraction] must be defined in the printer.cfg if you set use_fw_retract: True !!!
variable_use_fw_retract : True ; use fw_retraction instead of the manual version [True/False]
gcode:
# ███╗ ███╗ █████╗ ██████╗██████╗ ██████╗ ███████╗
# ████╗ ████║██╔══██╗██╔════╝██╔══██╗██╔═══██╗██╔════╝
# ██╔████╔██║███████║██║ ██████╔╝██║ ██║███████╗
# ██║╚██╔╝██║██╔══██║██║ ██╔══██╗██║ ██║╚════██║
# ██║ ╚═╝ ██║██║ ██║╚██████╗██║ ██║╚██████╔╝███████║
# ╚═╝ ╚═╝╚═╝ ╚═╝ ╚═════╝╚═╝ ╚═╝ ╚═════╝ ╚══════╝
#
# Variables for Advanced Macro
# To include variabile add belove gcode:
# {% set macro = printer['gcode_macro _MACRO_VARIABLE']|default({}) %}
# Recall the value "variable_webcam_control" as {macro.webcam_control}
[gcode_macro _MACRO_VARIABLE]
variable_webcam_control : True ; Enable WEBCAM_ON _OFF macro
variable_purge_park_x : -1 ; Purge from extruder to cold end
variable_purge_park_y : 0 ; Purge from extruder to cold end
variable_z_safe : 3 # edit your Z lift amount for purge
variable_z_safe_probe : 15 ; Lift Z for Probe
variable_start_purge_short_lenght : 10 ; Purge from cold end to nozzle
variable_start_purge_short_speed : 1
variable_start_purge_long_lenght : 40 ; Purge from extruder to cold end
variable_start_purge_long_speed : 3
variable_speed_move : 200 ; Speed for cooling END_PRINT
variable_cooling_park_x : 155 ; Purge from extruder to cold end
variable_cooling_park_y : 155 ; Purge from extruder to cold end
variable_exhaust_fan_on : False ; Set ON or OFF Exhaust Fan
variable_exhaust_fan_speed : 1.0 ; Set from 0.0 to 1.0
variable_exhaust_fan_time : 60 ; in seconds
variable_timeout_power_off : 300 ; in seconds # config/scripts/timeout/timeout.cfg
gcode:
# BEEPER
# [include config/output/beeper.cfg]
# [include config/macros/beeper.cfg]
[board_pins beeper_pin]
aliases:
beeper_pin=PC5
# Store printer.cfg backup in folder backup and clean old files except last 10
[include config/scripts/backup/printer.cfg-backup.cfg]
# Go to center position
[include config/macros/center.cfg]
# Go to clean position
[include config/macros/clean.cfg]
# CPU LOG
# MACRO to start and stop CPU log
# RUN_SHELL_COMMAND CMD=LOG_CPU_START
# RUN_SHELL_COMMAND CMD=LOG_CPU_STOP
[include config/scripts/cpu/cpu_log.cfg] # CPU log load
# Custom Bed Mesh
# [include config/macros/custom_bed_mesh.cfg]
# Exclude Objects
[include config/macros/exclude_object.cfg]
# Extruder disable
[include config/macros/extruder.cfg]
# Fake Homing - Set Kinematic Position
[include config/macros/fake_homing.cfg]
# Homing only if not homed
[include config/macros/homing_if_not.cfg]
# Klipper logs clean # macro: LOGS_KLIPPER_CLEAN
[include config/scripts/logs/klipper/klipper_logs_clean.cfg]
# KLIPPERSCREEN ANDROID
[include config/scripts/klipperscreen/klipperscreen-android.cfg] # Switch Klipperscreen USB adb or Wifi on Android
# LED STRIP
# [include config/neopixel/led.cfg]
[board_pins led_strip]
aliases:
led_1_strip_pin=PE3 # Set the PWM Pin for LED Strip
# Add in your START_PRINTER macro the command SET_PIN PIN=LED_Strip VALUE=5 # Set Led Strip at 5%
# Mesh on Screws
[include config/macros/mesh_screws.cfg]
# Multiple Homing for precise calibration
[include config/macros/precise_homing.cfg]
# Multiple Homing Override with Precise Homing
# [include config/macros/homing_override.cfg]
# PID Tuning
[include config/macros/pid_tuning.cfg]
# POWER LOSS RECOVERY
[include config/scripts/power-loss-recovery/power-loss-recovery.cfg] # Power Loss Recovery
# Save Pending config SAVE_CONFIG
[include config/macros/save_pending.cfg] # Save pending config after END_PRINT
# Use UPDATE_DELAYED_GCODE ID=SAVE_PENDING DURATION=10
# Servo 360 Brush cleaner
[include config/servo/clean_brush_servo_360.cfg]
# Set bed to sensor
[include config/scripts/start/set_bed_to_sensor.cfg]
# Silent Mode
[include config/macros/silent_mode.cfg]
# Speed Test
[include config/macros/speed_test_delta.cfg]
[include config/macros/speet_test_corexy.cfg]
[include config/macros/speed_test_corexy_no_homing.cfg]
# Spoolman
[include config/scripts/spoolman/spoolman.cfg]
##############################################################################
# TIMEOUT: auto shutdowm printer
[include config/scripts/timeout/timeout.cfg] # Timeout turn off timer
# Set the default time in variable_timeout_power_off above
# use UPDATE_DELAYED_GCODE ID=POWER_OFF_PRINTER_CHECK DURATION=300 in your START_PRINTER with the time you need
# Now choose the device you use as relay
# Tasmota Device (SonOFF) - turn on/off printer
[include config/scripts/timeout/tasmota_power_on_off.cfg]
# In Moonraker.conf add without the first "# "
#######################################
# [power power]
# type: tasmota
# address: 192.168.1.X
# # object_name: gcode_macro WEBCAMD_OFF
# # object_name: gcode_macro poweroff
# password: YourTasmotaPasswordIfNeeded
# locked_while_printing: true
# restart_klipper_when_powered: True
# restart_delay: 5.
#######################################
##############################################################################
# Tuning Towers - Accel, Temp, Retraction Distance, Retraction Speed, Pressure Advance
[include config/macros/tuning_tower.cfg]
# TVbox Temp
[include config/boards/tvbox_temp.cfg]
# USB
[include config/scripts/usb/usb.cfg] # USB key mount & copy gcodes from "gcodes" folder in the root
# Wait temp faster, with custom tolerance
[include config/macros/wait_temp.cfg]
# WEBCAM
[include config/scripts/webcam/webcam-service.cfg] # Start & Stop Webcam Service: crowsnest & webcamd
# WIFI
[include config/scripts/wifi/wifi.cfg] # CHANGE DELETE SHOW WIFI
# Z SAFE moving
[include config/macros/Z_SAFE.cfg] # Z_SAFE or ZSAFE Z=100 during printing too
#######################################
#
# ███████╗ █████╗ ███╗ ██╗
# ██╔════╝██╔══██╗████╗ ██║
# █████╗ ███████║██╔██╗ ██║
# ██╔══╝ ██╔══██║██║╚██╗██║
# ██║ ██║ ██║██║ ╚████║
# ╚═╝ ╚═╝ ╚═╝╚═╝ ╚═══╝
#
# FANS
#######################################
#################
# Orca Slicer
# Define your "Print Cooling Fan" (Cpap or fan ducts fan) not as [fan] but as
# [fan_generic fan0] for M106 or M106 P0
# Define Auxiliary_fan (RSCS) as [fan_generic fan2] for M106 P2
# Define Exhaust_fan as [fan_generic fan3] for M106 P3
# M106 without S param will be S255 (100%)
# [include config/fans/auxiliary_fan.cfg] # with no multiplier
# Orca M106 with Fan Multiplier
[include config/fans/orca_fan_multiplier.cfg]
# Timeout for Exhaust_fan as M106 P3
[include config/fans/exhaust_p3.cfg]
#################
# Fans named with string
# RSCS as RSCS - M106 P2
# Please Re-define your [fan] as [fan_generic FANDUCTS] for M106 or M106 P1
# Define RSCS as [fan_generic RSCS] for M106 P2 -
# M106 without S param, will be S255 (100%)
# [include config/fans/RSCS.cfg]
# Exhaust_fan (Hepa Filter)
# Define as [fan_generic Exhaust_fan]
# [include config/fans/exhaust.cfg]
# ██████╗ ██████╗ ██████╗ ██████╗ ███████╗
# ██╔══██╗██╔══██╗██╔═══██╗██╔══██╗██╔════╝
# ██████╔╝██████╔╝██║ ██║██████╔╝█████╗
# ██╔═══╝ ██╔══██╗██║ ██║██╔══██╗██╔══╝
# ██║ ██║ ██║╚██████╔╝██████╔╝███████╗
# ╚═╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚══════╝
# PROBE
# Simple Macro PROBE - PROBE_ACCURACY - QUERY_PROBE
[include config/sensors/probe/macro_probe.cfg]
# Choose your Probe
# Probe Endstop Z (Ex: Klicky Probe)
# [include config/sensors/probe/probe.cfg]
# BL-Touch DEBUG MACRO
# [include config/sensors/probe/bl-touch.cfg]
# Beacon # https://docs.beacon3d.com/
# [include config/sensors/probe/beacon.cfg]
# IDM # https://gitee.com/NBTP/IDM.git
[include config/sensors/probe/IDM.cfg]
# ███╗ ███╗ ██████╗██╗ ██╗
# ████╗ ████║██╔════╝██║ ██║
# ██╔████╔██║██║ ██║ ██║
# ██║╚██╔╝██║██║ ██║ ██║
# ██║ ╚═╝ ██║╚██████╗╚██████╔╝
# ╚═╝ ╚═╝ ╚═════╝ ╚═════╝
#
# mcu
# [include config/mcu/Raspberry.cfg] # Raspberry as MCU
# [include config/mcu/RP2040_clkdiv.cfg] # RP2040 clkdiv CHIP - https://travis90x.altervista.org/it/klipper-adxl345-raspberry-pi-rp2040-zero/
# [include config/mcu/RP2040_03H.cfg] # RP2040 03H CHIP - https://travis90x.altervista.org/it/klipper-adxl345-raspberry-pi-rp2040-zero/
# [include config/mcu/RP2040_RGB_LED.cfg] # Led RP2040
# [include config/mcu/RP2040_temperature.cfg] # Temperature RP2040
# ██╗███╗ ██╗██████╗ ██╗ ██╗████████╗
# ██║████╗ ██║██╔══██╗██║ ██║╚══██╔══╝
# ██║██╔██╗ ██║██████╔╝██║ ██║ ██║
# ██║██║╚██╗██║██╔═══╝ ██║ ██║ ██║
# ██║██║ ╚████║██║ ╚██████╔╝ ██║
# ╚═╝╚═╝ ╚═══╝╚═╝ ╚═════╝ ╚═╝
#
# ███████╗██╗ ██╗ █████╗ ██████╗ ██╗███╗ ██╗ ██████╗
# ██╔════╝██║ ██║██╔══██╗██╔══██╗██║████╗ ██║██╔════╝
# ███████╗███████║███████║██████╔╝██║██╔██╗ ██║██║ ███╗
# ╚════██║██╔══██║██╔══██║██╔═══╝ ██║██║╚██╗██║██║ ██║
# ███████║██║ ██║██║ ██║██║ ██║██║ ╚████║╚██████╔╝
# ╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝
# INPUT SHAPING
# MACRO
[include config/scripts/input-shaping/input-shaping.cfg] # Macro for Input Shaping
[include config/scripts/input-shaping/shaper-graphs.cfg] # Shaper Graphs for Input Shaping
## 1) Choose ADXL345 or LIS2DW - Edit center coordinate, min_freq and max_freq
# Or add the code of this CFG in your printer.cfg
# [include config/accelerometer/adxl345.cfg] # [Resonance Tester]
[include config/accelerometer/lis2dw.cfg] # Chip lis2dw without MCU
## 2) Now enable one of these for ADXL345 MCU or include MCU above (Raspberry or RP2040)
# [include config/accelerometer/adxl345_Raspberry.cfg] # Adxl345 connected to Raspberry - Attention: include config/mcu/Raspberry.cfg
# [include config/accelerometer/adxl345_RP2040.cfg] # connected to -> cs_pin: RP2040:gpio1 spi_bus: spi0a - Attention: include config/mcu/RP2040_*
# [include config/accelerometer/adxl345_RP2040_fysetc.cfg] # FYSETC USB - https://github.com/FYSETC/FYSETC-PortableInputShaper
# [include config/accelerometer/adxl345_RP2040_mellow.cfg] # MELLOW USB - https://it.aliexpress.com/i/1005005486458306.html?gatewayAdapt=glo2ita
# [include config/accelerometer/adxl345_octopus_spi3.cfg] # ADXL on BTT Octopus SPI3
# [include config/accelerometer/adxl345_mks-robin-nano-1.2_sdcard.cfg] # ADXL on Sdcard MKS Robin Nano 1.2
[include config/accelerometer/lis2dw_IDM.cfg] # IDM with lis2dw - Attention: include config/sensors/probe/IDM.cfg
######################################################################
# ███████╗██╗██╗ █████╗ ███╗ ███╗███████╗███╗ ██╗████████╗
# ██╔════╝██║██║ ██╔══██╗████╗ ████║██╔════╝████╗ ██║╚══██╔══╝
# █████╗ ██║██║ ███████║██╔████╔██║█████╗ ██╔██╗ ██║ ██║
# ██╔══╝ ██║██║ ██╔══██║██║╚██╔╝██║██╔══╝ ██║╚██╗██║ ██║
# ██║ ██║███████╗██║ ██║██║ ╚═╝ ██║███████╗██║ ╚████║ ██║
# ╚═╝ ╚═╝╚══════╝╚═╝ ╚═╝╚═╝ ╚═╝╚══════╝╚═╝ ╚═══╝ ╚═╝
#
# Filament Runout or Encoder
######################################################################
#####################
# 1) SET YOUR PINS #
#####################
######################################################################
############### Buttons for manual Load Unload Filament ##############
######################################################################
# Set PINS for your board
# [board_pins filament_button]
# button_load_pin= Your PIN # Uncomment only if there is a dedicated "load button" (a button for manual load)
# button_unload_pin= Your PIN # Uncomment only if there is a dedicated "unload button" (a button for manual unload)
# FILAMENT BUTTON MACRO LOAD/UNLOAD # ( uncomment above button_load_pin button_unload_pin)
# [include config/sensors/filament_runout/button_load.cfg]
# [include config/sensors/filament_runout/button_unload.cfg]
#########################################
####### SWITCH and/or ENCODER PINS ######
#########################################
# Set PINS for your board
[board_pins filament_runout]
aliases:
filament_switch_pin= PE12, # set your runnout SWITCH PIN
filament_encoder_pin= PB5 # set your ENCODER PIN
[duplicate_pin_override] #needed for debug
pins:
filament_switch_pin, filament_encoder_pin, filament_unload, filament_load
##################################
# 2) SET YOUR MACRO LOAD UNLOAD #
##################################
################################
# ADVANCED FILAMENT MACRO ( LOAD - UNLOAD - PURGE )
################################
[include config/sensors/filament_runout/FILAMENT_LOAD.cfg]
[include config/sensors/filament_runout/FILAMENT_UNLOAD.cfg]
# Avoid Runout during Start purging
# use macro FILAMENT_SENSORS_DISABLE in the first part of your START_PRINT
# use macro FILAMENT_SENSORS_RESTORE in the last part of your START_PRINT (or LAST_START_PRINT)
[include config/sensors/filament_runout/start_disable_sensors.cfg]
# If you use an ENCODER, it is recommended to use the macro below
# to avoid false positives of the encoder by performing X attempts of purge
# before pause and autounload the filament
[include config/sensors/filament_runout/FILAMENT_PURGE.cfg]
# Z Lift for filament change
[include config/sensors/filament_runout/filament_z_safe.cfg]
########################
# SIMPLE LOAD - UNLOAD #
########################
# [include config/sensors/filament_runout/simple_load_unload.cfg]
###########################################
# 3) SET YOUR CHANGE FILAMENT MACRO M600 #
###########################################
# CHANGE FILAMENT: M600 (change during printing), CHANGE_FILAMENT (change while not printing), M701, M702
# These recall PAUSE - FILAMENT_LOAD - FILAMENT_UNLOAD - FILAMENT_PURGE
[include config/sensors/filament_runout/filament_change.cfg]
[include config/sensors/filament_runout/temp_save_restore.cfg]
#####################################################
# 4) SET YOUR MACRO AUTOLOAD AUTOUNLOAD ON RUNNOUT #
#####################################################
# ADVANCED AUTO_LOAD - AUTO_UNLOAD #
# Auto Load/Unload with Switch/Encoder + Attemps to Purge before runnout
[include config/sensors/filament_runout/advanced_filament_macro.cfg]
# ORBITER AUTO_LOAD - AUTO_UNLOAD #
# [include config/sensors/filament_runout/orbiter_filament_macro.cfg]
# Facoltative - Replace your PAUSE code with Orbiter Code
# [include config/sensors/filament_runout/pause_orbiter.cfg]
#################################################################
# 5) CHOOSE SIMPLE OR ADVANCED RUNNOUT (SWTICH AND/OR ENCODER) #
#################################################################
# BigTreeTech BTT Smart Filament Sensor V2 has both SWITCH and ENCODER
# so you can use both "SWITCH" and "ENCODER"
######################################
#### SIMPLE RUNNOUT + SIMPLE M600 ###
######################################
# SIMPLE SWITCH
# [include config/sensors/filament_runout/filament_sensor.cfg] # Filament sensor with switch
# SIMPLE ENCODER
# [include config/sensors/filament_runout/filament_encoder.cfg] # Filament sensor with encoder
######################################
######### ADVANCED RUNNOUT #########
######################################
# ADVANCED SWITCH (for switch and BTT Smart Filament V2 too)
[include config/sensors/filament_runout/advanced_filament_sensor.cfg] # Filament sensor with switch
# ADVANCED ENCODER (BTT Smart Filament V1 and V2)
[include config/sensors/filament_runout/advanced_filament_encoder.cfg] # Filament sensor with encoder starts AUTO_LOAD_FILAMENT
#######################################################
# 6) SET YOUR DEBUG MACRO FOR RUNNOUT SENSOR/ENCODER #
#######################################################
# Macro to Activate/Deactivate/Test Filament Sensor
[include config/sensors/filament_runout/debug_sensor.cfg]
# Macro to Activate/Deactivate/Test Filament Encoder
[include config/sensors/filament_runout/debug_encoder.cfg]
[gcode_macro _SENSOR_VARIABLES] # change here macro configurables, enable disable functions!*************************
variable_filament_load_temp : 230 # temperature to heat up hotend for filament loading, default is 235
variable_filament_load_min_temp : 225 # minimum hotend set temperature allowed in filament load macro, default is 190
variable_filament_unload_temp : 230 # temperature to heat up hotend for filament un-loading, default is 185
variable_filament_unload_min_temp : 225 # temperature to heat up hotend for filament un-loading, default is 185
variable_disable_autoload : False # disable filament autoload feature by setting this variable True
variable_disable_runnout : False # disable runnout by setting this variable True
variable_disable_autounload : False # disable auto unload filament by setting this variable to True
variable_enable_beep : False # uses M300 sound feature, set it True to enable
variable_park_position_x : -1 # edit your X parking position here for pause macro trigerred by runnout
variable_park_position_y : 0 # edit your Y parking position here for pause macro trigerred by runnout
variable_park_lift_z : 3 # edit your Z lift amount for parking position here, default is 10
Variable_park_retraction : 1 # edit your retraction amount for parking, default is 1
variable_enable_attempts_purge : True # On runnout try to purge and resume print, if runnout persists go to the runout procedure
variable_attempts_purge : 1 # How many purge attempts to make before proceeding with the runout
variable_attempts_temp : 231 # temperature to heat up hotend for attempts purge
variable_attempts_retraction : 5 # retraction before attempts purge
variable_attempts_purge_speed : 5 # filament purge speed in mm/s
variable_attempts_purge_length : 30 # filament purge amount
variable_attempts_park_position_x : -1 # edit your X parking position here for purge
variable_attempts_park_position_y : 0 # edit your Y parking position here for purge
variable_attempts_park_lift_z : 3 # Z_Lift Z mm
variable_short_filament_distance : 10 # The height of heatblock
variable_short_filament_speed : 1 # The slow speed mm/s
variable_long_filament_distance : 50 # The distance from extruder to heat block
variable_long_filament_speed : 3 # The fast speed from extruder to heat block mm/s
variable_move_speed : 100 # mm/s
gcode:
############################################
########## END ORBITER MACRO END ###########
############################################
# ██████╗██╗ ██╗████████╗████████╗███████╗██████╗
# ██╔════╝██║ ██║╚══██╔══╝╚══██╔══╝██╔════╝██╔══██╗
# ██║ ██║ ██║ ██║ ██║ █████╗ ██████╔╝
# ██║ ██║ ██║ ██║ ██║ ██╔══╝ ██╔══██╗
# ╚██████╗╚██████╔╝ ██║ ██║ ███████╗██║ ██║
# ╚═════╝ ╚═════╝ ╚═╝ ╚═╝ ╚══════╝╚═╝ ╚═╝
#
[include config/servo/cutter.cfg] # Macro for cut the filament
[gcode_macro _CUTTER_VARIABLES]
variable_safe_x : 300 # Coordinate X
variable_safe_y : 20 # Coordinate Y
variable_safe_speed : 100 # mm/s Speed to go in safe position
variable_cutting_x : 300 # Coordinate X for cutting
variable_cutting_y : 0 # Coordinate Y for cutting
variable_cutting_speed : 300 # mm/s Cutting speed
gcode:
# ██████╗ ██████╗ ██████╗ ██╗███╗ ██╗
# ██╔══██╗██╔═══██╗██╔══██╗██║████╗ ██║
# ██████╔╝██║ ██║██████╔╝██║██╔██╗ ██║
# ██╔══██╗██║ ██║██╔══██╗██║██║╚██╗██║
# ██║ ██║╚██████╔╝██████╔╝██║██║ ╚████║
# ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═╝╚═╝ ╚═══╝
#
# ███╗ ██╗ █████╗ ███╗ ██╗ ██████╗
# ████╗ ██║██╔══██╗████╗ ██║██╔═══██╗
# ██╔██╗ ██║███████║██╔██╗ ██║██║ ██║
# ██║╚██╗██║██╔══██║██║╚██╗██║██║ ██║
# ██║ ╚████║██║ ██║██║ ╚████║╚██████╔╝
# ╚═╝ ╚═══╝╚═╝ ╚═╝╚═╝ ╚═══╝ ╚═════╝
#
# Only for MKS Robin Nano 1.2
# ROBIN NANO 1.2
# [include config/boards/mks-robin-nano-1.2/config.cfg]
# So you can set Motor pin in this way
##############################
# [stepper_x]
# step_pin: 1_step_pin
# dir_pin: 1_dir_pin
# enable_pin: !1_enable_pin
# endstop_pin: 1_endstop_pin
# [tmc2209 stepper_x]
# uart_pin: wifi_rx
##############################
# BUZZER MKS Robin Nano 1.2
# [include config/boards/mks-robin-nano-1.2/buzzer.cfg] # Buzzer from Robin Nano Display
# ADXL Robin Nano 1.2 on SD card pins # https://travis90x.altervista.org/klipper-adxl345-raspberry-pi-rp2040-zero/
# [include config/adxl345/mcu/mks-robin-nano-1.2/robin-nano.cfg]