Pad now has adjustable wall tilt and maintains wall thickness properly.

Edges are not rounded yet.
This commit is contained in:
tamasmeszaros 2019-01-04 16:24:10 +01:00
parent 86e9cb604a
commit f761691b7d
4 changed files with 149 additions and 75 deletions

View file

@ -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;
}
}