update libslic3r

This commit is contained in:
QIDI TECH
2025-08-04 10:13:51 +08:00
parent e3f49c2fb5
commit 8d4d60ec48
96 changed files with 4993 additions and 1903 deletions

View File

@@ -220,7 +220,7 @@ public:
std::string set_object_info(Print* print);
// append full config to the given string
static void append_full_config(const Print& print, std::string& str);
static void append_full_config(const DynamicPrintConfig &cfg, std::string &str);
// QDS: detect lift type in needs_retraction
bool needs_retraction(const Polyline &travel, ExtrusionRole role, LiftType &lift_type);
@@ -385,6 +385,7 @@ private:
void check_placeholder_parser_failed();
size_t cur_extruder_index() const;
size_t get_extruder_id(unsigned int filament_id) const;
void set_extrude_acceleration(bool is_first_layer);
void set_last_pos(const Point &pos) { m_last_pos = pos; m_last_pos_defined = true; }
void set_last_scarf_seam_flag(bool flag) { m_last_scarf_seam_flag = flag; }
@@ -400,7 +401,11 @@ private:
//smooth speed function
void smooth_speed_discontinuity_area(ExtrusionPaths &paths);
ExtrusionPaths merge_same_speed_paths(const ExtrusionPaths &paths);
std::vector<ExtrusionPaths> merge_same_speed_paths(const ExtrusionPaths &paths);
// slow down by height
bool slowDownByHeight(double& maxSpeed, double& maxAcc, const ExtrusionPath& path);
// Extruding multiple objects with soluble / non-soluble / combined supports
// on a multi-material printer, trying to minimize tool switches.
// Following structures sort extrusions by the extruder ID, by an order of objects and object islands.
@@ -470,6 +475,8 @@ private:
std::string extrude_support(const ExtrusionEntityCollection &support_fills);
std::string travel_to(const Point &point, ExtrusionRole role, std::string comment, double z = DBL_MAX);
void reset_last_acceleration();
// QDS
LiftType to_lift_type(ZHopType z_hop_types);
@@ -587,8 +594,8 @@ private:
int get_highest_bed_temperature(const bool is_first_layer,const Print &print) const;
std::string _extrude(const ExtrusionPath &path, std::string description = "", double speed = -1, bool set_holes_and_compensation_speed = false, bool is_first_slope = false);
ExtrusionPaths set_speed_transition(ExtrusionPaths &paths);
ExtrusionPaths split_and_mapping_speed(double &other_path_v, double &final_v, ExtrusionPath &this_path, double max_smooth_length, bool split_from_left = true);
ExtrusionPaths set_speed_transition(std::vector<ExtrusionPaths> &paths);
void split_and_mapping_speed(double other_path_v, double final_v, ExtrusionPaths &this_path, double max_smooth_length, ExtrusionPaths &interpolated_paths, bool split_from_left = true);
double get_path_speed(const ExtrusionPath &path);
double get_overhang_degree_corr_speed(float speed, double path_degree);
double mapping_speed(double dist);