メインコンテンツまでスキップ

一時停止・印刷中止時のカスタム位置

  • printer.cfg内に[include mainsail.cfg]または[include fluidd.cfg]を追加する必要があります。さもなくば機能しません。
  • 下記のマクロをprinter.cfgに追加してください。
備考
  • 設定ファイル内のgcode:は削除してはいけません

Japanese Translation

[gcode_macro _CLIENT_VARIABLE]
### 一時停止マクロ関連のカスタム設定
variable_use_custom_pos : False ; x, yのカスタムドッキング座標を使用するか [True/False]
variable_custom_park_x : 0.0 ; 印刷一時停止時のX位置
variable_custom_park_y : 0.0 ; 印刷一時停止時のY位置
variable_custom_park_dz : 2.0 ; 印刷一時停止時にノズルを上昇させる距離 (ミリメートル)

### 印刷中止マクロ関連のカスタム設定
variable_park_at_cancel : False ; 印刷中止マクロ実行時にツールヘッドを駐車位置に移動させるか [True/False]
variable_park_at_cancel_x : None ; 印刷中止後のX位置
variable_park_at_cancel_y : None ; 印刷中止後のY位置

### 一時停止および中止時のエクストルーダー動作
variable_retract : 1.0 ; 印刷一時停止時のエクストルーダーのリトラクト量(mm)
variable_cancel_retract : 5.0 ; 印刷中止時のエクストルーダーのリトラクト量(mm)
variable_speed_retract : 35.0 ; エクストルーダーリトラクト速度 mm/s
variable_unretract : 1.0 ; 印刷再開時のエクストルード量
variable_speed_unretract : 35.0 ; エクストルーダーのエクストルード速度 mm/s
variable_speed_hop : 15.0 ; Z軸移動速度 mm/s
variable_speed_move : 100.0 ; 移動速度 mm/s

### モーターおよびヒーターの停止設定
### 1日は86400秒
variable_idle_timeout : 0 ; アイドルタイムアウトから起動に必要な秒数。0に設定すると値が設定または復元されません。

# !!!注意: use_fw_retract: True に設定する場合、printer.cfg内で[firmware_retraction]を定義する必要があります!!!
variable_use_fw_retract : False ; 手動版の代わりにファームウェアリトラクトを使用するか [True/False]
variable_runout_sensor : "" ; センサーを定義した場合、フィラメントが検出されない際にRESUMEの実行を中止するために使用されます。
# 設定名を指定してください。例: "filament_switch_sensor runout"。注意:printer.cfg内で同じものを使用してください。
# !!!カスタムマクロは注意して使用し、対応するマクロのセクションを確認してください。これらのマクロはステータスLEDの設定などの簡単な操作に使用されます。マクロが基本マクロの機能に干渉しないことを確認してください。複数コマンドはサポートされていません。複数コマンドが必要な場合はマクロを作成してください。
variable_user_pause_macro : "" ; ""内のすべてはklipperベースのポーズ関数 (PAUSE_BASE) 後に実行されます。
variable_user_resume_macro: "" ; ""内のすべてはklipperベースの再開関数 (RESUME_BASE) 前に実行されます。
variable_user_cancel_macro: "" ; ""内のすべてはklipperベースの中止関数 (CANCEL_PRINT_BASE) 前に実行されます。
gcode:

英文(原版)

[gcode_macro _CLIENT_VARIABLE]
variable_use_custom_pos : False ; use custom park coordinates for x,y [True/False]
variable_custom_park_x : 0.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 : 2.0 ; custom dz value; the value in mm to lift the nozzle when move to park position
variable_retract : 1.0 ; the value to retract while PAUSE
variable_cancel_retract : 5.0 ; the value to retract while CANCEL_PRINT
variable_speed_retract : 35.0 ; retract speed in mm/s
variable_unretract : 1.0 ; the value to unretract while RESUME
variable_speed_unretract : 35.0 ; unretract speed in mm/s
variable_speed_hop : 15.0 ; z move speed in mm/s
variable_speed_move : 100.0 ; move speed in mm/s
variable_park_at_cancel : False ; allow to move the toolhead to park while execute CANCEL_PRINT [True/False]
variable_park_at_cancel_x : None ; different park position during CANCEL_PRINT [None/Position as Float]; park_at_cancel must be True
variable_park_at_cancel_y : None ; 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 : False ; use fw_retraction instead of the manual version [True/False]
variable_idle_timeout : 0 ; time in sec until idle_timeout kicks in. Value 0 means that no value will be set or restored
variable_runout_sensor : "" ; If a sensor is defined, it will be used to cancel the execution of RESUME in case no filament is detected.
# Specify the config name of the runout sensor e.g "filament_switch_sensor runout". Hint use the same as in your printer.cfg
# !!! Custom macros, please use with care and review the section of the corresponding macro.
# These macros are for simple operations like setting a status LED. Please make sure your macro does not interfere with the basic macro functions.
# Only single line commands are supported, please create a macro if you need more than one command.
variable_user_pause_macro : "" ; Everything inside the "" will be executed after the klipper base pause (PAUSE_BASE) function
variable_user_resume_macro: "" ; Everything inside the "" will be executed before the klipper base resume (RESUME_BASE) function
variable_user_cancel_macro: "" ; Everything inside the "" will be executed before the klipper base cancel (CANCEL_PRINT_BASE) function
gcode:
Loading...
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
- 3D Mellow -
Loading...