ENH: adjust wipe_tower depth interpolation

because [0,0] will cause the wipetower to disappear in low-layer-height models with enable smooth timelapse type.
jira: none

Change-Id: I6fe3d4128e9b284ae7660f7e0f9f8b62f74cf427
This commit is contained in:
jiangkai.zhao 2025-02-26 14:36:53 +08:00 committed by lane.wei
parent 184143ead7
commit d5b570d8dc
1 changed files with 1 additions and 1 deletions

View File

@ -1320,7 +1320,7 @@ WipeTower::ToolChangeResult WipeTower::construct_block_tcr(WipeTowerWriter &writ
// BBS // BBS
const std::map<float, float> WipeTower::min_depth_per_height = { const std::map<float, float> WipeTower::min_depth_per_height = {
{0.f,0.f}, {100.f, 20.f}, {180.f, 40.f}, {250.f, 50.f}, {350.f, 60.f} {5.f,5.f}, {100.f, 20.f}, {180.f, 40.f}, {250.f, 50.f}, {350.f, 60.f}
}; };
float WipeTower::get_limit_depth_by_height(float max_height) float WipeTower::get_limit_depth_by_height(float max_height)