mirror of
				https://github.com/SoftFever/OrcaSlicer.git
				synced 2025-10-30 20:21:12 -06:00 
			
		
		
		
	Moved Temperature under filament options
This commit is contained in:
		
							parent
							
								
									84abd41cf4
								
							
						
					
					
						commit
						332d55f854
					
				
					 3 changed files with 10 additions and 9 deletions
				
			
		|  | @ -1,6 +1,7 @@ | ||||||
| package Slic3r::Config; | package Slic3r::Config; | ||||||
| use strict; | use strict; | ||||||
| use warnings; | use warnings; | ||||||
|  | use utf8; | ||||||
| 
 | 
 | ||||||
| use constant PI => 4 * atan2(1, 1); | use constant PI => 4 * atan2(1, 1); | ||||||
| 
 | 
 | ||||||
|  | @ -32,9 +33,13 @@ our $Options = { | ||||||
|         type    => 'f', |         type    => 'f', | ||||||
|     }, |     }, | ||||||
|     'filament_packing_density' => { |     'filament_packing_density' => { | ||||||
|         label   => 'Packing density (mm)', |         label   => 'Packing density', | ||||||
|         type    => 'f', |         type    => 'f', | ||||||
|     }, |     }, | ||||||
|  |     'temperature' => { | ||||||
|  |         label   => 'Temperature (°C)', | ||||||
|  |         type    => 'i', | ||||||
|  |     }, | ||||||
|      |      | ||||||
|     # speed options |     # speed options | ||||||
|     'print_feed_rate' => { |     'print_feed_rate' => { | ||||||
|  | @ -81,10 +86,6 @@ our $Options = { | ||||||
|         label   => 'Fill angle (°)', |         label   => 'Fill angle (°)', | ||||||
|         type    => 'i', |         type    => 'i', | ||||||
|     }, |     }, | ||||||
|     'temperature' => { |  | ||||||
|         label   => 'Temperature (°C)', |  | ||||||
|         type    => 'i', |  | ||||||
|     }, |  | ||||||
|      |      | ||||||
|     # retraction options |     # retraction options | ||||||
|     'retract_length' => { |     'retract_length' => { | ||||||
|  |  | ||||||
|  | @ -21,7 +21,7 @@ sub new { | ||||||
|         ), |         ), | ||||||
|         filament => Slic3r::GUI::OptionsGroup->new($self, |         filament => Slic3r::GUI::OptionsGroup->new($self, | ||||||
|             title => 'Filament', |             title => 'Filament', | ||||||
|             options => [qw(filament_diameter filament_packing_density)], |             options => [qw(filament_diameter filament_packing_density temperature)], | ||||||
|         ), |         ), | ||||||
|         speed => Slic3r::GUI::OptionsGroup->new($self, |         speed => Slic3r::GUI::OptionsGroup->new($self, | ||||||
|             title => 'Speed', |             title => 'Speed', | ||||||
|  | @ -33,7 +33,7 @@ sub new { | ||||||
|         ), |         ), | ||||||
|         print => Slic3r::GUI::OptionsGroup->new($self, |         print => Slic3r::GUI::OptionsGroup->new($self, | ||||||
|             title => 'Print settings', |             title => 'Print settings', | ||||||
|             options => [qw(perimeter_offsets solid_layers fill_density fill_angle temperature)], |             options => [qw(perimeter_offsets solid_layers fill_density fill_angle)], | ||||||
|         ), |         ), | ||||||
|         retract => Slic3r::GUI::OptionsGroup->new($self, |         retract => Slic3r::GUI::OptionsGroup->new($self, | ||||||
|             title => 'Retraction', |             title => 'Retraction', | ||||||
|  |  | ||||||
|  | @ -31,6 +31,7 @@ GetOptions( | ||||||
|     # filament options |     # filament options | ||||||
|     'filament-diameter=f'           => \$Slic3r::filament_diameter, |     'filament-diameter=f'           => \$Slic3r::filament_diameter, | ||||||
|     'filament-packing-density=f'    => \$Slic3r::filament_packing_density, |     'filament-packing-density=f'    => \$Slic3r::filament_packing_density, | ||||||
|  |     'temperature=i'         => \$Slic3r::temperature, | ||||||
|      |      | ||||||
|     # speed options |     # speed options | ||||||
|     'print-feed-rate=i'             => \$Slic3r::print_feed_rate, |     'print-feed-rate=i'             => \$Slic3r::print_feed_rate, | ||||||
|  | @ -48,7 +49,6 @@ GetOptions( | ||||||
|     'fill-type=s'           => \$Slic3r::fill_type, |     'fill-type=s'           => \$Slic3r::fill_type, | ||||||
|     'fill-density=f'        => \$Slic3r::fill_density, |     'fill-density=f'        => \$Slic3r::fill_density, | ||||||
|     'fill-angle=i'          => \$Slic3r::fill_angle, |     'fill-angle=i'          => \$Slic3r::fill_angle, | ||||||
|     'temperature=i'         => \$Slic3r::temperature, |  | ||||||
|      |      | ||||||
|     # retraction options |     # retraction options | ||||||
|     'retract-length=f'          => \$Slic3r::retract_length, |     'retract-length=f'          => \$Slic3r::retract_length, | ||||||
|  | @ -128,6 +128,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) | ||||||
|      |      | ||||||
|   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) | ||||||
|  | @ -151,7 +152,6 @@ Usage: slic3r.pl [ OPTIONS ] file.stl | ||||||
|                         (range: 1+, default: $Slic3r::solid_layers) |                         (range: 1+, default: $Slic3r::solid_layers) | ||||||
|     --fill-density      Infill density (range: 0-1, default: $Slic3r::fill_density) |     --fill-density      Infill density (range: 0-1, default: $Slic3r::fill_density) | ||||||
|     --fill-angle        Infill angle in degrees (range: 0-90, default: $Slic3r::fill_angle) |     --fill-angle        Infill angle in degrees (range: 0-90, default: $Slic3r::fill_angle) | ||||||
|     --temperature       Extrusion temperature (default: $Slic3r::temperature) |  | ||||||
|    |    | ||||||
|   Retraction options: |   Retraction options: | ||||||
|     --retract-length    Length of retraction in mm when pausing extrusion  |     --retract-length    Length of retraction in mm when pausing extrusion  | ||||||
|  |  | ||||||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue
	
	 Alessandro Ranellucci
						Alessandro Ranellucci