mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Simplified the skirt paths.
This commit is contained in:
		
							parent
							
								
									073d6d2d43
								
							
						
					
					
						commit
						9e0a690d2e
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -958,7 +958,12 @@ void Print::_make_skirt() | |||
|         // Offset the skirt outside.
 | ||||
|         distance += coord_t(scale_(spacing)); | ||||
|         // Generate the skirt centerline.
 | ||||
|         Polygon loop = offset(convex_hull, distance, ClipperLib::jtRound, scale_(0.1)).front(); | ||||
|         Polygon loop; | ||||
|         { | ||||
|             Polygons loops = offset(convex_hull, distance, ClipperLib::jtRound, scale_(0.1)); | ||||
|             Geometry::simplify_polygons(loops, scale_(0.05), &loops); | ||||
|             loop = loops.front(); | ||||
|         } | ||||
|         // Extrude the skirt loop.
 | ||||
|         ExtrusionLoop eloop(elrSkirt); | ||||
|         eloop.paths.emplace_back(ExtrusionPath( | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 bubnikv
						bubnikv