mirror of
https://git.mirrors.martin98.com/https://github.com/slic3r/Slic3r.git
synced 2025-07-24 22:04:34 +08:00
fix first_layer_size_compensation
fix 4028cd2a1b7d7eb33c8e2be38b84069fd633abd1 supermerill/SuperSlicer#1547
This commit is contained in:
parent
a67a862dc1
commit
73f4f4783b
@ -2629,7 +2629,7 @@ namespace Slic3r {
|
||||
// Only enable Elephant foot compensation if printing directly on the print bed.
|
||||
first_layer_compensation = float(scale_(m_config.first_layer_size_compensation.value));
|
||||
// reduce first_layer_compensation for every layer over the first one.
|
||||
first_layer_compensation = (first_layers - layer_id + 1) * first_layer_compensation / float(first_layers);
|
||||
first_layer_compensation = (first_layers - layer_id) * first_layer_compensation / float(first_layers);
|
||||
// simplify compensations if possible
|
||||
if (first_layer_compensation > 0) {
|
||||
outter_delta += first_layer_compensation;
|
||||
|
Loading…
x
Reference in New Issue
Block a user