macro 有 override 机制,printer.cfg 中定义的标准的 macro 是可以直接被界面上的按钮使用的(比如取消、暂停、恢复) 取消(CANCEL_PRINT) 取消主要是没有上移 z 轴的问题,加一段上移的逻辑即可 {% if (printer.gcode_move.position.z + 10) < printer.toolhead.axis_maximum.z %} ; check that zhop doe...
[pause_resume] [gcode_macro CANCEL_PRINT] description: Cancel the actual running print rename_existing: CANCEL_PRINT_BASE gcode: TURN_OFF_HEATERS CANCEL_PRINT_BASE ### # 主板温度显示 ### [temperature_sensor MCU] sensor_type: temperature_mcu min_temp: 0 max_temp: 100 [temperature_sensor Lub...
[gcode_macro CANCEL_PRINT] description: Cancel the actual running print rename_existing: CANCEL_PRINT_BASE gcode: TURN_OFF_HEATERS CANCEL_PRINT_BASE G1 X10 F3000 M84 M106 S0 ### # 断料检测 ### # [filament_switch_sensor fila] # pause_on_runout: True#当设置为 "True "时,会在检测到耗...
[virtual_sdcard]path:~/gcode_files[gcode_macroCANCEL_PRINT]description:无实际作用,避免出现黄字报错rename_existing:CANCEL_PRINT_BASEgcode:### 用于调试[respond] 3、输出效应器:创建不同 DC 风扇配置# 直流风扇主要有三种: 两线风扇:VCC + GND,可以实现开和关两种状态,也可以通过调节输出电压来进行线性调速...
# on_error_gcode: CANCEL_PRINT # [include mainsail.cfg] [include um2-macros.cfg] [gcode_arcs] [mcu] serial: /dev/serial/by-id/usb-Ultimaker_BV__www.ultimaker.com__Ultimaker_2.0-if00 [stepper_x] step_pin: PA3 dir_pin: !PA1 ...
[virtual_sdcard]path:~/printer_data/gcodes[gcode_macroCANCEL_PRINT]rename_existing:CANCEL_PRINT_BASEgcode:# 以下为可选配置[respond] [force_move]enable_force_move:True[temperature_sensorhost]sensor_type=temperature_host 连接后如图所示: 2.2 配置摄像头串流# ...
[gcode_macro CANCEL_PRINT] description: Cancel the actual runningprintrename_existing: CANCEL_PRINT_BASE gcode: TURN_OFF_HEATERS CANCEL_PRINT_BASE### # 主板温度显示 ### [temperature_sensor MCU] sensor_type: temperature_mcu min_temp:0max_temp:...
CLEAR_PAUSE: Clears the current paused state without resuming the print. This is useful if one decides to cancel a print after a PAUSE. It is recommended to add this to your start gcode to make sure the paused state is fresh for each print. CANCEL_PRINT CANCEL_PRINT: Cancels the cur...
鸽子的折腾日记②丨Klipper的安装
Pause, Resume, Cancel PAUSE Pauses the current print. X(default:variable_park_x)- Absolute X parking coordinate. Y(default:variable_park_y)- Absolute Y parking coordinate. Z(default:variable_park_z)- Relative Z parking coordinate E(default:5)- Retraction length to prevent ooze. ...