mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Fix of "Wipe Tower ... only supported ... .4 nozzle" error when slicing
a non .4mm nozzle single extruder (Stock MK2S) print https://github.com/prusa3d/Slic3r/issues/426 The constraint for the "Wipe Tower" checkbox has been raised, so one will get this error message only if the printer settings has more than one extruder configured, as the wipe tower does not get generated for a single extruder print.
This commit is contained in:
		
							parent
							
								
									ed73f0b6ef
								
							
						
					
					
						commit
						2c82a327dd
					
				
					 2 changed files with 3 additions and 3 deletions
				
			
		|  | @ -557,7 +557,7 @@ std::string Print::validate() const | |||
|             return "The Spiral Vase option can only be used when printing single material objects."; | ||||
|     } | ||||
| 
 | ||||
|     if (this->config.wipe_tower && ! this->objects.empty()) { | ||||
|     if (this->has_wipe_tower() && ! this->objects.empty()) { | ||||
|         for (auto dmr : this->config.nozzle_diameter.values) | ||||
|             if (std::abs(dmr - 0.4) > EPSILON) | ||||
|                 return "The Wipe Tower is currently only supported for the 0.4mm nozzle diameter."; | ||||
|  | @ -939,7 +939,7 @@ void Print::_make_brim() | |||
| } | ||||
| 
 | ||||
| // Wipe tower support.
 | ||||
| bool Print::has_wipe_tower() | ||||
| bool Print::has_wipe_tower() const | ||||
| { | ||||
|     return  | ||||
|         this->config.single_extruder_multi_material.value &&  | ||||
|  |  | |||
|  | @ -280,7 +280,7 @@ public: | |||
|     void _make_brim(); | ||||
| 
 | ||||
|     // Wipe tower support.
 | ||||
|     bool has_wipe_tower(); | ||||
|     bool has_wipe_tower() const; | ||||
|     void _clear_wipe_tower(); | ||||
|     void _make_wipe_tower(); | ||||
|     // Tool ordering of a non-sequential print has to be known to calculate the wipe tower.
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv