mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	New implementation of support material
This commit is contained in:
		
							parent
							
								
									82a16ed8ee
								
							
						
					
					
						commit
						a8adff53ca
					
				
					 3 changed files with 33 additions and 41 deletions
				
			
		| 
						 | 
				
			
			@ -23,7 +23,7 @@ sub fill_surface {
 | 
			
		|||
    my ($surface, %params) = @_;
 | 
			
		||||
    
 | 
			
		||||
    # rotate polygons
 | 
			
		||||
    my $expolygon = $surface->expolygon;
 | 
			
		||||
    my $expolygon = $surface->expolygon->clone;
 | 
			
		||||
    my $rotate_vector = $self->infill_direction($surface);
 | 
			
		||||
    $self->rotate_points($expolygon, $rotate_vector);
 | 
			
		||||
    
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -11,7 +11,7 @@ sub fill_surface {
 | 
			
		|||
    my ($surface, %params) = @_;
 | 
			
		||||
    
 | 
			
		||||
    # rotate polygons so that we can work with vertical lines here
 | 
			
		||||
    my $expolygon = $surface->expolygon;
 | 
			
		||||
    my $expolygon = $surface->expolygon->clone;
 | 
			
		||||
    my $rotate_vector = $self->infill_direction($surface);
 | 
			
		||||
    $self->rotate_points($expolygon, $rotate_vector);
 | 
			
		||||
    
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue