mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-13 06:09:03 +08:00
Ensure fan is turned off at start if disable_fan_first_layers > 0
This commit is contained in:
parent
7892a84408
commit
f2032686da
@ -622,6 +622,7 @@ sub export_gcode {
|
|||||||
if ($Slic3r::support_material && $Slic3r::support_material_tool > 0) {
|
if ($Slic3r::support_material && $Slic3r::support_material_tool > 0) {
|
||||||
print $fh $extruder->set_tool(0);
|
print $fh $extruder->set_tool(0);
|
||||||
}
|
}
|
||||||
|
print $fh $extruder->set_fan(0, 1) if $Slic3r::cooling && $Slic3r::disable_fan_first_layers;
|
||||||
|
|
||||||
# write gcode commands layer by layer
|
# write gcode commands layer by layer
|
||||||
foreach my $layer (@{ $self->layers }) {
|
foreach my $layer (@{ $self->layers }) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user