mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-20 07:11:12 -06:00 
			
		
		
		
	Merge mainstream changes
This commit is contained in:
		
						commit
						764b7d62a0
					
				
					 204 changed files with 5425 additions and 1411 deletions
				
			
		|  | @ -914,16 +914,16 @@ void PrintConfigDef::init_fff_params() | |||
|     def->enum_values.push_back("zig-zag"); | ||||
|     def->enum_values.push_back("monotonic"); | ||||
|     def->enum_values.push_back("monotonicline"); | ||||
|     //def->enum_values.push_back("alignedrectilinear");
 | ||||
|     //def->enum_values.push_back("hilbertcurve");
 | ||||
|     def->enum_values.push_back("alignedrectilinear"); | ||||
|     def->enum_values.push_back("hilbertcurve"); | ||||
|     //def->enum_values.push_back("archimedeanchords");
 | ||||
|     //def->enum_values.push_back("octagramspiral");
 | ||||
|     def->enum_labels.push_back(L("Concentric")); | ||||
|     def->enum_labels.push_back(L("Zig zag")); | ||||
|     def->enum_labels.push_back(L("Rectilinear")); | ||||
|     def->enum_labels.push_back(L("Monotonic")); | ||||
|     def->enum_labels.push_back(L("Monotonic line")); | ||||
|     //def->enum_labels.push_back(L("Aligned Rectilinear"));
 | ||||
|     //def->enum_labels.push_back(L("Hilbert Curve"));
 | ||||
|     def->enum_labels.push_back(L("Aligned Rectilinear")); | ||||
|     def->enum_labels.push_back(L("Hilbert Curve")); | ||||
|     //def->enum_labels.push_back(L("Archimedean Chords"));
 | ||||
|     //def->enum_labels.push_back(L("Octagram Spiral"));
 | ||||
|     def->set_default_value(new ConfigOptionEnum<InfillPattern>(ipRectilinear)); | ||||
|  | @ -1232,7 +1232,7 @@ void PrintConfigDef::init_fff_params() | |||
|     def->enum_values.push_back("gyroid"); | ||||
|     def->enum_values.push_back("honeycomb"); | ||||
|     def->enum_values.push_back("adaptivecubic"); | ||||
|     //def->enum_values.push_back("alignedrectilinear");
 | ||||
|     def->enum_values.push_back("alignedrectilinear"); | ||||
|     //def->enum_values.push_back("3dhoneycomb");
 | ||||
|     //def->enum_values.push_back("hilbertcurve");
 | ||||
|     //def->enum_values.push_back("archimedeanchords");
 | ||||
|  | @ -1242,7 +1242,7 @@ void PrintConfigDef::init_fff_params() | |||
|     //def->enum_values.push_back("lightning");
 | ||||
| #endif // HAS_LIGHTNING_INFILL
 | ||||
|     def->enum_labels.push_back(L("Concentric")); | ||||
|     def->enum_labels.push_back(L("Zig zag")); | ||||
|     def->enum_labels.push_back(L("Rectilinear")); | ||||
|     def->enum_labels.push_back(L("Grid")); | ||||
|     def->enum_labels.push_back(L("Line")); | ||||
|     def->enum_labels.push_back(L("Cubic")); | ||||
|  | @ -1251,7 +1251,7 @@ void PrintConfigDef::init_fff_params() | |||
|     def->enum_labels.push_back(L("Gyroid")); | ||||
|     def->enum_labels.push_back(L("Honeycomb")); | ||||
|     def->enum_labels.push_back(L("Adaptive Cubic")); | ||||
|     //def->enum_labels.push_back(L("Aligned Rectilinear"));
 | ||||
|     def->enum_labels.push_back(L("Aligned Rectilinear")); | ||||
|     //def->enum_labels.push_back(L("3D Honeycomb"));
 | ||||
|     //def->enum_labels.push_back(L("Hilbert Curve"));
 | ||||
|     //def->enum_labels.push_back(L("Archimedean Chords"));
 | ||||
|  | @ -1985,7 +1985,7 @@ void PrintConfigDef::init_fff_params() | |||
|     def->label = L("Wall loops"); | ||||
|     def->category = L("Strength"); | ||||
|     def->tooltip = L("Number of walls of every layer"); | ||||
|     def->min = 1; | ||||
|     def->min = 0; | ||||
|     def->max = 1000; | ||||
|     def->set_default_value(new ConfigOptionInt(2)); | ||||
| 
 | ||||
|  | @ -2397,6 +2397,14 @@ void PrintConfigDef::init_fff_params() | |||
|     def->mode = comSimple; | ||||
|     def->set_default_value(new ConfigOptionBool(false)); | ||||
| 
 | ||||
|     // BBS
 | ||||
|     def           = this->add("support_critical_regions_only", coBool); | ||||
|     def->label    = L("Support critical regions only"); | ||||
|     def->category = L("Support"); | ||||
|     def->tooltip  = L("Only create support for critical regions including sharp tail, cantilever, etc."); | ||||
|     def->mode     = comSimple; | ||||
|     def->set_default_value(new ConfigOptionBool(false)); | ||||
| 
 | ||||
|     // BBS: change type to common float.
 | ||||
|     // It may be rounded to mulitple layer height when independent_support_layer_height is false.
 | ||||
|     def = this->add("support_top_z_distance", coFloat); | ||||
|  | @ -3680,8 +3688,6 @@ void PrintConfigDef::handle_legacy(t_config_option_key &opt_key, std::string &va | |||
|         //But now these key-value must be absolute value.
 | ||||
|         //Reset to default value by erasing these key to avoid parsing error.
 | ||||
|         opt_key = ""; | ||||
|     } else if (opt_key == "filament_type" && value == "PA-CF") { | ||||
|         value == "PA"; | ||||
|     } else if (opt_key == "inherits_cummulative") { | ||||
|         opt_key = "inherits_group"; | ||||
|     } else if (opt_key == "compatible_printers_condition_cummulative") { | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 SoftFever
						SoftFever