mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 12:11:15 -06:00 
			
		
		
		
	Factor out some hard-coded settings
This commit is contained in:
		
							parent
							
								
									1ecadc10fb
								
							
						
					
					
						commit
						f2389682b6
					
				
					 5 changed files with 6 additions and 4 deletions
				
			
		|  | @ -21,7 +21,7 @@ sub fill_surface { | |||
|     # infill math | ||||
|     my $min_spacing = scale $params{flow_spacing}; | ||||
|     my $distance = $min_spacing / $params{density}; | ||||
|     my $overlap_distance = ($self->layer ? $self->layer->flow->scaled_width : $Slic3r::flow->scaled_width) * 0.4; | ||||
|     my $overlap_distance = ($self->layer ? $self->layer->flow->scaled_width : $Slic3r::flow->scaled_width) * &Slic3r::PERIMETER_INFILL_OVERLAP_OVER_WIDTH; | ||||
|      | ||||
|     my $cache_id = sprintf "d%s_s%s_a%s", | ||||
|         $params{density}, $params{flow_spacing}, $rotate_vector->[0][0]; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci