From 793b6d20061023ce9ad933657c2aa0f427f44e03 Mon Sep 17 00:00:00 2001 From: Heiko Liebscher Date: Fri, 7 Apr 2023 23:29:44 +0200 Subject: [PATCH] fix asa and petg --- resources/profiles/Snapmaker/filament/Snapmaker J1 ASA.json | 6 ++++++ .../profiles/Snapmaker/filament/Snapmaker J1 PETG.json | 6 ++++++ 2 files changed, 12 insertions(+) diff --git a/resources/profiles/Snapmaker/filament/Snapmaker J1 ASA.json b/resources/profiles/Snapmaker/filament/Snapmaker J1 ASA.json index cf5ed9ba5a..b7bd80c1a2 100644 --- a/resources/profiles/Snapmaker/filament/Snapmaker J1 ASA.json +++ b/resources/profiles/Snapmaker/filament/Snapmaker J1 ASA.json @@ -15,5 +15,11 @@ "compatible_printers": [ "Snapmaker J1 0.4 nozzle", "Snapmaker J1 0.6 nozzle" + ], + "filament_end_gcode": [ + "; ====================================\n;END Gcode for filament T[current_extruder] \nG92 E0\nG1 F600 E-6 ;retract\n{if current_extruder == 0}G0 X-20 F12000 {endif} ;\n{if current_extruder == 1}G0 X350 F12000 {endif} ;\nM106 S0 ; Lüfter aus\n{if has_wipe_tower and total_toolchanges > 0 and current_extruder == 0}T1 \nG0 X{wipe_tower_x[0]} Y{wipe_tower_y[0]} F{travel_speed*60}{endif} ;\n{if has_wipe_tower and total_toolchanges > 0 and current_extruder == 1}T0 \nG0 X{wipe_tower_x[0]} Y{wipe_tower_y[0]} F{travel_speed*60}{endif} ;\n;END gcode for filament T[current_extruder] (Ende) \n; =====================================" + ], + "filament_start_gcode": [ + "; ====================================\n; START gcode for filament T[current_extruder]\nM900 T[current_extruder] K0.054\nG1 F600 E5.5 \nM106 S255 ;Lüfter an\n; START gcode for filament T[current_extruder] (Ende)\n; ====================================" ] } diff --git a/resources/profiles/Snapmaker/filament/Snapmaker J1 PETG.json b/resources/profiles/Snapmaker/filament/Snapmaker J1 PETG.json index 365b2f76dc..2ec81e84cd 100644 --- a/resources/profiles/Snapmaker/filament/Snapmaker J1 PETG.json +++ b/resources/profiles/Snapmaker/filament/Snapmaker J1 PETG.json @@ -54,5 +54,11 @@ "compatible_printers": [ "Snapmaker J1 0.4 nozzle", "Snapmaker J1 0.6 nozzle" + ], + "filament_end_gcode": [ + "; ====================================\n;END Gcode for filament T[current_extruder] \nG92 E0\nG1 F600 E-6 ;retract\n{if current_extruder == 0}G0 X-20 F12000 {endif} ;\n{if current_extruder == 1}G0 X350 F12000 {endif} ;\nM106 S0 ; Lüfter aus\n{if has_wipe_tower and total_toolchanges > 0 and current_extruder == 0}T1 \nG0 X{wipe_tower_x[0]} Y{wipe_tower_y[0]} F{travel_speed*60}{endif} ;\n{if has_wipe_tower and total_toolchanges > 0 and current_extruder == 1}T0 \nG0 X{wipe_tower_x[0]} Y{wipe_tower_y[0]} F{travel_speed*60}{endif} ;\n;END gcode for filament T[current_extruder] (Ende) \n; =====================================" + ], + "filament_start_gcode": [ + "; ====================================\n; START gcode for filament T[current_extruder]\nM900 T[current_extruder] K0.054\nG1 F600 E5.5 \nM106 S255 ;Lüfter an\n; START gcode for filament T[current_extruder] (Ende)\n; ====================================" ] }