Prusaslicer 2.8.0-Linux: Printer-"Start Gcode" vs. Filament "temperature"
 
Notifications
Clear all

Prusaslicer 2.8.0-Linux: Printer-"Start Gcode" vs. Filament "temperature"  

  RSS
Fred Philip
(@fred-philip)
Active Member
Prusaslicer 2.8.0-Linux: Printer-"Start Gcode" vs. Filament "temperature"

Hello,

I'm looking for some clarification about an observation I made.

Let me word it as a question:

It is correct that the 'Start gcode" (e.g. M109 Snnn) entered in the menu under "Printers -> Custom Gcode" overwrites the predefined temperature entered in the menu under "Filament > Temperature"?

That at least is the observation I made on my latest prints.

Any clarifying comment is much appreciated.

TIA

 

 

Best Answer by Neophyl:

Correct. That is why that's not normally the thing to do.  You use one of the designated placeholders instead.  If you install one of the presets for something like a MK3 or 4 you will usually see a block included in the start gcode section like such -

M104 S[first_layer_temperature] ; set extruder temp
M140 S[first_layer_bed_temperature] ; set bed temp
M190 S[first_layer_bed_temperature] ; wait for bed temp
M109 S[first_layer_temperature] ; wait for extruder temp

The bits inside the [] is the placeholder variable.  If you hover over settings in the slicer the variable is usually displayed.  So in the above example it will set the bed temp to the first layer bed temp configured for the selected filament profile, the first layer temp for that filament etc.

You can get more complex by adding the tool numbers in there for multi extruder setups and do other things to the values but thats a basic block.

By adding a prusa printer even if you don't have one you can examine what they do and adapt sections for your own printer if you are creating your own profile.

Posted : 24/10/2024 9:00 pm
Neophyl
(@neophyl)
Illustrious Member
RE: Prusaslicer 2.8.0-Linux: Printer-"Start Gcode" vs. Filament "temperature"

Correct. That is why that's not normally the thing to do.  You use one of the designated placeholders instead.  If you install one of the presets for something like a MK3 or 4 you will usually see a block included in the start gcode section like such -

M104 S[first_layer_temperature] ; set extruder temp
M140 S[first_layer_bed_temperature] ; set bed temp
M190 S[first_layer_bed_temperature] ; wait for bed temp
M109 S[first_layer_temperature] ; wait for extruder temp

The bits inside the [] is the placeholder variable.  If you hover over settings in the slicer the variable is usually displayed.  So in the above example it will set the bed temp to the first layer bed temp configured for the selected filament profile, the first layer temp for that filament etc.

You can get more complex by adding the tool numbers in there for multi extruder setups and do other things to the values but thats a basic block.

By adding a prusa printer even if you don't have one you can examine what they do and adapt sections for your own printer if you are creating your own profile.

Posted : 24/10/2024 9:09 pm
ssmith liked
Fred Philip
(@fred-philip)
Active Member
Topic starter answered:
RE: Prusaslicer 2.8.0-Linux: Printer-"Start Gcode" vs. Filament "temperature"

Aah, that is a very valuable feedback.

I guess it will take me now to the 'advanced level' of PS - lol.

Thank you very much Neophyl.

Posted : 24/10/2024 9:25 pm
Share: