Another thing that would be useful to have, which I haven’t seen: a list of all variables used by the machine, such as “bed_temperature_initial_layer_single.” I want to build into my machine start script a wait-until-chamber-temp, as OrcaSlicer doesn’t seem to be able to tell the printer to do that, and the printer doesn’t have a dedicated G or M code for that operation.
1 Like
Many slicer parameters’ placeholders can be seen by looking at the tooltip:
In this case, the placeholder is
temperature_vitrification
. There are many!
Alas, the current chamber temp isn’t a slicer parameter, so you wont find it. Bambu really need to implement G-Codes for it.
1 Like
Is there a Github repository with the current recommended start/end gcode for various Bambu printers?
Just curious as one starts to modify gcode for their own purposes, would be nice to merge in future changes/recommendations to other parts.
Nope. Not from what I know, but don’t let this stop you in creating one.
1 Like
Yes there is, in the Bambu Studio repo. From the base directory of it, try
git grep -l machine_start_gcode
It’s there as a single line in a json file though. Here’s a hack to show one:
$ grep machine_end "resources/profiles/BBL/machine/Bambu Lab X1 Carbon 0.4 nozzle.json" | sed -r 's/.*: "//; s/"[^"]*$//; s/\\n/\n/g'
;===== date: 20240528 =====================
M400 ; wait for buffer to clear
G92 E0 ; zero the extruder
G1 E-0.8 F1800 ; retract
G1 Z{max_layer_z + 0.5} F900 ; lower z a little
G1 X65 Y245 F12000 ; move to safe pos
G1 Y265 F3000
G1 X65 Y245 F12000
G1 Y265 F3000
M140 S0 ; turn off bed
M106 S0 ; turn off fan
M106 P2 S0 ; turn off remote part cooling fan
M106 P3 S0 ; turn off chamber cooling fan
(...)