EMH: enhance for rib wall wiper tower

1. fix the slice error status
2. add rendering for wiper tower
3. modify the wipe tower start pos for rib wall wipe tower
jira: none

Change-Id: If554ca0fb30f6c7ce9641014c0ed4a7f23afd6f4
(cherry picked from commit 3ae08b458dea1d04cad33b2787d98407111b038c)
(cherry picked from commit 55772c59126bc4dd5c2ad022e7a959785c29cb4e)
This commit is contained in:
zhimin.zeng
2025-01-19 10:34:51 +08:00
committed by Noisyfox
parent b9d9602581
commit a5ae552512
9 changed files with 132 additions and 38 deletions

View File

@@ -755,8 +755,9 @@ struct WipeTowerData
float depth;
std::vector<std::pair<float, float>> z_and_depth_pairs;
float brim_width;
BoundingBoxf bbx;
float height;
BoundingBoxf bbx;
Vec2f rib_offset;
void clear() {
priming.reset(nullptr);
@@ -1050,6 +1051,7 @@ public:
Vec2d translate_to_print_space(const Vec2d &point) const;
float get_wipe_tower_depth() const { return m_wipe_tower_data.depth; }
BoundingBoxf get_wipe_tower_bbx() const { return m_wipe_tower_data.bbx; }
Vec2f get_rib_offset() const { return m_wipe_tower_data.rib_offset; }
// scaled point
Vec2d translate_to_print_space(const Point &point) const;