mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-05-14 13:02:39 -07:00
Merge branch 'stable'
Conflicts: lib/Slic3r/Geometry/Clipper.pm lib/Slic3r/Layer/Region.pm
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user