mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-23 22:54:08 -06:00
New --cooling option and checkbox to enable/disable fan and cooling control
This commit is contained in:
parent
70e69be60a
commit
170d29a789
7 changed files with 33 additions and 24 deletions
|
@ -158,8 +158,7 @@ sub extrude_path {
|
|||
}
|
||||
}
|
||||
|
||||
# TODO: optimize: avoid calculation if cooling is disabled
|
||||
if (1) {
|
||||
if ($Slic3r::cooling) {
|
||||
$self->elapsed_time($self->elapsed_time + (unscale($path_length) / $self->speeds->{$self->last_speed} * 60));
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue