PrusaSlicer-NonPlainar/slic3r.pl
Alessandro Ranellucci a5ba0af7ef Generate GCODE
2011-09-03 20:47:38 +02:00

24 lines
316 B
Perl

#!/usr/bin/perl
use strict;
use warnings;
BEGIN {
use FindBin;
use lib "$FindBin::Bin/lib";
}
use Slic3r;
use XXX;
my $stl_parser = Slic3r::STL->new;
my $print = $stl_parser->parse_file("testcube20mm.stl");
$print->extrude_perimeters;
$print->export_gcode("testcube20mm.gcode");
#XXX $print;
__END__