Remove classic overhang speed code (#9934)
Some checks failed
Build all / Build All (push) Has been cancelled
Build all / Flatpak (push) Has been cancelled
Publish docs to Wiki / Publish docs to Wiki (push) Has been cancelled

* Remove code related to classic overhang speed

* Remove `overhang_degree` and `curve_degree`
This commit is contained in:
Noisyfox 2025-06-20 23:01:09 +08:00 committed by GitHub
parent dec21efe7f
commit 7cbd0d2b74
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
17 changed files with 31 additions and 860 deletions

View file

@ -3168,8 +3168,6 @@ const std::string PrintStatistics::TotalFilamentUsedWipeTowerValueMask = "; tota
#define JSON_EXTRUSION_TYPE_LOOP "loop"
#define JSON_EXTRUSION_TYPE_COLLECTION "collection"
#define JSON_EXTRUSION_POLYLINE "polyline"
#define JSON_EXTRUSION_OVERHANG_DEGREE "overhang_degree"
#define JSON_EXTRUSION_CURVE_DEGREE "curve_degree"
#define JSON_EXTRUSION_MM3_PER_MM "mm3_per_mm"
#define JSON_EXTRUSION_WIDTH "width"
#define JSON_EXTRUSION_HEIGHT "height"
@ -3263,8 +3261,6 @@ static void to_json(json& j, const Polyline& poly_line) {
static void to_json(json& j, const ExtrusionPath& extrusion_path) {
j[JSON_EXTRUSION_POLYLINE] = extrusion_path.polyline;
j[JSON_EXTRUSION_OVERHANG_DEGREE] = extrusion_path.overhang_degree;
j[JSON_EXTRUSION_CURVE_DEGREE] = extrusion_path.curve_degree;
j[JSON_EXTRUSION_MM3_PER_MM] = extrusion_path.mm3_per_mm;
j[JSON_EXTRUSION_WIDTH] = extrusion_path.width;
j[JSON_EXTRUSION_HEIGHT] = extrusion_path.height;
@ -3541,8 +3537,6 @@ static void from_json(const json& j, Polyline& poly_line) {
static void from_json(const json& j, ExtrusionPath& extrusion_path) {
extrusion_path.polyline = j[JSON_EXTRUSION_POLYLINE];
extrusion_path.overhang_degree = j[JSON_EXTRUSION_OVERHANG_DEGREE];
extrusion_path.curve_degree = j[JSON_EXTRUSION_CURVE_DEGREE];
extrusion_path.mm3_per_mm = j[JSON_EXTRUSION_MM3_PER_MM];
extrusion_path.width = j[JSON_EXTRUSION_WIDTH];
extrusion_path.height = j[JSON_EXTRUSION_HEIGHT];