mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Remove residual uses of Boost for line clipping
This commit is contained in:
		
							parent
							
								
									5f2b2c90b6
								
							
						
					
					
						commit
						7475762a27
					
				
					 4 changed files with 22 additions and 22 deletions
				
			
		|  | @ -80,10 +80,10 @@ my %opt = ( | |||
|     # draw paths | ||||
|     foreach my $z (sort keys %paths) { | ||||
|         foreach my $line (@{ $paths{$z} }) { | ||||
|             my @intersections = @{ Boost::Geometry::Utils::polygon_multi_linestring_intersection( | ||||
|                 Slic3r::ExPolygon->new(_grow($line, $opt{extrusion_width}/2)), | ||||
|             my @intersections = @{intersection_pl( | ||||
|                 [ $section_line ], | ||||
|             ) }; | ||||
|                 [ _grow($line, $opt{extrusion_width}/2) ], | ||||
|             )}; | ||||
|              | ||||
|             $g->rectangle( | ||||
|                 'x'         => $opt{scale} * ($_->[A][X] - $bounding_box->x_min), | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci