New --support-material-pattern and --support-material-angle options

This commit is contained in:
Alessandro Ranellucci 2012-06-23 22:43:23 +02:00
parent e72bd56b9d
commit bf1aba3d08
8 changed files with 50 additions and 21 deletions

View file

@ -69,7 +69,7 @@ sub fill_surface {
($_[X] >= ($distance_between_lines - $line_oscillation) - $tolerance) && ($_[X] <= ($distance_between_lines + $line_oscillation) + $tolerance)
&& $_[Y] <= $diagonal_distance
}
: sub { abs($_[X]) - $distance_between_lines <= $tolerance && $_[Y] <= $diagonal_distance };
: sub { abs($_[X] - $distance_between_lines) <= $tolerance && $_[Y] <= $diagonal_distance };
foreach my $path ($collection->shortest_path) {
if (@paths) {