mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Align infill across layers regardless of first-layer-specific extrusion width. Includes a good internal API refactoring and a fix to 3D honeycomb flow
This commit is contained in:
		
							parent
							
								
									93507bfd49
								
							
						
					
					
						commit
						64061267c8
					
				
					 8 changed files with 67 additions and 46 deletions
				
			
		|  | @ -4,6 +4,8 @@ use Moo; | |||
| has 'layer_id'            => (is => 'rw'); | ||||
| has 'z'                   => (is => 'rw'); # in unscaled coordinates | ||||
| has 'angle'               => (is => 'rw'); # in radians, ccw, 0 = East | ||||
| has 'spacing'             => (is => 'rw'); # in unscaled coordinates | ||||
| has 'loop_clipping'       => (is => 'rw', default => sub { 0 }); # in scaled coordinates | ||||
| has 'bounding_box'        => (is => 'ro', required => 0);  # Slic3r::Geometry::BoundingBox object | ||||
| 
 | ||||
| sub adjust_solid_spacing { | ||||
|  | @ -17,6 +19,9 @@ sub adjust_solid_spacing { | |||
|     return $params{distance} + $extra_space / ($number_of_lines - 1); | ||||
| } | ||||
| 
 | ||||
| sub no_sort { 0 } | ||||
| sub use_bridge_flow { 0 } | ||||
| 
 | ||||
| 
 | ||||
| package Slic3r::Fill::WithDirection; | ||||
| use Moo::Role; | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci