일시정지 및 인쇄 취소 사용자 정의 위치 설정
이 페이지는 Mainsail / Fluidd 클라이언트 매크로의 _CLIENT_VARIABLE을 구성하여 일시정지, 재개, 인쇄 취소 시의 정지 위치, 리트랙트 길이 및 이동 속도를 제어합니다.
사용 전제 조건
printer.cfg에[include mainsail.cfg]또는[include fluidd.cfg]가 포함되어 있어야 합니다.- 아래 매크로를
printer.cfg또는 별도 매크로 파일에 추가하세요. - 수정 후 저장하고 Klipper를 재시작하세요.
주의사항
False는 비활성화,True는 활성화를 의미합니다.- 설정 파일 끝에 있는
gcode:는 반드시 유지해야 하며 삭제할 수 없습니다. - 사용자 정의 정지 좌표는 기기의 X/Y 소프트 리미트 범위 내에 있어야 합니다.
중국어 번역
printer.cfg
[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 ; 인쇄 일시정지 시 Z축 상승 거리, 단위 mm
### 인쇄 취소 관련 사용자 정의 설정
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 ; 인쇄 재개 시 압출 길이, 단위 mm
variable_speed_unretract : 35.0 ; 재개 시 압출 속도, 단위 mm/s
variable_speed_hop : 15.0 ; Z축 이동 속도, 단위 mm/s
variable_speed_move : 100.0 ; XY 이동 속도, 단위 mm/s
### 유휴 타임아웃 설정
### 1일은 86400초
variable_idle_timeout : 86400 ; 0으로 설정하면 idle_timeout을 수정하거나 복원하지 않음
# variable_use_fw_retract를 True로 설정하면 printer.cfg에 [firmware_retraction]이 반드시 정의되어야 함
variable_use_fw_retract : False ; 수동 리트랙트 대신 펌웨어 리트랙트 사용 여부 [True/False]
variable_runout_sensor : "" ; 필라멘트 부족 센서 설정명, 예: "filament_switch_sensor runout"
# 사용자 정의 매크로는 한 줄 명령만 지원합니다. 여러 명령이 필요한 경우 별도 매크로를 만든 후 여기서 호출하세요.
variable_user_pause_macro : "" ; PAUSE_BASE 이후 실행
variable_user_resume_macro: "" ; RESUME_BASE 이전 실행
variable_user_cancel_macro: "" ; CANCEL_PRINT_BASE 이전 실행
gcode:
영어(원본)
printer.cfg
[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...