mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-08-07 14:04:11 -06:00
Fix retraction/Z/lift problems after recent changes
This commit is contained in:
parent
913f401280
commit
4e13d61aed
2 changed files with 3 additions and 14 deletions
13
t/layers.t
13
t/layers.t
|
@ -1,4 +1,4 @@
|
|||
use Test::More tests => 5;
|
||||
use Test::More tests => 4;
|
||||
use strict;
|
||||
use warnings;
|
||||
|
||||
|
@ -56,15 +56,4 @@ ok $test->(), "positive Z offset";
|
|||
$config->set('z_offset', -0.8);
|
||||
ok $test->(), "negative Z offset";
|
||||
|
||||
{
|
||||
my $config = Slic3r::Config->new_from_defaults;
|
||||
$config->set('nozzle_diameter', [0.35]);
|
||||
$config->set('layer_height', 0.1333);
|
||||
|
||||
my $print = Slic3r::Test::init_print('2x20x10', config => $config);
|
||||
$print->init_extruders;
|
||||
$_->region(0) for @{$print->objects->[0]->layers}; # init layer regions
|
||||
ok $print->objects->[0]->layers->[1]->support_material_contact_height > 0, 'support_material_contact_height is positive';
|
||||
}
|
||||
|
||||
__END__
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue