mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Fix cutting of objects rotated around X or Y
This commit is contained in:
		
							parent
							
								
									5d9ff677c0
								
							
						
					
					
						commit
						6ac82f1a20
					
				
					 1 changed files with 1 additions and 1 deletions
				
			
		| 
						 | 
				
			
			@ -407,7 +407,7 @@ sub SetCuttingPlane {
 | 
			
		|||
    my @verts = ();
 | 
			
		||||
    foreach my $volume (@{$self->volumes}) {
 | 
			
		||||
        foreach my $volume (@{$self->volumes}) {
 | 
			
		||||
            my $expolygons = $volume->mesh->slice([ $z + $volume->origin->z ])->[0];
 | 
			
		||||
            my $expolygons = $volume->mesh->slice([ $z - $volume->origin->z ])->[0];
 | 
			
		||||
            $expolygons = offset_ex([ map @$_, @$expolygons ], scale 0.1);
 | 
			
		||||
            
 | 
			
		||||
            foreach my $line (map @{$_->lines}, map @$_, @$expolygons) {
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue