Tự vệ sinh nozzle (GCODE)
Bộ mount gắn bàn chải giúp nozzle máy Ender tự lau sạch tự động bằng macro của Klipper. Chỉ cần Klipper (Mainsail/Fluidd/Octoprint), bàn chải brass/steel và thêm file .cfg để chạy CLEAN_NOZZLE.
2.2K
Lượt Xem
21
Lượt Thích
151
Lượt Tải
Cập Nhật Apr 27, 2026
Mô tả
Yêu cầu
Phần mềm cần có:
- Klipper
- Mainsail / Fluidd / Octoprint / v.v.
Phần cứng cần có:
- Máy in 3D (hiển nhiên rồi)
- Bàn chải brass/steel (khuyến nghị cùng vật liệu với nozzle của bạn)
- Keo (tùy chọn)
HƯỚNG DẪN TỪNG BƯỚC
- Tạo một file .CFG trong phần file của máy và đặt tên tùy bạn,
- Dán GCODE từ file .TXT vào đó (bạn có thể tìm trong mục files),
- Chỉnh sửa code phù hợp với máy của bạn,
- Trong printer.cfg thêm
[include yourfilename.cfg], - Đảm bảo nozzle có thể chạm tới bàn chải bằng cách chỉnh
position_maxtrong mụcstepper_x, trong printer.cfg.
GCODE
[gcode_macro CLEAN_NOZZLE]
variable_start_x: 237.5 ;where the nozzle will start
variable_start_y: 18 ;where the bed will start
variable_start_z: 17 ;where the z axi will start
variable_wipe_dist_y: -15 ;how far will the bed move
variable_wipe_qty: 3 ;how many times will it move
variable_wipe_spd: 300 ;wipe speed
variable_raise_distance: 18 ;how much it will be raised
gcode:
{% if "xyz" not in printer.toolhead.homed_axes %}
G28
{% endif %}
G90 ;absolute positioning
;Move nozzle to start position
G1 Z{start_z} F1500
G1 X{start_x} Y{start_y} F6000
;Wipe nozzle
{% for wipes in range(1, (wipe_qty + 1)) %}
;WIPE LEFT
G1 X{start_x + 2} Y{start_y - wipe_dist_y} F{wipe_spd 30}
G1 X{start_x + 2} Y{start_y - wipe_dist_y} F{wipe_spd 30}
G1 X{start_x + 2} Y{start_y - wipe_dist_y} F{wipe_spd 30}
;WIPE RIGHT
G1 X{start_x - 2} Y{start_y + wipe_dist_y} F{wipe_spd 30}
G1 X{start_x - 2} Y{start_y + wipe_dist_y} F{wipe_spd 30}
G1 X{start_x - 2} Y{start_y + wipe_dist_y} F{wipe_spd 30}
{% endfor %}
G1 Z 25 ;raises the z axi
G28 ;homes all axis
Giấy phép
File mô hình
Đang tải files, vui lòng chờ...
Vui lòng đăng nhập để bình luận.
Vui lòng đăng nhập để khoe bản in của bạn.
Chưa có bản in nào được khoe. Hãy là người đầu tiên!
Chưa có bình luận nào. Hãy là người đầu tiên!