mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	XS interface completed, including new Line class
This commit is contained in:
		
							parent
							
								
									9af2a1c007
								
							
						
					
					
						commit
						ab6b3d41a7
					
				
					 33 changed files with 435 additions and 257 deletions
				
			
		| 
						 | 
				
			
			@ -179,8 +179,8 @@ sub traverse_pt {
 | 
			
		|||
 | 
			
		||||
sub _convert {
 | 
			
		||||
    my $polygons = shift;
 | 
			
		||||
    $polygons = $polygons->arrayref_pp if ref $polygons eq 'Slic3r::ExPolygon::XS';
 | 
			
		||||
    $polygons = [ map $_->arrayref_pp, @$polygons ] if @$polygons && ref $polygons->[0] eq 'Slic3r::Polygon';
 | 
			
		||||
    $polygons = $polygons->pp if ref $polygons eq 'Slic3r::ExPolygon::XS';
 | 
			
		||||
    $polygons = [ map $_->pp, @$polygons ] if @$polygons && ref $polygons->[0] eq 'Slic3r::Polygon';
 | 
			
		||||
    return $polygons;
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue