mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Put skirt outside brim to avoid conflicts. #2157
This commit is contained in:
		
							parent
							
								
									86bad17abb
								
							
						
					
					
						commit
						7aaf27c0c7
					
				
					 4 changed files with 6 additions and 11 deletions
				
			
		|  | @ -166,7 +166,7 @@ sub repaint { | |||
|     if (@{$self->{objects}} && $self->{config}->skirts) { | ||||
|         my @points = map @{$_->contour}, map @$_, map @{$_->instance_thumbnails}, @{$self->{objects}}; | ||||
|         if (@points >= 3) { | ||||
|             my ($convex_hull) = @{offset([convex_hull(\@points)], scale($self->{config}->skirt_distance), 1, JT_ROUND, scale(0.1))}; | ||||
|             my ($convex_hull) = @{offset([convex_hull(\@points)], scale max($self->{config}->brim_width + $self->{config}->skirt_distance), 1, JT_ROUND, scale(0.1))}; | ||||
|             $dc->SetPen($self->{skirt_pen}); | ||||
|             $dc->SetBrush($self->{transparent_brush}); | ||||
|             $dc->DrawPolygon($self->scaled_points_to_pixel($convex_hull, 1), 0, 0); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci