mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Support material
This commit is contained in:
		
							parent
							
								
									e0e2023a5a
								
							
						
					
					
						commit
						7b67fae686
					
				
					 12 changed files with 135 additions and 17 deletions
				
			
		|  | @ -35,10 +35,6 @@ sub go { | |||
|         $print = Slic3r::Print->new_from_mesh($mesh); | ||||
|     } | ||||
|      | ||||
|     # make skirt | ||||
|     $self->status_cb->(15, "Generating skirt..."); | ||||
|     $print->extrude_skirt; | ||||
|      | ||||
|     # make perimeters | ||||
|     # this will add a set of extrusion loops to each layer | ||||
|     # as well as generate infill boundaries | ||||
|  | @ -118,6 +114,16 @@ sub go { | |||
|     # free memory | ||||
|     @{$_->fill_surfaces} = () for @{$print->layers}; | ||||
|      | ||||
|     # generate support material | ||||
|     if ($Slic3r::support_material) { | ||||
|         $self->status_cb->(85, "Generating support material..."); | ||||
|         $print->generate_support_material; | ||||
|     } | ||||
|      | ||||
|     # make skirt | ||||
|     $self->status_cb->(88, "Generating skirt..."); | ||||
|     $print->extrude_skirt; | ||||
|      | ||||
|     # output everything to a GCODE file | ||||
|     $self->status_cb->(90, "Exporting GCODE..."); | ||||
|     $print->export_gcode($self->expanded_output_filepath); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci