mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Implemented linear tapering of extrusion rate for the 1st spiral vase layer
above the solid infill. Should fix first layer of vase (after bottom layers) is bulging (0.6nozzle, 0.4 layerhight) #3712 Adjust flow of the "second" layer in spiral vase mode #2795
This commit is contained in:
		
							parent
							
								
									364300055e
								
							
						
					
					
						commit
						298b730589
					
				
					 3 changed files with 24 additions and 9 deletions
				
			
		|  | @ -8,18 +8,26 @@ namespace Slic3r { | |||
| 
 | ||||
| class SpiralVase { | ||||
| public: | ||||
|     bool enable = false; | ||||
|      | ||||
|     SpiralVase(const PrintConfig &config) : m_config(&config) | ||||
|     { | ||||
|         m_reader.z() = (float)m_config->z_offset; | ||||
|         m_reader.apply_config(*m_config); | ||||
|     }; | ||||
| 
 | ||||
|     void 		enable(bool en) { | ||||
|    		m_transition_layer = en && ! m_enabled; | ||||
|     	m_enabled 		   = en; | ||||
|     } | ||||
| 
 | ||||
|     std::string process_layer(const std::string &gcode); | ||||
|      | ||||
| private: | ||||
|     const PrintConfig  *m_config; | ||||
|     GCodeReader 		m_reader; | ||||
| 
 | ||||
|     bool 				m_enabled = false; | ||||
|     // First spiral vase layer. Layer height has to be ramped up from zero to the target layer height.
 | ||||
|     bool 				m_transition_layer = false; | ||||
| }; | ||||
| 
 | ||||
| } | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Vojtech Bubnik
						Vojtech Bubnik