mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Disable M104 if temperature is 0
This commit is contained in:
		
							parent
							
								
									9e42158582
								
							
						
					
					
						commit
						e65349469b
					
				
					 2 changed files with 2 additions and 2 deletions
				
			
		| 
						 | 
					@ -443,7 +443,7 @@ sub export_gcode {
 | 
				
			||||||
        or die "Failed to open $file for writing\n";
 | 
					        or die "Failed to open $file for writing\n";
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
    # write start commands to file
 | 
					    # write start commands to file
 | 
				
			||||||
    printf $fh "M104 S%d ; set temperature\n", $Slic3r::temperature;
 | 
					    printf $fh "M104 S%d ; set temperature\n", $Slic3r::temperature unless $Slic3r::temperature;
 | 
				
			||||||
    print  $fh "$Slic3r::start_gcode\n";
 | 
					    print  $fh "$Slic3r::start_gcode\n";
 | 
				
			||||||
    print  $fh "G90 ; use absolute coordinates\n";
 | 
					    print  $fh "G90 ; use absolute coordinates\n";
 | 
				
			||||||
    print  $fh "G21 ; set units to millimeters\n";
 | 
					    print  $fh "G21 ; set units to millimeters\n";
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -147,7 +147,7 @@ Usage: slic3r.pl [ OPTIONS ] file.stl
 | 
				
			||||||
    --filament-packing-density
 | 
					    --filament-packing-density
 | 
				
			||||||
                        Ratio of the extruded volume over volume pushed 
 | 
					                        Ratio of the extruded volume over volume pushed 
 | 
				
			||||||
                        into the extruder (default: $Slic3r::filament_packing_density)
 | 
					                        into the extruder (default: $Slic3r::filament_packing_density)
 | 
				
			||||||
    --temperature       Extrusion temperature (default: $Slic3r::temperature)
 | 
					    --temperature       Extrusion temperature, set 0 to disable (default: $Slic3r::temperature)
 | 
				
			||||||
    
 | 
					    
 | 
				
			||||||
  Speed options:
 | 
					  Speed options:
 | 
				
			||||||
    --print-feed-rate   Speed of print moves in mm/sec (default: $Slic3r::print_feed_rate)
 | 
					    --print-feed-rate   Speed of print moves in mm/sec (default: $Slic3r::print_feed_rate)
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue