Updated/fixed SectionCut
This commit is contained in:
parent
0c2bfab5f2
commit
2c1274e2d9
@ -121,7 +121,8 @@ sub _plot {
|
|||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
push @rectangles, map {
|
push @rectangles, map {
|
||||||
my $height = $path->height // $layer->height;
|
my $height = $path->height;
|
||||||
|
$height = $layer->height if $height == -1;
|
||||||
{
|
{
|
||||||
'x' => $self->scale * unscale $_->[A][X],
|
'x' => $self->scale * unscale $_->[A][X],
|
||||||
'y' => $self->scale * $self->_y($layer->print_z),
|
'y' => $self->scale * $self->_y($layer->print_z),
|
||||||
|
Loading…
Reference in New Issue
Block a user