mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	ENH: align the filament type with app/machine/RFID
Signed-off-by: salt.wei <salt.wei@bambulab.com> Change-Id: I534e6b619efbb7fe6b813bf51640f46066f378c5
This commit is contained in:
		
							parent
							
								
									f56e9b4b21
								
							
						
					
					
						commit
						97ffa093c3
					
				
					 7 changed files with 12 additions and 8 deletions
				
			
		|  | @ -641,7 +641,7 @@ double getadhesionCoeff(const PrintObject* printObject) | |||
|         for (auto iter = extrudersFirstLayer.begin(); iter != extrudersFirstLayer.end(); iter++) | ||||
|             if (modelVolume->extruder_id() == *iter) { | ||||
|                 if (Model::extruderParamsMap.find(modelVolume->extruder_id()) != Model::extruderParamsMap.end()) | ||||
|                     if (Model::extruderParamsMap.at(modelVolume->extruder_id()).materialName == "PET") { | ||||
|                     if (Model::extruderParamsMap.at(modelVolume->extruder_id()).materialName == "PETG") { | ||||
|                         adhesionCoeff = 2; | ||||
|                     } | ||||
|                     else if (Model::extruderParamsMap.at(modelVolume->extruder_id()).materialName == "TPU") { | ||||
|  |  | |||
|  | @ -2851,7 +2851,7 @@ double getadhesionCoeff(const ModelVolumePtrs objectVolumes) | |||
|     double adhesionCoeff = 1; | ||||
|     for (const ModelVolume* modelVolume : objectVolumes) { | ||||
|         if (Model::extruderParamsMap.find(modelVolume->extruder_id()) != Model::extruderParamsMap.end()) | ||||
|             if (Model::extruderParamsMap.at(modelVolume->extruder_id()).materialName == "PET") { | ||||
|             if (Model::extruderParamsMap.at(modelVolume->extruder_id()).materialName == "PETG") { | ||||
|                 adhesionCoeff = 2; | ||||
|             } | ||||
|             else if (Model::extruderParamsMap.at(modelVolume->extruder_id()).materialName == "TPU") { | ||||
|  |  | |||
|  | @ -692,15 +692,15 @@ static StringObjectException layered_print_cleareance_valid(const Print &print, | |||
| //BBS
 | ||||
| static std::map<std::string, bool> filament_is_high_temp { | ||||
|         {"PLA",     false}, | ||||
|         {"PET",     true}, | ||||
|         {"PLA-CF",  false}, | ||||
|         {"PETG",    true}, | ||||
|         {"ABS",     true}, | ||||
|         {"TPU",     false}, | ||||
|         {"PA",      true}, | ||||
|         {"PA-CF",   true}, | ||||
|         {"PET-CF",  true}, | ||||
|         {"PC",      true}, | ||||
|         {"ASA",     true}, | ||||
|         {"PVA",     false} | ||||
|         {"ASA",     true} | ||||
| }; | ||||
| 
 | ||||
| //BBS: this function is used to check whether multi filament can be printed
 | ||||
|  |  | |||
|  | @ -955,11 +955,12 @@ void PrintConfigDef::init_fff_params() | |||
|     def->enum_values.push_back("PLA"); | ||||
|     def->enum_values.push_back("ABS"); | ||||
|     def->enum_values.push_back("ASA"); | ||||
|     def->enum_values.push_back("PET"); | ||||
|     def->enum_values.push_back("PETG"); | ||||
|     def->enum_values.push_back("TPU"); | ||||
|     def->enum_values.push_back("PC"); | ||||
|     def->enum_values.push_back("PA"); | ||||
|     def->enum_values.push_back("PA-CF"); | ||||
|     def->enum_values.push_back("PLA-CF"); | ||||
|     def->enum_values.push_back("PET-CF"); | ||||
|     def->enum_values.push_back("PVA"); | ||||
|     def->mode = comSimple; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 salt.wei
						salt.wei