mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Bugfix: extrusion width setting for support material was only affecting the path spacing but not the actual flow. #666
This commit is contained in:
		
							parent
							
								
									d848e2d4c9
								
							
						
					
					
						commit
						f314cedd8f
					
				
					 5 changed files with 6 additions and 5 deletions
				
			
		|  | @ -170,7 +170,7 @@ sub make_fill { | |||
|                             ? ($surface->surface_type == S_TYPE_TOP ? EXTR_ROLE_TOPSOLIDFILL : EXTR_ROLE_SOLIDFILL) | ||||
|                             : EXTR_ROLE_FILL), | ||||
|                     depth_layers => $surface->depth_layers, | ||||
|                     flow_spacing => $params->{flow_spacing} || $flow_spacing, | ||||
|                     flow_spacing => $params->{flow_spacing} || (warn "Warning: no flow_spacing was returned by the infill engine, please report this to the developer\n"), | ||||
|                 ), @paths, | ||||
|             ], | ||||
|         ); | ||||
|  |  | |||
|  | @ -18,7 +18,7 @@ sub fill_surface { | |||
|     my $min_spacing = scale $params{flow_spacing}; | ||||
|     my $distance = $min_spacing / $params{density}; | ||||
|      | ||||
|     my $flow_spacing; | ||||
|     my $flow_spacing = $params{flow_spacing}; | ||||
|     if ($params{density} == 1) { | ||||
|         $distance = $self->adjust_solid_spacing( | ||||
|             width       => $bounding_box->[X2] - $bounding_box->[X1], | ||||
|  |  | |||
|  | @ -94,7 +94,8 @@ sub fill_surface { | |||
|         paths => [ map Slic3r::ExtrusionPath->pack(polyline => $_, role => -1), @paths ], | ||||
|     ); | ||||
|      | ||||
|     return {}, map $_->polyline, $collection->shortest_path; | ||||
|     return { flow_spacing => $params{flow_spacing} }, | ||||
|         map $_->polyline, $collection->shortest_path; | ||||
| } | ||||
| 
 | ||||
| 1; | ||||
|  |  | |||
|  | @ -60,7 +60,7 @@ sub fill_surface { | |||
|     # paths must be rotated back | ||||
|     $self->rotate_points_back(\@paths, $rotate_vector); | ||||
|      | ||||
|     return {}, @paths; | ||||
|     return { flow_spacing => $params{flow_spacing} }, @paths; | ||||
| } | ||||
| 
 | ||||
| 1; | ||||
|  |  | |||
|  | @ -22,7 +22,7 @@ sub fill_surface { | |||
|     my $distance_between_lines = $min_spacing / $params{density}; | ||||
|     my $line_oscillation = $distance_between_lines - $min_spacing; | ||||
|      | ||||
|     my $flow_spacing; | ||||
|     my $flow_spacing = $params{flow_spacing}; | ||||
|     if ($params{density} == 1) { | ||||
|         $distance_between_lines = $self->adjust_solid_spacing( | ||||
|             width       => $bounding_box->[X2] - $bounding_box->[X1], | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci