mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-31 12:41:20 -06:00 
			
		
		
		
	Always move Z at travel speed. #1093
This commit is contained in:
		
							parent
							
								
									6b989203b4
								
							
						
					
					
						commit
						94ed6cd239
					
				
					 3 changed files with 11 additions and 1 deletions
				
			
		
							
								
								
									
										5
									
								
								t/fill.t
									
										
									
									
									
								
							
							
						
						
									
										5
									
								
								t/fill.t
									
										
									
									
									
								
							|  | @ -39,6 +39,11 @@ sub scale_points (@) { map [scale $_->[X], scale $_->[Y]], @_ } | |||
|         $surface->expolygon->rotate(Slic3r::Geometry::deg2rad($angle), [0,0]); | ||||
|         my ($params, @paths) = $filler->fill_surface($surface, flow_spacing => 0.69, density => 0.4); | ||||
|         is scalar @paths, 1, 'one continuous path'; | ||||
|         use Slic3r::SVG; | ||||
|         Slic3r::SVG::output("fill.svg", | ||||
|             expolygons => [$surface->expolygon], | ||||
|             polylines => [@paths], | ||||
|         );exit; | ||||
|     } | ||||
| } | ||||
| 
 | ||||
|  |  | |||
|  | @ -52,6 +52,7 @@ my $test = sub { | |||
|                     if !_eq($info->{dist_Z}, -$print->extruders->[$tool]->retract_lift); | ||||
|                 $lifted = 0; | ||||
|             } | ||||
|             fail 'move Z at travel speed' if ($args->{F} // $self->F) != $conf->travel_speed * 60; | ||||
|         } | ||||
|         if ($info->{retracting}) { | ||||
|             $retracted[$tool] = 1; | ||||
|  | @ -89,6 +90,7 @@ my $test = sub { | |||
| }; | ||||
| 
 | ||||
| $config->set('first_layer_height',      $config->layer_height); | ||||
| $config->set('first_layer_speed',       '100%'); | ||||
| $config->set('start_gcode',             '');  # to avoid dealing with the nozzle lift in start G-code | ||||
| $config->set('retract_length',          [1.5]); | ||||
| $config->set('retract_before_travel',   [3]); | ||||
|  |  | |||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci