Lukas Matena
b8100c2164
Random seam: optimization and fix of a possible infinite loop
2020-12-17 15:48:25 +01:00
Lukas Matena
8ab0d7d7ab
Bugfix: custom seam identification
...
Bounding boxes of polygons could overlap. Ask the AABB tree for all possible candidates.
Might be faster than searching for the closest triangle, that requires traversing the whole depth of the tree every time.
2020-12-05 02:02:22 +01:00
Lukas Matena
3e1b6a049f
Bugfix: custom seam did not work on first layer with elephant foot compensation active
2020-12-05 00:02:43 +01:00
Lukas Matena
bcefdac090
Bugfix: seam enforcers not always respected ( #5137 , #5294 )
2020-12-05 00:02:43 +01:00
Lukas Matena
53f4d49ea2
Fix random seam for single contour islands ( #5003 ) and for external_perimeters_first
2020-11-27 11:33:25 +01:00
Lukas Matena
e91f7b6988
Seam - fix indexing of layers ( #5112 , #5014 )
2020-11-27 10:09:20 +01:00
Lukas Matena
a00a3b2997
Fix horrible complexity of custom seam lookup ( #5067 )
...
- polygons are offset individually
- custom areas are kept separately for each PrintObject
- AABB tree is used to get logN lookup complexity
2020-11-27 10:09:20 +01:00
Lukas Matena
5c6afc9d5a
Fix build on macOS and one logic error
2020-09-18 14:26:06 +02:00
Lukas Matena
51d3d9403c
Store seam history for more islands
2020-09-18 12:20:02 +02:00
Lukas Matena
28294e4928
use center of enforcer only with spAligned
2020-09-18 12:00:48 +02:00
Lukas Matena
c6851d1227
Simple implementation of spRandom
2020-09-18 12:00:40 +02:00
Lukas Matena
2576949ab4
fixed center-finding algorithm
2020-09-18 12:00:40 +02:00
Lukas Matena
00eb95ffd8
Renamed CustomSeam to SeamPlacer, move to a separate file
2020-09-18 12:00:14 +02:00