improve bambu device profile

This commit is contained in:
Stewart Allen 2024-12-13 19:47:38 -05:00
commit 838592c8f8

View file

@ -76,16 +76,16 @@
"G1 Y245 ; Move to Y245",
"G1 Y265 F3000 ; Move to Y265 slowly",
"M620 M ; Custom command (guess: material management)",
"M620 S0A ; Switch material if AMS present",
"M620 S{tool}A ; Switch material if AMS present",
"M109 S{temp} ; Wait for extruder to reach 220°C",
"G1 X120 F12000 ; Fast move to X120",
"G1 X20 Y50 F12000 ; Fast move to X20 Y50",
"G1 Y-3 ; Move down Y-axis by 3",
"T0 ; Select tool 0",
"T{tool} ; Select starting tool",
"G1 X54 F12000 ; Fast move to X54",
"G1 Y265 ; Move to Y265",
"M400 ; Wait for all moves to finish",
"M621 S0A ; Custom command",
"M621 S{tool}A ; Custom command",
"M620.1 E F523.843 T240 ; Extrude command with custom parameters",
"M412 S1 ; Turn on filament runout detection",
"M109 S250 ; Set nozzle to common flush temp",
@ -273,7 +273,9 @@
"M400 ; Wait for buffer to clear",
"G92 E0 ; Zero the extruder",
"G1 E-0.8 F1800 ; Retract filament by 0.8mm",
"G1 Z26 F900 ; Lower Z-axis by 26mm",
"G91 ; relative moves",
"G1 Z5 F900 ; drop bed 5mm",
"G90 ; absolute moves",
"G1 X65 Y245 F12000 ; Move to safe position X65 Y245",
"G1 Y265 F3000 ; Move to Y265 slowly",
"G1 X65 Y245 F12000 ; Move back to X65 Y245",
@ -302,8 +304,7 @@
"M400 ; Wait for all motions to complete",
"M17 S ; Engage stepper motors",
"M17 Z0.4 ; Lower Z motor current to reduce impact if obstruction exists",
"G1 Z125.5 F600 ; Move Z-axis to 125.5mm",
"G1 Z123.5 ; Move Z-axis to 123.5mm",
"G1 Z{z_max} F600 ; Drop bed",
"M400 P100 ; Wait for 100ms",
"M17 R ; Restore Z motor current",
"M220 S100 ; Reset feedrate magnitude to 100%",
@ -319,7 +320,59 @@
{
"extFilament": 1.75,
"extNozzle": 0.4,
"extSelect": [],
"extSelect": [
"; BEGIN tool change from {last_tool} to {tool}",
"M620 S{tool}A ; prepare tool change",
"M204 S9000 ; Set acceleration to 9000 mm/s^2",
"M620.11 S0 ; Reset filament retraction state",
"M400 ; wait for moves to complete",
"M620.1 E F187 T240 ; set purge rate 187 temp 240",
"T{tool} ; initiate tool change",
"M620.1 E F374 T240 ; set purge rate 374 temp 240",
"M620.11 S0 ; Reset filament retraction state",
"G92 E0 ; reset extruder position",
"M400 ; wait for moves to complete",
" ; -- PURGE --",
"M109 S240 ; Set nozzle temperature to 240°C",
"G1 E23.7 F187 ; Extrude 23.7mm of filament at flowrate 187",
"G1 E0.914611 F50 ; Pulsatile extrusion",
"G1 E10.518 F187 ; Continue extrusion at flowrate 187",
"G1 E0.914611 F50 ; Pulsatile extrusion",
"G1 E10.518 F374 ; Continue extrusion at flowrate 374",
"G1 E0.914611 F50 ; Pulsatile extrusion",
"G1 E10.518 F374 ; Continue extrusion at flowrate 374",
"G1 E0.914611 F50 ; Pulsatile extrusion",
"G1 E10.518 F374 ; Continue extrusion at flowrate 374",
"G1 E-2 F1800 ; Retract filament by 2mm",
"G1 E2 F300 ; Recover retraction slowly",
"M400 ; Wait for all movements to complete",
"M109 S{temp} ; Set nozzle temperature back to print temp",
" ; -- SHAKE --",
"M106 P1 S255 ; Turn on nozzle cooling fan to full speed",
"M400 S3 ; Wait for all movements to complete",
"G1 X70 F5000 ; Move to X70",
"G1 X90 F3000 ; Move to X90",
"G1 Y255 F4000 ; Move to Y255",
"G1 X105 F5000 ; Move to X105",
"G1 Y265 ; Move to Y265",
"G1 X70 F10000 ; Rapid move to X70",
"G1 X100 F5000 ; Move to X100",
"G1 X70 F10000 ; Rapid move back to X70",
"G1 X100 F5000 ; Move to X100",
"G1 X70 F10000 ; Shake filament residue",
"G1 X80 F15000",
"G1 X60",
"G1 X80",
"G1 X60",
"G1 X80 ; Shake to put down garbage",
"G1 X100 F5000 ; Move to X100",
"G1 X165 F15000 ; Wipe and shake",
"G1 Y256 ; Move Y aside to prevent collision",
"M400 ; Wait for all movements to complete",
"M204 S10000 ; Set acceleration to 10000 mm/s^2",
"M621 S{tool}A ; complete tool change",
"; END tool change"
],
"extOffsetX": 0,
"extOffsetY": 0,
"extDeselect": []
@ -330,18 +383,7 @@
"bedBelt": false,
"fwRetract": false,
"filamentSource": "direct",
"extras": {
"palette": {
"printer": "ca3fd5cfbf2e",
"ping": null,
"feed": null,
"push": null,
"offset": null,
"heat": null,
"cool": null,
"press": null
}
},
"extras": {},
"imageURL": "",
"deviceZMax": 0,
"gcodeTime": 1,