mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-29 19:53:44 -06:00 
			
		
		
		
	Make sure teeth are not too tight
This commit is contained in:
		
							parent
							
								
									9513fa7600
								
							
						
					
					
						commit
						e5fe04ea7a
					
				
					 1 changed files with 4 additions and 8 deletions
				
			
		|  | @ -826,14 +826,10 @@ sub generate_support_material { | |||
|     } | ||||
|      | ||||
|     # shape of contact area | ||||
|     my $contact_loops = 1; | ||||
|     my $circle_distance = 3 * $flow->scaled_width; | ||||
|     my $circle; | ||||
|     { | ||||
|         # TODO: make sure teeth between circles are compatible with support material flow | ||||
|         my $r = 1.5 * $flow->scaled_width; | ||||
|         $circle = Slic3r::Polygon->new(map [ $r * cos $_, $r * sin $_ ], (5*PI/3, 4*PI/3, PI, 2*PI/3, PI/3, 0)); | ||||
|     } | ||||
|     my $contact_loops   = 1; | ||||
|     my $circle_radius   = 1.5 * $flow->scaled_width; | ||||
|     my $circle_distance = 3 * $circle_radius; | ||||
|     my $circle          = Slic3r::Polygon->new(map [ $circle_radius * cos $_, $circle_radius * sin $_ ], (5*PI/3, 4*PI/3, PI, 2*PI/3, PI/3, 0)); | ||||
|      | ||||
|     # determine contact areas | ||||
|     my %contact  = ();  # contact_z => [ polygons ] | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci