Support skeining multiple files from the command line. Update the status output to include input and export filenames.

This commit is contained in:
Owen Stenseth 2012-02-21 09:26:54 -07:00
parent aa7a5d6069
commit c539a8d9e0
2 changed files with 14 additions and 16 deletions

View file

@ -23,6 +23,7 @@ sub go {
# skein the STL into layers
# each layer has surfaces with holes
$self->status_cb->(5, "Processing input file " . $self->input_file);
$self->status_cb->(10, "Processing triangulated mesh");
my $print;
if ($self->input_file =~ /\.stl$/i) {
@ -127,8 +128,8 @@ sub go {
$print->extrude_skirt;
# output everything to a GCODE file
$self->status_cb->(90, "Exporting GCODE");
my $output_file = $self->expanded_output_filepath;
$self->status_cb->(90, "Exporting GCODE to $output_file");
$print->export_gcode($output_file);
# run post-processing scripts