mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Fixed minor harmless error in a couple tests
This commit is contained in:
		
							parent
							
								
									3920a7e8b6
								
							
						
					
					
						commit
						534b8c3f12
					
				
					 2 changed files with 4 additions and 4 deletions
				
			
		
							
								
								
									
										6
									
								
								t/fill.t
									
										
									
									
									
								
							
							
						
						
									
										6
									
								
								t/fill.t
									
										
									
									
									
								
							| 
						 | 
				
			
			@ -46,7 +46,7 @@ sub scale_points (@) { map [scale $_->[X], scale $_->[Y]], @_ }
 | 
			
		|||
    );
 | 
			
		||||
    my $flow = Slic3r::Flow->new(
 | 
			
		||||
        width           => 0.69,
 | 
			
		||||
        spacing         => 0.69,
 | 
			
		||||
        height          => 0.4,
 | 
			
		||||
        nozzle_diameter => 0.50,
 | 
			
		||||
    );
 | 
			
		||||
    foreach my $angle (0, 45) {
 | 
			
		||||
| 
						 | 
				
			
			@ -70,13 +70,13 @@ sub scale_points (@) { map [scale $_->[X], scale $_->[Y]], @_ }
 | 
			
		|||
        );
 | 
			
		||||
        my $flow = Slic3r::Flow->new(
 | 
			
		||||
            width           => $flow_spacing,
 | 
			
		||||
            spacing         => $flow_spacing,
 | 
			
		||||
            height          => 0.4,
 | 
			
		||||
            nozzle_diameter => $flow_spacing,
 | 
			
		||||
        );
 | 
			
		||||
        my ($params, @paths) = $filler->fill_surface(
 | 
			
		||||
            $surface,
 | 
			
		||||
            flow            => $flow,
 | 
			
		||||
            layer_height    => 0.4,
 | 
			
		||||
            layer_height    => $flow->height,
 | 
			
		||||
            density         => $density // 1,
 | 
			
		||||
        );
 | 
			
		||||
        
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -20,7 +20,7 @@ use Test::More tests => 2;
 | 
			
		|||
{
 | 
			
		||||
    my $flow = Slic3r::Flow->new(
 | 
			
		||||
        width               => 1,
 | 
			
		||||
        spacing             => 0.95,
 | 
			
		||||
        height              => 0.4,
 | 
			
		||||
        nozzle_diameter     => 0.5,
 | 
			
		||||
    );
 | 
			
		||||
    isa_ok $flow, 'Slic3r::Flow', 'new';
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue