mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 04:31:15 -06:00 
			
		
		
		
	Minor fixes to make_skirt and make_brim
This commit is contained in:
		
							parent
							
								
									4d76d05bbb
								
							
						
					
					
						commit
						08047c11eb
					
				
					 3 changed files with 20 additions and 14 deletions
				
			
		|  | @ -582,12 +582,14 @@ sub generate_support_material { | |||
|      | ||||
|     return if $self->step_done(STEP_SUPPORTMATERIAL); | ||||
|     $self->set_step_started(STEP_SUPPORTMATERIAL); | ||||
|     $self->print->status_cb->(85, "Generating support material"); | ||||
|      | ||||
|     $self->clear_support_layers; | ||||
|      | ||||
|     return unless ($self->config->support_material || $self->config->raft_layers > 0) | ||||
|         && scalar(@{$self->layers}) >= 2; | ||||
|     if ((!$self->config->support_material && $self->config->raft_layers == 0) || scalar(@{$self->layers}) < 2) { | ||||
|         $self->set_step_done(STEP_SUPPORTMATERIAL); | ||||
|         return; | ||||
|     } | ||||
|     $self->print->status_cb->(85, "Generating support material"); | ||||
|      | ||||
|     my $first_layer_flow = Slic3r::Flow->new_from_width( | ||||
|         width               => ($self->config->first_layer_extrusion_width || $self->config->support_material_extrusion_width), | ||||
|  |  | |||
|  | @ -88,10 +88,7 @@ sub export_gcode { | |||
|     my ($self) = @_; | ||||
|      | ||||
|     $self->_before_export; | ||||
|      | ||||
|     $self->_print->process; | ||||
|     $self->_print->export_gcode(output_file => $self->output_file); | ||||
|      | ||||
|     $self->_after_export; | ||||
| } | ||||
| 
 | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci