fix bug of libslic3r

This commit is contained in:
QIDI TECH
2024-11-18 15:09:21 +08:00
parent 4198b7a116
commit 9ce2c02f70
69 changed files with 1748 additions and 2554 deletions

View File

@@ -215,7 +215,7 @@ public:
void collect_points(Points &dst) const override { append(dst, this->polyline.points); }
double total_volume() const override { return m_attributes.mm3_per_mm * unscale<double>(length()); }
//w21
void set_width(float set_val) { m_attributes.width = set_val; }
void set_width(float set_val) { m_attributes.width = set_val; }
void set_height(float set_val) { m_attributes.height = set_val; }
void set_mm3_per_mm(float set_val) { m_attributes.mm3_per_mm = set_val; }
@@ -360,9 +360,6 @@ public:
append(dst, p.polyline.points);
}
double total_volume() const override { double volume =0.; for (const auto& path : paths) volume += path.total_volume(); return volume; }
//w38
bool make_clockwise();
bool make_counter_clockwise();
#ifndef NDEBUG
bool validate() const {