TODO about bridges and support material
This commit is contained in:
parent
ef2296dc8d
commit
3e3cc4171c
1 changed files with 3 additions and 2 deletions
|
@ -160,6 +160,7 @@ sub contact_area {
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($self->object_config->dont_support_bridges) {
|
if ($self->object_config->dont_support_bridges) {
|
||||||
|
# TODO: also remove the area of bridging perimeters
|
||||||
if (1) {
|
if (1) {
|
||||||
# remove the entire bridges and only support the unsupported edges
|
# remove the entire bridges and only support the unsupported edges
|
||||||
my @bridges = map $_->expolygon,
|
my @bridges = map $_->expolygon,
|
||||||
|
@ -171,11 +172,11 @@ sub contact_area {
|
||||||
[ map @$_, @bridges ],
|
[ map @$_, @bridges ],
|
||||||
1,
|
1,
|
||||||
);
|
);
|
||||||
|
|
||||||
push @$diff, @{intersection(
|
push @$diff, @{intersection(
|
||||||
[ map @{$_->grow(+scale MARGIN)}, @{$layerm->unsupported_bridge_edges} ],
|
[ map @{$_->grow(+scale MARGIN)}, @{$layerm->unsupported_bridge_edges} ],
|
||||||
[ map @$_, @bridges ],
|
[ map @$_, @bridges ],
|
||||||
)}
|
)};
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
# just remove bridged areas
|
# just remove bridged areas
|
||||||
|
|
Loading…
Reference in a new issue