mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2026-03-01 07:44:41 -07:00
Remove classic overhang speed code (#9934)
* Remove code related to classic overhang speed * Remove `overhang_degree` and `curve_degree`
This commit is contained in:
parent
dec21efe7f
commit
7cbd0d2b74
17 changed files with 31 additions and 860 deletions
|
|
@ -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];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue