mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Merge branch 'master' of https://github.com/prusa3d/Slic3r into scene_manipulators
This commit is contained in:
		
						commit
						d2588d9da1
					
				
					 1 changed files with 8 additions and 11 deletions
				
			
		|  | @ -142,14 +142,11 @@ public: | |||
| 		} | ||||
| 
 | ||||
| 		m_gcode += "G1"; | ||||
| 		if (rot.x != rotated_current_pos.x) { | ||||
| 			m_gcode += set_format_X(rot.x);     // Transform current position back to wipe tower coordinates (was updated by set_format_X)
 | ||||
|             m_current_pos.x = x; | ||||
|         } | ||||
| 		if (rot.y != rotated_current_pos.y) { | ||||
| 		if (std::abs(dx) > EPSILON) | ||||
| 			m_gcode += set_format_X(rot.x); | ||||
| 
 | ||||
| 		if (std::abs(dy) > EPSILON) | ||||
| 			m_gcode += set_format_Y(rot.y); | ||||
|             m_current_pos.y = y; | ||||
|         } | ||||
| 
 | ||||
| 		if (e != 0.f) | ||||
| 			m_gcode += set_format_E(e); | ||||
|  | @ -157,8 +154,8 @@ public: | |||
| 		if (f != 0.f && f != m_current_feedrate) | ||||
| 			m_gcode += set_format_F(f); | ||||
| 
 | ||||
| 		 | ||||
| 		 | ||||
|         m_current_pos.x = x; | ||||
|         m_current_pos.y = y; | ||||
| 
 | ||||
| 		// Update the elapsed time with a rough estimate.
 | ||||
| 		m_elapsed_time += ((len == 0) ? std::abs(e) : len) / m_current_feedrate * 60.f; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Enrico Turri
						Enrico Turri