Lukas Matena
2f146f727b
Bugfix: custom seam did not work for triangles that were exactly vertical
...
The projection algorithm was originally made for custom supports, so vertical triangles
were not interesting. They are for seam. Instead of rewriting the algorithm and risking
more bugs, the edge case is detected and the triangle is tilted slightly.
2021-02-22 16:26:16 +01:00
Lukas Matena
f42e459ab5
Fix aligned seam when sequential printing is enabled
2021-02-22 16:26:16 +01:00
Vojtech Bubnik
d62aace663
Reduction on compiler warnings, mainly on MSVC.
...
Fix of the new gap_fill_enable flag: Take it into account when comparing
regions.
2021-02-10 17:29:07 +01:00
Lukas Matena
f968cfd2d5
Fixing Clang warnings 3
2021-02-08 17:52:29 +01:00
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