mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 19:33:47 +00:00
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 (cherry picked from commit d5b570d8dccd2b96620e0448c3657c1d21cc8844)
This commit is contained in:
@@ -1327,7 +1327,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)
|
||||||
|
|||||||
Reference in New Issue
Block a user