mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-09-18 02:23:14 +08:00
#306 remove gapfil from autospeed, as it will reduce the speed because of very tiny extrusions
also removed thinwalls, but it isn't problematic right now, just as it's not using it...
This commit is contained in:
parent
94a4772549
commit
66847ebfa0
@ -186,6 +186,7 @@ ExtrusionEntityCollection::min_mm3_per_mm() const
|
|||||||
{
|
{
|
||||||
double min_mm3_per_mm = std::numeric_limits<double>::max();
|
double min_mm3_per_mm = std::numeric_limits<double>::max();
|
||||||
for (const ExtrusionEntity *entity : this->entities)
|
for (const ExtrusionEntity *entity : this->entities)
|
||||||
|
if(entity->role() != erGapFill && entity->role() != erThinWall && entity->role() != erMilling)
|
||||||
min_mm3_per_mm = std::min(min_mm3_per_mm, entity->min_mm3_per_mm());
|
min_mm3_per_mm = std::min(min_mm3_per_mm, entity->min_mm3_per_mm());
|
||||||
return min_mm3_per_mm;
|
return min_mm3_per_mm;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user