Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/supermerill/SuperSlicer.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/libslic3r/SLA/SLABasePool.hpp')
-rw-r--r--src/libslic3r/SLA/SLABasePool.hpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/libslic3r/SLA/SLABasePool.hpp b/src/libslic3r/SLA/SLABasePool.hpp
index 62c4971eb..3917d995b 100644
--- a/src/libslic3r/SLA/SLABasePool.hpp
+++ b/src/libslic3r/SLA/SLABasePool.hpp
@@ -49,7 +49,11 @@ void create_base_pool(const ExPolygons& base_plate,
/// min_wall_thickness and it should be corrected in the future. This method
/// will return the correct value for further processing.
inline double get_pad_elevation(const PoolConfig& cfg) {
- return cfg.min_wall_height_mm / 2.0;
+ return cfg.min_wall_thickness_mm;
+}
+
+inline double get_pad_fullheight(const PoolConfig& cfg) {
+ return cfg.min_wall_height_mm + cfg.min_wall_thickness_mm;
}
}