Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 276 lines (242 sloc) 13.454 kb
55a523e @alexrj Initial import
alexrj authored
1 #!/usr/bin/perl
2
3 use strict;
4 use warnings;
5
6 BEGIN {
7 use FindBin;
8 use lib "$FindBin::Bin/lib";
9 }
10
7305b6d @alexrj Disallow GNU command line option abbreviation
alexrj authored
11 use Getopt::Long qw(:config no_auto_abbrev);
55a523e @alexrj Initial import
alexrj authored
12 use Slic3r;
7b50e1b @alexrj Enbling autoflush
alexrj authored
13 $|++;
5595839 @alexrj Command line interface
alexrj authored
14
e99c9f9 @alexrj Options on command line now override config. Also, "feed rate" was renam...
alexrj authored
15 my %opt = ();
16 my %cli_options = ();
17 {
18 my %options = (
19 'help' => sub { usage() },
c50cabe @henrikbrixandersen Add --version argument
henrikbrixandersen authored
20 'version' => sub { print "$Slic3r::VERSION\n"; exit 0 },
e99c9f9 @alexrj Options on command line now override config. Also, "feed rate" was renam...
alexrj authored
21
22 'debug' => \$Slic3r::debug,
2e897ec @alexrj Multithreaded thumbnail generation
alexrj authored
23 'gui' => \$opt{gui},
f9446b9 @alexrj Cleanup the --output-filename-format implementation. #53 #137
alexrj authored
24 'o|output=s' => \$opt{output},
e99c9f9 @alexrj Options on command line now override config. Also, "feed rate" was renam...
alexrj authored
25
26 'save=s' => \$opt{save},
d63fd77 @alexrj Allow multiple --load options
alexrj authored
27 'load=s@' => \$opt{load},
fcb7f63 @alexrj Added --ignore-nonexistent-config to allow integration with Pronterface ...
alexrj authored
28 'ignore-nonexistent-config' => \$opt{ignore_nonexistent_config},
32c46f0 @alexrj SVG export
alexrj authored
29 'export-svg' => \$opt{export_svg},
92bc6ca @alexrj Alias -m to --merge
alexrj authored
30 'merge|m' => \$opt{merge},
e99c9f9 @alexrj Options on command line now override config. Also, "feed rate" was renam...
alexrj authored
31 );
32 foreach my $opt_key (keys %$Slic3r::Config::Options) {
33 my $opt = $Slic3r::Config::Options->{$opt_key};
b0303c1 @beanz Allow cli options to use '_' instead of '-'.
beanz authored
34 my $cli = $opt->{cli} or next;
35 if ($cli =~ /-/) {
36 # allow alternative options with '_' in place of '-'
37 $cli = $opt_key.'|'.$cli;
38 }
39 $options{ $cli } = \$cli_options{$opt_key};
e99c9f9 @alexrj Options on command line now override config. Also, "feed rate" was renam...
alexrj authored
40 }
bfad101 @alexrj Ability to scale input object
alexrj authored
41
e99c9f9 @alexrj Options on command line now override config. Also, "feed rate" was renam...
alexrj authored
42 GetOptions(%options) or usage(1);
43 }
5595839 @alexrj Command line interface
alexrj authored
44
a1d518f @alexrj Save and load configurations
alexrj authored
45 # load configuration
46 if ($opt{load}) {
d63fd77 @alexrj Allow multiple --load options
alexrj authored
47 foreach my $configfile (@{$opt{load}}) {
48 if (-e $configfile) {
49 Slic3r::Config->load($configfile);
50 } elsif (-e "$FindBin::Bin/$configfile") {
51 printf STDERR "Loading $FindBin::Bin/$configfile\n";
52 Slic3r::Config->load("$FindBin::Bin/$configfile");
53 } else {
54 $opt{ignore_nonexistent_config} or die "Cannot find specified configuration file ($configfile).\n";
55 }
fcb7f63 @alexrj Added --ignore-nonexistent-config to allow integration with Pronterface ...
alexrj authored
56 }
a1d518f @alexrj Save and load configurations
alexrj authored
57 }
58
2d784fa @alexrj New --start-gcode and --end-gcode options. #12
alexrj authored
59 # validate command line options
e99c9f9 @alexrj Options on command line now override config. Also, "feed rate" was renam...
alexrj authored
60 Slic3r::Config->validate_cli(\%cli_options);
61
62 # apply command line options
63 Slic3r::Config->set($_ => $cli_options{$_})
64 for grep defined $cli_options{$_}, keys %cli_options;
2d784fa @alexrj New --start-gcode and --end-gcode options. #12
alexrj authored
65
5595839 @alexrj Command line interface
alexrj authored
66 # validate configuration
f2f9178 @alexrj GUI
alexrj authored
67 Slic3r::Config->validate;
68
a1d518f @alexrj Save and load configurations
alexrj authored
69 # save configuration
70 Slic3r::Config->save($opt{save}) if $opt{save};
71
f2f9178 @alexrj GUI
alexrj authored
72 # start GUI
a1d518f @alexrj Save and load configurations
alexrj authored
73 if (!@ARGV && !$opt{save} && eval "require Slic3r::GUI; 1") {
62ee79f @alexrj Remember last config file path when loaded from CLI too
alexrj authored
74 no warnings 'once';
8cdf9de @alexrj Bugfix: after the recent changes to --load, the GUI was suggesting a bad...
alexrj authored
75 $Slic3r::GUI::SkeinPanel::last_config = $opt{load} ? $opt{load}[0] : undef;
f2f9178 @alexrj GUI
alexrj authored
76 Slic3r::GUI->new->MainLoop;
77 exit;
5595839 @alexrj Command line interface
alexrj authored
78 }
2e897ec @alexrj Multithreaded thumbnail generation
alexrj authored
79 die $@ if $@ && $opt{gui};
5595839 @alexrj Command line interface
alexrj authored
80
c539a8d @digitalbytes Support skeining multiple files from the command line. Update the status...
digitalbytes authored
81 if (@ARGV) {
ed4a573 @alexrj Multiple objects autoplating (--merge, from command line only)
alexrj authored
82 while (my $input_file = shift @ARGV) {
d03925a @alexrj New GUI with plating facilities
alexrj authored
83 my $print = Slic3r::Print->new;
84 $print->add_object_from_file($input_file);
85 if ($opt{merge}) {
86 $print->add_object_from_file($_) for splice @ARGV, 0;
87 }
88 $print->duplicate;
a6801d6 @alexrj Fixed regression preventing autoplating
alexrj authored
89 $print->arrange_objects if @{$print->objects} > 1;
5a78111 @alexrj Options to set extruder clearance for sequential printing and graphical ...
alexrj authored
90 $print->validate;
d03925a @alexrj New GUI with plating facilities
alexrj authored
91 my %params = (
c539a8d @digitalbytes Support skeining multiple files from the command line. Update the status...
digitalbytes authored
92 output_file => $opt{output},
93 status_cb => sub {
94 my ($percent, $message) = @_;
95 printf "=> $message\n";
96 },
97 );
32c46f0 @alexrj SVG export
alexrj authored
98 if ($opt{export_svg}) {
d03925a @alexrj New GUI with plating facilities
alexrj authored
99 $print->export_svg(%params);
32c46f0 @alexrj SVG export
alexrj authored
100 } else {
d03925a @alexrj New GUI with plating facilities
alexrj authored
101 $print->export_gcode(%params);
32c46f0 @alexrj SVG export
alexrj authored
102 }
c539a8d @digitalbytes Support skeining multiple files from the command line. Update the status...
digitalbytes authored
103 }
a1d518f @alexrj Save and load configurations
alexrj authored
104 } else {
105 usage(1) unless $opt{save};
5595839 @alexrj Command line interface
alexrj authored
106 }
febd655 @alexrj Extrusion of perimeters
alexrj authored
107
5595839 @alexrj Command line interface
alexrj authored
108 sub usage {
109 my ($exit_code) = @_;
110
63ff017 @alexrj Document --threads, -j and throw an error when it's used on a non-thread...
alexrj authored
111 my $j = '';
112 if ($Slic3r::have_threads) {
113 $j = <<"EOF";
114 -j, --threads <num> Number of threads to use (1+, default: $Slic3r::threads)
115 EOF
116 }
117
5595839 @alexrj Command line interface
alexrj authored
118 print <<"EOF";
db35fae @alexrj New experimental --g0 option for fast retractions. #51
alexrj authored
119 Slic3r $Slic3r::VERSION is a STL-to-GCODE translator for RepRap 3D printers
076087a @alexrj Updated README
alexrj authored
120 written by Alessandro Ranellucci <aar\@cpan.org> - http://slic3r.org/
b79737c @alexrj Added some credits to usage info
alexrj authored
121
5595839 @alexrj Command line interface
alexrj authored
122 Usage: slic3r.pl [ OPTIONS ] file.stl
a5ba0af @alexrj Generate GCODE
alexrj authored
123
5595839 @alexrj Command line interface
alexrj authored
124 --help Output this usage screen and exit
c50cabe @henrikbrixandersen Add --version argument
henrikbrixandersen authored
125 --version Output the version of Slic3r and exit
a1d518f @alexrj Save and load configurations
alexrj authored
126 --save <file> Save configuration to the specified file
d63fd77 @alexrj Allow multiple --load options
alexrj authored
127 --load <file> Load configuration from the specified file. It can be used
128 more than once to load options from multiple files.
f9446b9 @alexrj Cleanup the --output-filename-format implementation. #53 #137
alexrj authored
129 -o, --output <file> File to output gcode to (by default, the file will be saved
130 into the same directory as the input file using the
131 --output-filename-format to generate the filename)
63ff017 @alexrj Document --threads, -j and throw an error when it's used on a non-thread...
alexrj authored
132 $j
1071b55 @sparr second draft implementation of output_filename_format
sparr authored
133 Output options:
87088f7 @henrikbrixandersen Fix help text
henrikbrixandersen authored
134 --output-filename-format
f9446b9 @alexrj Cleanup the --output-filename-format implementation. #53 #137
alexrj authored
135 Output file name format; all config options enclosed in brackets
136 will be replaced by their values, as well as [input_filename_base]
137 and [input_filename] (default: $Slic3r::output_filename_format)
555c230 @alexrj New --post-process option. Includes some cleaning of the STDOUT messages
alexrj authored
138 --post-process Generated G-code will be processed with the supplied script;
139 call this more than once to process through multiple scripts.
32c46f0 @alexrj SVG export
alexrj authored
140 --export-svg Export a SVG file containing slices instead of G-code.
d03925a @alexrj New GUI with plating facilities
alexrj authored
141 -m, --merge If multiple files are supplied, they will be composed into a single
ed4a573 @alexrj Multiple objects autoplating (--merge, from command line only)
alexrj authored
142 print rather than processed individually.
1071b55 @sparr second draft implementation of output_filename_format
sparr authored
143
bf58247 @alexrj Rearranged configuration options; removed --resolution (now hard-coded t...
alexrj authored
144 Printer options:
145 --nozzle-diameter Diameter of nozzle in mm (default: $Slic3r::nozzle_diameter)
c20fd8a @henrikbrixandersen Use SI units consistently.
henrikbrixandersen authored
146 --print-center Coordinates in mm of the point to center the print around
117c31d @alexrj Removed hard coded default for print center
alexrj authored
147 (default: $Slic3r::print_center->[0],$Slic3r::print_center->[1])
8d13d4b @alexrj New option to shift Z coordinates
alexrj authored
148 --z-offset Additional height in mm to add to vertical coordinates
149 (+/-, default: $Slic3r::z_offset)
615bcb2 @alexrj New --gcode-flavor option. extrusion_axis, use_relative_e_distances opti...
alexrj authored
150 --gcode-flavor The type of G-code to generate (reprap/teacup/makerbot/mach3/no-extrusion,
151 default: $Slic3r::gcode_flavor)
471f015 @alexrj Add --use-relative-e-distances back to the --help too
alexrj authored
152 --use-relative-e-distances Enable this to get relative E values
6d65338 @alexrj New experimental --gcode-arcs options to generate G2/G3 commands. #23
alexrj authored
153 --gcode-arcs Use G2/G3 commands for native arcs (experimental, not supported
154 by all firmwares)
d346bc0 @alexrj Comments are now disabled by default, new --gcode-comments option to ena...
alexrj authored
155 --g0 Use G0 commands for retraction (experimental, not supported by all
db35fae @alexrj New experimental --g0 option for fast retractions. #51
alexrj authored
156 firmwares)
d538382 @henrikbrixandersen Use correct spelling for G-code.
henrikbrixandersen authored
157 --gcode-comments Make G-code verbose by adding comments (default: no)
bf58247 @alexrj Rearranged configuration options; removed --resolution (now hard-coded t...
alexrj authored
158
159 Filament options:
71a44e2 @alexrj Renamed "multiply" to "duplicate". #7
alexrj authored
160 --filament-diameter Diameter in mm of your raw filament (default: $Slic3r::filament_diameter)
25c85aa @alexrj Renamed "filament packing density" to "extrusion multiplier". Same value...
alexrj authored
161 --extrusion-multiplier
975387d @alexrj New --bridge-feed-rate option. #68
alexrj authored
162 Change this to alter the amount of plastic extruded. There should be
163 very little need to change this value, which is only useful to
164 compensate for filament packing (default: $Slic3r::extrusion_multiplier)
c20fd8a @henrikbrixandersen Use SI units consistently.
henrikbrixandersen authored
165 --temperature Extrusion temperature in degree Celsius, set 0 to disable (default: $Slic3r::temperature)
dccd7d1 @alexrj First layer temperature. #134
alexrj authored
166 --first-layer-temperature Extrusion temperature for the first layer, in degree Celsius,
167 set 0 to disable (default: same as --temperature)
7892a84 @alexrj Refactoring and integrations to the bed temperature handling
alexrj authored
168 --bed-temperature Heated bed temperature in degree Celsius, set 0 to disable (default: $Slic3r::temperature)
169 --first-layer-bed-temperature Heated bed temperature for the first layer, in degree Celsius,
170 set 0 to disable (default: same as --bed-temperature)
bf58247 @alexrj Rearranged configuration options; removed --resolution (now hard-coded t...
alexrj authored
171
172 Speed options:
c20fd8a @henrikbrixandersen Use SI units consistently.
henrikbrixandersen authored
173 --travel-speed Speed of non-print moves in mm/s (default: $Slic3r::travel_speed)
174 --perimeter-speed Speed of print moves for perimeters in mm/s (default: $Slic3r::perimeter_speed)
53bc9c7 @alexrj Customizable speed for small perimeters. #60
alexrj authored
175 --small-perimeter-speed
fbfbfac @alexrj New --top-solid-infill-speed option. Also, --solid-infill-speed and --sm...
alexrj authored
176 Speed of print moves for small perimeters in mm/s or % over perimeter speed
177 (default: $Slic3r::small_perimeter_speed)
c20fd8a @henrikbrixandersen Use SI units consistently.
henrikbrixandersen authored
178 --infill-speed Speed of print moves in mm/s (default: $Slic3r::infill_speed)
fbfbfac @alexrj New --top-solid-infill-speed option. Also, --solid-infill-speed and --sm...
alexrj authored
179 --solid-infill-speed Speed of print moves for solid surfaces in mm/s or % over infill speed
180 (default: $Slic3r::solid_infill_speed)
181 --top-solid-infill-speed Speed of print moves for top surfaces in mm/s or % over solid infill speed
182 (default: $Slic3r::top_solid_infill_speed)
c20fd8a @henrikbrixandersen Use SI units consistently.
henrikbrixandersen authored
183 --bridge-speed Speed of bridge print moves in mm/s (default: $Slic3r::bridge_speed)
896c7e9 @alexrj Renamed bottom_layer_speed to first_layer_speed for consistency
alexrj authored
184 --first-layer-speed Speed of print moves for bottom layer, expressed either as an absolute
185 value or as a percentage over normal speeds (default: $Slic3r::first_layer_speed)
bf58247 @alexrj Rearranged configuration options; removed --resolution (now hard-coded t...
alexrj authored
186
187 Accuracy options:
188 --layer-height Layer height in mm (default: $Slic3r::layer_height)
16b7746 @alexrj Accept either absolute or relative values for --first-layer-height. #151
alexrj authored
189 --first-layer-height Layer height for first layer (mm or %, default: $Slic3r::first_layer_height)
7f341cf @alexrj New --fill-every-layers option to get high accuracy on external surfaces...
alexrj authored
190 --infill-every-layers
191 Infill every N layers (default: $Slic3r::infill_every_layers)
bf58247 @alexrj Rearranged configuration options; removed --resolution (now hard-coded t...
alexrj authored
192
193 Print options:
1a06e35 @alexrj New option to specify G-code to be used at layer change. #279
alexrj authored
194 --perimeters Number of perimeters/horizontal skins (range: 0+, default: $Slic3r::perimeters)
03341f3 @alexrj Multiple solid layers near external surfaces
alexrj authored
195 --solid-layers Number of solid layers to do for top/bottom surfaces
196 (range: 1+, default: $Slic3r::solid_layers)
bf58247 @alexrj Rearranged configuration options; removed --resolution (now hard-coded t...
alexrj authored
197 --fill-density Infill density (range: 0-1, default: $Slic3r::fill_density)
404c76a @alexrj New option to rotate input object
alexrj authored
198 --fill-angle Infill angle in degrees (range: 0-90, default: $Slic3r::fill_angle)
038cadd @alexrj New fill types (hilbertcurve, archimedeanchords, octagramspiral) and abi...
alexrj authored
199 --fill-pattern Pattern to use to fill non-solid layers (default: $Slic3r::fill_pattern)
200 --solid-fill-pattern Pattern to use to fill solid layers (default: $Slic3r::solid_fill_pattern)
1a06e35 @alexrj New option to specify G-code to be used at layer change. #279
alexrj authored
201 --start-gcode Load initial G-code from the supplied file. This will overwrite
2d784fa @alexrj New --start-gcode and --end-gcode options. #12
alexrj authored
202 the default command (home all axes [G28]).
1a06e35 @alexrj New option to specify G-code to be used at layer change. #279
alexrj authored
203 --end-gcode Load final G-code from the supplied file. This will overwrite
2d784fa @alexrj New --start-gcode and --end-gcode options. #12
alexrj authored
204 the default commands (turn off temperature [M104 S0],
205 home X axis [G28 X], disable motors [M84]).
1a06e35 @alexrj New option to specify G-code to be used at layer change. #279
alexrj authored
206 --layer-gcode Load layer-change G-code from the supplied file (default: nothing).
7b67fae @alexrj Support material
alexrj authored
207 --support-material Generate support material for overhangs
fa4f2c8 @alexrj New option to randomize starting points across layers
alexrj authored
208 --randomize-start Randomize starting point across layers (default: yes)
bf58247 @alexrj Rearranged configuration options; removed --resolution (now hard-coded t...
alexrj authored
209
1d0a852 @alexrj Cooling and fan control. #110
alexrj authored
210 Retraction options:
d8b848a @alexrj Implemented retraction and fixed extrusion math
alexrj authored
211 --retract-length Length of retraction in mm when pausing extrusion
212 (default: $Slic3r::retract_length)
c20fd8a @henrikbrixandersen Use SI units consistently.
henrikbrixandersen authored
213 --retract-speed Speed for retraction in mm/s (default: $Slic3r::retract_speed)
d8b848a @alexrj Implemented retraction and fixed extrusion math
alexrj authored
214 --retract-restart-extra
bf58247 @alexrj Rearranged configuration options; removed --resolution (now hard-coded t...
alexrj authored
215 Additional amount of filament in mm to push after
216 compensating retraction (default: $Slic3r::retract_restart_extra)
21d2875 @alexrj New --perimeter-feed-rate and --retract-before-travel options. Includes ...
alexrj authored
217 --retract-before-travel
c20fd8a @henrikbrixandersen Use SI units consistently.
henrikbrixandersen authored
218 Only retract before travel moves of this length in mm (default: $Slic3r::retract_before_travel)
b4e268e @alexrj New --retract-lift option to lift Z while doing travel moves. #25
alexrj authored
219 --retract-lift Lift Z by the given distance in mm when retracting (default: $Slic3r::retract_lift)
21d2875 @alexrj New --perimeter-feed-rate and --retract-before-travel options. Includes ...
alexrj authored
220
1d0a852 @alexrj Cooling and fan control. #110
alexrj authored
221 Cooling options:
170d29a @alexrj New --cooling option and checkbox to enable/disable fan and cooling cont...
alexrj authored
222 --cooling Enable fan and cooling control
1d0a852 @alexrj Cooling and fan control. #110
alexrj authored
223 --min-fan-speed Minimum fan speed (default: $Slic3r::min_fan_speed%)
224 --max-fan-speed Maximum fan speed (default: $Slic3r::max_fan_speed%)
225 --bridge-fan-speed Fan speed to use when bridging (default: $Slic3r::bridge_fan_speed%)
226 --fan-below-layer-time Enable fan if layer print time is below this approximate number
227 of seconds (default: $Slic3r::fan_below_layer_time)
228 --slowdown-below-layer-time Slow down if layer print time is below this approximate number
229 of seconds (default: $Slic3r::slowdown_below_layer_time)
230 --min-print-speed Minimum print speed speed (mm/s, default: $Slic3r::min_print_speed)
231 --disable-fan-first-layers Disable fan for the first N layers (default: $Slic3r::disable_fan_first_layers)
06c22c9 @alexrj New --fan-always-on option. #241 #110
alexrj authored
232 --fan-always-on Keep fan always on at min fan speed, even for layers that don't need
233 cooling
1d0a852 @alexrj Cooling and fan control. #110
alexrj authored
234
bf58247 @alexrj Rearranged configuration options; removed --resolution (now hard-coded t...
alexrj authored
235 Skirt options:
f5eb4f0 @alexrj Skirt can be disabled by either setting skirts to 0 or skirt-height to 0
alexrj authored
236 --skirts Number of skirts to draw (0+, default: $Slic3r::skirts)
ff5044c @alexrj Implemented skirt
alexrj authored
237 --skirt-distance Distance in mm between innermost skirt and object
238 (default: $Slic3r::skirt_distance)
f5eb4f0 @alexrj Skirt can be disabled by either setting skirts to 0 or skirt-height to 0
alexrj authored
239 --skirt-height Height of skirts to draw (expressed in layers, 0+, default: $Slic3r::skirt_height)
bfad101 @alexrj Ability to scale input object
alexrj authored
240
241 Transform options:
242 --scale Factor for scaling input object (default: $Slic3r::scale)
404c76a @alexrj New option to rotate input object
alexrj authored
243 --rotate Rotation angle in degrees (0-360, default: $Slic3r::rotate)
f2edfd1 @triffid initial implementation of algorithm for #249
triffid authored
244 --duplicate Number of items with auto-arrange (1+, default: $Slic3r::duplicate)
e58ed19 @alexrj New --bed-size option
alexrj authored
245 --bed-size Bed size, only used for auto-arrange (mm, default: $Slic3r::bed_size->[0],$Slic3r::bed_size->[1])
4ae551a @alexrj Ditch --duplicate-x and --duplicate-y, add --duplicate-grid
alexrj authored
246 --duplicate-grid Number of items with grid arrangement (default: $Slic3r::duplicate_grid->[0],$Slic3r::duplicate_grid->[1])
71a44e2 @alexrj Renamed "multiply" to "duplicate". #7
alexrj authored
247 --duplicate-distance Distance in mm between copies (default: $Slic3r::duplicate_distance)
5a78111 @alexrj Options to set extruder clearance for sequential printing and graphical ...
alexrj authored
248
249 Sequential printing options:
250 --complete-objects When printing multiple objects and/or copies, complete each one before
251 starting the next one; watch out for extruder collisions (default: no)
252 --extruder-clearance-radius Radius in mm above which extruder won't collide with anything
253 (default: $Slic3r::extruder_clearance_radius)
254 --extruder-clearance-height Maximum vertical extruder depth; i.e. vertical distance from
255 extruder tip and carriage bottom (default: $Slic3r::extruder_clearance_height)
256
121895d @henrikbrixandersen Add support for notes field in configuration profiles. #130
henrikbrixandersen authored
257 Miscellaneous options:
258 --notes Notes to be added as comments to the output file
d9a70ea @alexrj Customizable overlap ratio (it defaults to 0.15 now)
alexrj authored
259
4ae551a @alexrj Ditch --duplicate-x and --duplicate-y, add --duplicate-grid
alexrj authored
260 Flow options (advanced):
aedb6cc @alexrj Accept both relative and absolute extrusion width values. #151
alexrj authored
261 --extrusion-width Set extrusion width manually; it accepts either an absolute value in mm
262 (like 0.65) or a percentage over layer height (like 200%)
8a031fe @alexrj New --first-layer-extrusion-width option. #385
alexrj authored
263 --first-layer-extrusion-width
264 Set a different extrusion width for first layer
82dd3c7 @alexrj New --perimeters-extrusion-width and --infill-extrusion-width options. #...
alexrj authored
265 --perimeters-extrusion-width
266 Set a different extrusion width for perimeters
267 --infill-extrusion-width
268 Set a different extrusion width for infill
d9a70ea @alexrj Customizable overlap ratio (it defaults to 0.15 now)
alexrj authored
269 --bridge-flow-ratio Multiplier for extrusion when bridging (> 0, default: $Slic3r::bridge_flow_ratio)
5595839 @alexrj Command line interface
alexrj authored
270
271 EOF
92eb3ea @alexrj Little warning removed
alexrj authored
272 exit ($exit_code || 0);
5595839 @alexrj Command line interface
alexrj authored
273 }
55a523e @alexrj Initial import
alexrj authored
274
275 __END__
Something went wrong with that request. Please try again.