mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-11-02 20:51:23 -07:00 
			
		
		
		
	Partial work for implementing a standby temperature option
This commit is contained in:
		
							parent
							
								
									4fe0675380
								
							
						
					
					
						commit
						991bc8ae3d
					
				
					 2 changed files with 23 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -217,6 +217,25 @@ our $Options = {
 | 
			
		|||
        default => 1,
 | 
			
		||||
    },
 | 
			
		||||
    
 | 
			
		||||
    # multiple extruder options
 | 
			
		||||
    'standby_temperature' => {
 | 
			
		||||
        label   => 'Enable',
 | 
			
		||||
        tooltip => 'This option will drop the temperature of the inactive extruders to prevent oozing. It will enable a tall skirt automatically and move extruders outside such skirt when changing temperatures.',
 | 
			
		||||
        cli     => 'standby-temperature!',
 | 
			
		||||
        type    => 'bool',
 | 
			
		||||
        default => 0,
 | 
			
		||||
    },
 | 
			
		||||
    'standby_temperature_delta' => {
 | 
			
		||||
        label   => 'Temperature variation',
 | 
			
		||||
        tooltip => 'Temperature difference to be applied when an extruder is not active.',
 | 
			
		||||
        sidetext => '∆°C',
 | 
			
		||||
        cli     => 'standby-temperature-delta=i',
 | 
			
		||||
        type    => 'i',
 | 
			
		||||
        min     => -400,
 | 
			
		||||
        max     => 400,
 | 
			
		||||
        default => -5,
 | 
			
		||||
    },
 | 
			
		||||
    
 | 
			
		||||
    # filament options
 | 
			
		||||
    'first_layer_bed_temperature' => {
 | 
			
		||||
        label   => 'First layer',
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -528,6 +528,10 @@ sub build {
 | 
			
		|||
            title => 'Extruders',
 | 
			
		||||
            options => [qw(perimeter_extruder infill_extruder support_material_extruder support_material_interface_extruder)],
 | 
			
		||||
        },
 | 
			
		||||
        {
 | 
			
		||||
            title => 'Standby Temperature',
 | 
			
		||||
            options => [qw(standby_temperature standby_temperature_delta)],
 | 
			
		||||
        },
 | 
			
		||||
    ]);
 | 
			
		||||
    
 | 
			
		||||
    $self->add_options_page('Advanced', 'wrench.png', optgroups => [
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue