Fixed a bug that caused curled edge detection not to work as expected for left facing edges when using Arachne. Enabled fan speed control for curled overhangs (#3034)

* Update malformation distance factors (curled edge detection)

* Updated curled detection logic from latest prusa 2.7 release, including updated estimate_points_properties algorithm

Updated curled detection logic from latest prusa 2.7 release, including updated estimate_points_properties algorithm

* Curled distance expansion const introduction

* Enable overhang fan speed logic for curled edges slow downs

* Reverted erroneous change
This commit is contained in:
Ioannis Giannakas 2023-12-09 09:17:49 +00:00 committed by GitHub
parent 325009bc48
commit 7a8e1929ee
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 182 additions and 152 deletions

View file

@ -43,8 +43,9 @@ struct Params
BrimType brim_type;
const float brim_width;
const std::pair<float,float> malformation_distance_factors = std::pair<float, float> { 0.33, 0.7 };
const std::pair<float,float> malformation_distance_factors = std::pair<float, float> { 0.2, 1.1 };
const float max_curled_height_factor = 10.0f;
const float curled_distance_expansion = 1.0f; // controls the spread of the area where slow down for curled overhangs is applied
const float curling_tolerance_limit = 0.1f;
const float min_distance_between_support_points = 3.0f; //mm