2011-09-01 19:06:28 +00:00
|
|
|
package Slic3r;
|
|
|
|
|
|
|
|
use strict;
|
|
|
|
use warnings;
|
|
|
|
|
2011-09-05 11:33:09 +00:00
|
|
|
our $debug = 0;
|
|
|
|
sub debugf {
|
|
|
|
printf @_ if $debug;
|
|
|
|
}
|
|
|
|
|
2011-09-04 10:04:01 +00:00
|
|
|
use Slic3r::ExtrusionPath;
|
2011-09-05 10:21:27 +00:00
|
|
|
use Slic3r::Fill;
|
2011-09-01 19:06:28 +00:00
|
|
|
use Slic3r::Layer;
|
|
|
|
use Slic3r::Line;
|
2011-09-02 19:10:20 +00:00
|
|
|
use Slic3r::Perimeter;
|
2011-09-01 19:06:28 +00:00
|
|
|
use Slic3r::Point;
|
|
|
|
use Slic3r::Polyline;
|
|
|
|
use Slic3r::Polyline::Closed;
|
|
|
|
use Slic3r::Print;
|
|
|
|
use Slic3r::STL;
|
|
|
|
use Slic3r::Surface;
|
|
|
|
|
2011-09-05 11:33:09 +00:00
|
|
|
|
2011-09-02 19:10:20 +00:00
|
|
|
our $layer_height = 0.4;
|
|
|
|
our $resolution = 0.1;
|
|
|
|
our $perimeter_offsets = 3;
|
2011-09-05 10:21:27 +00:00
|
|
|
our $fill_density = 0.2; # 1 = 100%
|
2011-09-05 11:33:09 +00:00
|
|
|
our $flow_width = 0.4;
|
2011-09-03 18:47:38 +00:00
|
|
|
our $temperature = 195;
|
|
|
|
|
|
|
|
our $flow_rate = 60; # mm/sec
|
|
|
|
our $print_feed_rate = 60; # mm/sec
|
|
|
|
our $travel_feed_rate = 80; # mm/sec
|
|
|
|
our $bottom_layer_speed_ratio = 0.6;
|
|
|
|
|
2011-09-05 11:33:09 +00:00
|
|
|
our $use_relative_e_distances = 0;
|
2011-09-03 18:47:38 +00:00
|
|
|
|
|
|
|
our $print_center = [100,100]; # object will be centered around this point
|
2011-09-01 19:06:28 +00:00
|
|
|
|
|
|
|
1;
|