1
0
mirror of https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git synced 2026-07-28 10:45:50 +00:00

Bugfixes for complex and dirty geometries

This commit is contained in:
Alessandro Ranellucci
2011-09-30 15:46:48 +02:00
parent cb08aa782f
commit 25ea8a0204
9 changed files with 269 additions and 34 deletions
+2 -3
View File
@@ -33,9 +33,8 @@ sub make_fill {
# set infill angle
my (@rotate, @shift);
$rotate[0] = Slic3r::Geometry::deg2rad($Slic3r::fill_angle);
$rotate[1] = [ $print->x_length / 2, $print->y_length / 2 ];
$shift[X] = $max_print_dimension / 2;
$shift[Y] = $max_print_dimension / 2;
$rotate[1] = [ $max_print_dimension / 2, $max_print_dimension / 2 ];
@shift = @{$rotate[1]};
# alternate fill direction
if ($layer->id % 2) {