mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-11-01 05:01:10 -06:00
Merge branch 'stable'
Conflicts: lib/Slic3r/Geometry/Clipper.pm lib/Slic3r/Layer/Region.pm
This commit is contained in:
commit
bd8c430afd
10 changed files with 32 additions and 17 deletions
|
|
@ -46,8 +46,13 @@ use Slic3r::Test;
|
|||
my $config = Slic3r::Config->new_from_defaults;
|
||||
$config->set('complete_objects', 1);
|
||||
$config->set('duplicate', 2);
|
||||
$config->set('extrusion_axis', 'A');
|
||||
my $print = Slic3r::Test::init_print('20mm_cube', config => $config);
|
||||
ok Slic3r::Test::gcode($print), "complete_objects";
|
||||
ok my $gcode = Slic3r::Test::gcode($print), "complete_objects";
|
||||
Slic3r::GCode::Reader->new->parse($gcode, sub {
|
||||
my ($self, $cmd, $args, $info) = @_;
|
||||
fail 'unexpected E argument' if defined $args->{E};
|
||||
});
|
||||
}
|
||||
|
||||
__END__
|
||||
|
|
|
|||
|
|
@ -21,6 +21,7 @@ use Slic3r::Test;
|
|||
$config->set('extruder_offset', [ [0,0], [20,0], [0,20] ]);
|
||||
$config->set('temperature', [200, 180, 170]);
|
||||
$config->set('first_layer_temperature', [206, 186, 166]);
|
||||
$config->set('toolchange_gcode', ';toolchange'); # test that it doesn't crash when this is supplied
|
||||
|
||||
my $print = Slic3r::Test::init_print('20mm_cube', config => $config);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue