mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-19 05:21:10 +02:00
Always limit volumetric speed with Max Volumetric Speed (not just when using autospeed). #2810
This commit is contained in:
1 parent
c37b5c2e87
commit
7b65a35519
2 files changed
+14
-7
No files matched your search
@@ -312,6 +312,13 @@ sub _extrude_path {
|
||||
if ($self->volumetric_speed != 0) {
|
||||
$speed ||= $self->volumetric_speed / $path->mm3_per_mm;
|
||||
}
|
||||
if ($self->config->max_volumetric_speed > 0) {
|
||||
# Cap speed with max_volumetric_speed anyway (even if user is not using autospeed)
|
||||
$speed = min(
|
||||
$speed,
|
||||
$self->config->max_volumetric_speed / $path->mm3_per_mm,
|
||||
);
|
||||
}
|
||||
my $F = $speed * 60; # convert mm/sec to mm/min
|
||||
|
||||
# extrude arc or line
|
||||
|
||||
Reference in new issue
Block a user