Browse Source

TODO about bridges and support material

Alessandro Ranellucci 11 years ago
parent
commit
3e3cc4171c
1 changed files with 3 additions and 2 deletions
  1. 3 2
      lib/Slic3r/Print/SupportMaterial.pm

+ 3 - 2
lib/Slic3r/Print/SupportMaterial.pm

@@ -160,6 +160,7 @@ sub contact_area {
                 }
                 
                 if ($self->object_config->dont_support_bridges) {
+                    # TODO: also remove the area of bridging perimeters
                     if (1) {
                         # remove the entire bridges and only support the unsupported edges
                         my @bridges = map $_->expolygon,
@@ -171,11 +172,11 @@ sub contact_area {
                             [ map @$_, @bridges ],
                             1,
                         );
-                    
+                        
                         push @$diff, @{intersection(
                             [ map @{$_->grow(+scale MARGIN)}, @{$layerm->unsupported_bridge_edges} ],
                             [ map @$_, @bridges ],
-                        )}
+                        )};
                     
                     } else {
                         # just remove bridged areas