Satisfy test suite and CLI
This commit is contained in:
parent
e2f1040a76
commit
5bf0942f45
20 changed files with 300 additions and 272 deletions
10
t/cooling.t
10
t/cooling.t
|
@ -13,10 +13,14 @@ use Slic3r;
|
|||
use Slic3r::Test;
|
||||
|
||||
sub buffer {
|
||||
my $config = shift || Slic3r::Config->new_from_defaults;
|
||||
my $config = shift || Slic3r::Config->new;
|
||||
|
||||
my $print_config = Slic3r::Config::Print->new;
|
||||
$print_config->apply_dynamic($config);
|
||||
|
||||
my $buffer = Slic3r::GCode::CoolingBuffer->new(
|
||||
config => $config,
|
||||
gcodegen => Slic3r::GCode->new(config => $config, layer_count => 10, extruders => []),
|
||||
config => $print_config,
|
||||
gcodegen => Slic3r::GCode->new(print_config => $print_config, layer_count => 10, extruders => []),
|
||||
);
|
||||
return $buffer;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue