Raft pattern angles (#3001) (#4334)

Fixes #3001
This commit is contained in:
DN 2018-04-04 21:43:58 -06:00 committed by Joseph Lenox
parent 331764431e
commit 6454abfd5f

View File

@ -753,7 +753,9 @@ sub generate_toolpaths {
# interface and contact infill
if (@$interface || @$contact_infill) {
$fillers{interface}->set_angle(deg2rad($interface_angle));
# make interface layers alternate angles by 90 degrees
my $alternate_angle = $interface_angle + (90 * (($layer_id + 1) % 2));
$fillers{interface}->set_angle(deg2rad($alternate_angle));
$fillers{interface}->set_min_spacing($_interface_flow->spacing);
# find centerline of the external loop