mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Apply contact distance to first support layer above object's top surfaces too. #1939
This commit is contained in:
		
							parent
							
								
									25bc8e6f29
								
							
						
					
					
						commit
						af446dc7d4
					
				
					 1 changed files with 6 additions and 1 deletions
				
			
		|  | @ -339,7 +339,12 @@ sub support_layers_z { | |||
|     # layer_height > nozzle_diameter * 0.75 | ||||
|     my $nozzle_diameter = $self->print_config->get_at('nozzle_diameter', $self->object_config->support_material_extruder-1); | ||||
|     my $support_material_height = max($max_object_layer_height, $nozzle_diameter * 0.75); | ||||
|     my @z = sort { $a <=> $b } @$contact_z, @$top_z, (map $_ + $nozzle_diameter, @$top_z); | ||||
|      | ||||
|     # initialize known, fixed, support layers | ||||
|     my @z = sort { $a <=> $b } | ||||
|         @$contact_z, | ||||
|         @$top_z,  # TODO: why we have this? | ||||
|         (map $_ + contact_distance($nozzle_diameter), @$top_z); | ||||
|      | ||||
|     # enforce first layer height | ||||
|     my $first_layer_height = $self->object_config->get_value('first_layer_height'); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci