mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	FIX: the tree support use interface materials
Change-Id: I6c61c427095bf8157a2e29a8bb81a1754b6fd980 (cherry picked from commit 4b6d5c25599ca8c97184fd977a3bac2f278f8896)
This commit is contained in:
		
							parent
							
								
									4c063a8a32
								
							
						
					
					
						commit
						96e827ca7f
					
				
					 1 changed files with 23 additions and 1 deletions
				
			
		|  | @ -2666,7 +2666,29 @@ GCode::LayerResult GCode::process_layer( | |||
|                     } | ||||
|                 } | ||||
| 
 | ||||
|                 if (support_dontcare || interface_dontcare) { | ||||
|                 if (interface_dontcare) { | ||||
|                     int extruder_override = wiping_extrusions.get_support_interface_extruder_overrides(&object); | ||||
|                     if (extruder_override >= 0) { | ||||
|                         interface_extruder = extruder_override; | ||||
|                         interface_dontcare = false; | ||||
|                     } | ||||
|                 } | ||||
| 
 | ||||
|                 // BBS: try to print support base with a filament other than interface filament
 | ||||
|                 if (support_dontcare && !interface_dontcare) { | ||||
|                     unsigned int dontcare_extruder = first_extruder_id; | ||||
|                     for (unsigned int extruder_id : layer_tools.extruders) { | ||||
|                         if (print.config().filament_soluble.get_at(extruder_id)) continue; | ||||
| 
 | ||||
|                         if (extruder_id == interface_extruder) continue; | ||||
| 
 | ||||
|                         dontcare_extruder = extruder_id; | ||||
|                         break; | ||||
|                     } | ||||
| 
 | ||||
|                     if (support_dontcare) support_extruder = dontcare_extruder; | ||||
|                 } | ||||
|                 else if (support_dontcare || interface_dontcare) { | ||||
|                     // Some support will be printed with "don't care" material, preferably non-soluble.
 | ||||
|                     // Is the current extruder assigned a soluble filament?
 | ||||
|                     unsigned int dontcare_extruder = first_extruder_id; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 zhimin.zeng
						zhimin.zeng