Exclude support from bridged areas

This commit is contained in:
Alessandro Ranellucci 2014-04-26 16:07:43 +02:00
parent 7e3024d6ad
commit 148c773319
4 changed files with 33 additions and 4 deletions

View file

@ -159,8 +159,13 @@ sub contact_area {
# outside the lower slice boundary, thus no overhang
}
# TODO: this is the place to remove bridged areas
# remove bridged areas
$diff = diff(
$diff,
[ map @$_, @{$layerm->bridged} ],
1,
);
next if !@$diff;
push @overhang, @$diff; # NOTE: this is not the full overhang as it misses the outermost half of the perimeter width!