mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-16 19:28:14 -06:00
Command line interface
This commit is contained in:
parent
778e4f6ffa
commit
5595839b31
8 changed files with 141 additions and 48 deletions
|
@ -3,6 +3,11 @@ package Slic3r;
|
|||
use strict;
|
||||
use warnings;
|
||||
|
||||
our $debug = 0;
|
||||
sub debugf {
|
||||
printf @_ if $debug;
|
||||
}
|
||||
|
||||
use Slic3r::ExtrusionPath;
|
||||
use Slic3r::Fill;
|
||||
use Slic3r::Layer;
|
||||
|
@ -15,11 +20,12 @@ use Slic3r::Print;
|
|||
use Slic3r::STL;
|
||||
use Slic3r::Surface;
|
||||
|
||||
|
||||
our $layer_height = 0.4;
|
||||
our $resolution = 0.1;
|
||||
our $perimeter_offsets = 3;
|
||||
our $fill_density = 0.2; # 1 = 100%
|
||||
our $flow_width = 0.4; # TODO: verify this is a multiple of $resolution
|
||||
our $flow_width = 0.4;
|
||||
our $temperature = 195;
|
||||
|
||||
our $flow_rate = 60; # mm/sec
|
||||
|
@ -27,7 +33,7 @@ our $print_feed_rate = 60; # mm/sec
|
|||
our $travel_feed_rate = 80; # mm/sec
|
||||
our $bottom_layer_speed_ratio = 0.6;
|
||||
|
||||
our $use_relative_e_distances = 1;
|
||||
our $use_relative_e_distances = 0;
|
||||
|
||||
our $print_center = [100,100]; # object will be centered around this point
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue