mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-07-14 04:01:50 +08:00
Changed the inner seam replacement threshold to 3*nozzle_diameter
This commit is contained in:
parent
b86effada0
commit
ed508d49d6
@ -585,7 +585,7 @@ Point SeamPlacer::calculate_seam(const Layer& layer, const SeamPosition seam_pos
|
|||||||
penalties[i] = std::max(0.f, penalty);
|
penalties[i] = std::max(0.f, penalty);
|
||||||
if (prefer_nearest) {
|
if (prefer_nearest) {
|
||||||
// This hack limits the search around the nearest position projection.
|
// This hack limits the search around the nearest position projection.
|
||||||
penalties[i] += dist_to_last_pos_proj > 10.f * nozzle_r ? 100.f : 0.f;
|
penalties[i] += dist_to_last_pos_proj > 6.f * nozzle_r ? 100.f : 0.f;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user