mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Refactored Line objects to arrayrefs
This commit is contained in:
		
							parent
							
								
									e410410dc7
								
							
						
					
					
						commit
						c97a89c07c
					
				
					 10 changed files with 47 additions and 44 deletions
				
			
		| 
						 | 
				
			
			@ -3,6 +3,7 @@ use Moo;
 | 
			
		|||
 | 
			
		||||
extends 'Slic3r::Line';
 | 
			
		||||
 | 
			
		||||
has 'edge_type' => (is => 'ro');  # top/bottom
 | 
			
		||||
use Slic3r::Line::FacetEdge::Bottom;
 | 
			
		||||
use Slic3r::Line::FacetEdge::Top;
 | 
			
		||||
 | 
			
		||||
1;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
							
								
								
									
										6
									
								
								lib/Slic3r/Line/FacetEdge/Bottom.pm
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								lib/Slic3r/Line/FacetEdge/Bottom.pm
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,6 @@
 | 
			
		|||
package Slic3r::Line::FacetEdge::Bottom;
 | 
			
		||||
use Moo;
 | 
			
		||||
 | 
			
		||||
extends 'Slic3r::Line::FacetEdge';
 | 
			
		||||
 | 
			
		||||
1;
 | 
			
		||||
							
								
								
									
										6
									
								
								lib/Slic3r/Line/FacetEdge/Top.pm
									
										
									
									
									
										Normal file
									
								
							
							
						
						
									
										6
									
								
								lib/Slic3r/Line/FacetEdge/Top.pm
									
										
									
									
									
										Normal file
									
								
							| 
						 | 
				
			
			@ -0,0 +1,6 @@
 | 
			
		|||
package Slic3r::Line::FacetEdge::Top;
 | 
			
		||||
use Moo;
 | 
			
		||||
 | 
			
		||||
extends 'Slic3r::Line::FacetEdge';
 | 
			
		||||
 | 
			
		||||
1;
 | 
			
		||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue