toscdesign
Enthusiast
- Mitglied seit
- 17.02.2022
- Beiträge
- 8.186
- Details zu meinem Desktop
- Mouse
- Rollkugeleingabegerät
- Betriebssystem
- https://endof10.org/de/
- Sonstiges
- 3D Drucker: Voron 2.4r2 350 / Voron Trident Pro 250
- Internet
- ▼276 ▲45
Ich bin zwar nicht gemeint, aber das ist mein GcodeWie sieht dein G-code aus?
Ist der ein einfaches durchstreichen in einfacher Richtung oder ein Zigzack der vor und zurück fährt?

Code:
[gcode_macro CLEAN_NOZZLE]
variable_start_x: 207
variable_start_y: 258
variable_start_z: 0.3
variable_wipe_dist: -40
variable_wipe_qty: 10
variable_wipe_spd: 200
variable_raise_distance: 20
gcode:
{% if "xyz" not in printer.toolhead.homed_axes %}
G28
{% endif %}
G90 ; absolute positioning
## Move nozzle to start position
G1 Z6
G1 X{start_x} Y{start_y} F6000
G1 Z{start_z} F1500
##Heat up and down
M109 S150
G4 P2000
M109 S0
M106 S255
## Wipe nozzle
{% for wipes in range(1, (wipe_qty + 1)) %}
G1 X{start_x + wipe_dist} F{wipe_spd * 60}
G1 X{start_x} F{wipe_spd * 60}
{% endfor %}
## Raise nozzle
G1 X125 Z{raise_distance}
G4 P7500
M106 S0