PrusaSlicer-NonPlainar/lib/Slic3r.pm

69 lines
1.5 KiB
Perl
Raw Normal View History

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;
}
use Slic3r::Extruder;
use Slic3r::ExtrusionLoop;
use Slic3r::ExtrusionPath;
2011-09-26 08:52:58 +00:00
use Slic3r::ExtrusionPath::Collection;
2011-09-05 10:21:27 +00:00
use Slic3r::Fill;
use Slic3r::Geometry;
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-26 08:52:58 +00:00
use Slic3r::Surface::Collection;
2011-09-01 19:06:28 +00:00
# printer options
our $nozzle_diameter = 0.45;
our $print_center = [100,100]; # object will be centered around this point
our $use_relative_e_distances = 0;
2011-09-26 13:59:03 +00:00
our $z_offset = 0;
2011-09-05 11:33:09 +00:00
# filament options
our $filament_diameter = 3; # mm
our $filament_packing_density = 0.85;
# speed options
our $print_feed_rate = 60; # mm/sec
2011-09-26 08:52:58 +00:00
our $travel_feed_rate = 130; # mm/sec
our $bottom_layer_speed_ratio = 0.6;
# accuracy options
our $resolution = 0.001;
2011-09-02 19:10:20 +00:00
our $layer_height = 0.4;
our $flow_width;
# print options
2011-09-02 19:10:20 +00:00
our $perimeter_offsets = 3;
our $solid_layers = 3;
our $fill_density = 0.4; # 1 = 100%
2011-09-26 13:51:22 +00:00
our $fill_angle = 0;
2011-09-03 18:47:38 +00:00
our $temperature = 195;
# retraction options
our $retract_length = 2; # mm
our $retract_restart_extra = 0; # mm
our $retract_speed = 40; # mm/sec
# skirt options
our $skirts = 1;
2011-09-05 18:00:59 +00:00
our $skirt_distance = 6; # mm
2011-09-26 10:07:29 +00:00
# transform options
our $scale = 1;
2011-09-26 14:07:12 +00:00
our $rotate = 0;
2011-09-26 10:07:29 +00:00
2011-09-01 19:06:28 +00:00
1;