Commit 05941d25 authored by sumpfralle's avatar sumpfralle

place support bridges along open line segments


git-svn-id: https://pycam.svn.sourceforge.net/svnroot/pycam/trunk@873 bbaffbd6-741e-11dd-a85d-61de82d9cad9
parent 6e64970d
...@@ -174,7 +174,7 @@ def get_support_distributed(model, z_plane, average_distance, ...@@ -174,7 +174,7 @@ def get_support_distributed(model, z_plane, average_distance,
for polygon in polygons: for polygon in polygons:
# no grid for _small_ inner polygons # no grid for _small_ inner polygons
# TODO: calculate a reasonable factor (see below) # TODO: calculate a reasonable factor (see below)
if not polygon.is_outer() \ if polygon.is_closed and (not polygon.is_outer()) \
and (abs(polygon.get_area()) < 25000 * thickness ** 2): and (abs(polygon.get_area()) < 25000 * thickness ** 2):
continue continue
lines = polygon.get_lines() lines = polygon.get_lines()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment