mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-01 05:01:10 -06:00
Satisfy test suite and CLI
This commit is contained in:
parent
e2f1040a76
commit
5bf0942f45
20 changed files with 300 additions and 272 deletions
|
|
@ -153,12 +153,12 @@ if (@ARGV) { # slicing from command line
|
|||
}
|
||||
|
||||
my $print = Slic3r::Print->new(
|
||||
config => $config,
|
||||
status_cb => sub {
|
||||
my ($percent, $message) = @_;
|
||||
printf "=> %s\n", $message;
|
||||
},
|
||||
);
|
||||
$print->apply_config($config);
|
||||
foreach my $model_object (@{$model->objects}) {
|
||||
$print->auto_assign_extruders($model_object);
|
||||
$print->add_model_object($model_object);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue