I am using the Prusa slicer for a project since I need to have different infill densities at different locations.
When I load the G-code from the Prusa slicer into the luban work area the model preview looks great, but the code on the left takes the temperature down to 160 C no matter what it is set at in the Prusa slicer.
This shows the Prusa slicer set at 245 C:
You are correct.
I was able to change the code to get the correct temperature.
I wonder why the Prusa slicer creates Gcode that doesnt match the inputs.
It makes sense to have two separate hot end temperature settings.
When the temperature of the hot end is raised to the melting point of the filament, the filament melts and emerges from the tip of the nozzle due to thermal expansion.
Compared to the hot end, the temperature rise in the heat bed takes much longer, during which time the filament continues to leak. Molten filament will also accumulate inside the hot end. This is meant to be prevented.
That is why GCODE takes the following steps.
set target temperatures for the hot end and heat bed.
Set the target temperature for the heat bed (80°C).
M140 S80
For the hot end, set the temperature just before the melting point of the filament (160°C).
M104 S160
wait for the heat bed to reach the target temperature (80°C).
M190 S80
3.Once the heat bed reaches the target temperature, wait for the hot end to reach the target temperature.
M109 S245