Files
OrcaSlicer/src/slic3r/GUI
Noisyfox fe4a72ec94 Upgrade clipper & improve multi-thread performance (#7177)
* Clipper: Verify range of int32 coordinates on input.

Cherry-picked from prusa3d/PrusaSlicer@fa7debf49d

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>

* ClipperLib: Optimized PointInPolygon() to calculate cross products
 with int64s instead of doubles.

Cherry-picked from prusa3d/PrusaSlicer@9dca8403fe

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>

* Reworked the ClipperLib / Polygon types to use
the tbb::scallable_allocator to better scale on multiple threads.

Cherry-picked from prusa3d/PrusaSlicer@9cde96993e

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>

* use tbb::scallable_allocator for Polygons and ExPolygon::holes
to better scale on multiple threads

Cherry-picked from prusa3d/PrusaSlicer@b67ad6434d

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>

* Fixed compilation on GCC and CLang

Cherry-picked from prusa3d/PrusaSlicer@b3b44681a9

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>

* Remove clipper2 which is not used

* Removed shiny profiler from clipperlib

Cherry-picked from prusa3d/PrusaSlicer@7e77048593

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>

* ClipperLib: Further optimization of memory allocation using scalable_allocator.
ClipperLib: SimplifyPolygon() - changed default winding number to positive,
      added strictly_simple parameter.
ClipperUtlis simplify_polygons() - removed "remove_collinear" parameter

Cherry-picked from prusa3d/PrusaSlicer@a7e17df25f

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>

* ClipperLib: emplace_back() instead of push_back().

Cherry-picked from prusa3d/PrusaSlicer@2e150795b1

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>

* Fixed issue in a 32bit clipper, where IntersectPoint() checked for
the Y coordinate of the calculated intersection point for validity,
but the Y coordinate was already rounded to 32bits, thus an overflow
may have in rare cases masked invalidity of the result.

Cherry-picked from prusa3d/PrusaSlicer@b39c33414f

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>

* Fixed Vojtech's out of boundary assert in Clipper library.

Cherry-picked from prusa3d/PrusaSlicer@0a202dcff3

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>

* Update clipper to 6.4.2.

Cherry-picked from prusa3d/PrusaSlicer@b8b3cccb40

Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>

* Try fix cmake opencv

---------

Co-authored-by: Vojtech Bubnik <bubnikv@gmail.com>
Co-authored-by: Lukáš Hejl <hejl.lukas@gmail.com>
2025-06-18 17:50:44 +08:00
..
2025-06-14 21:05:25 +08:00
2025-06-14 21:05:25 +08:00
2025-06-12 18:11:52 +08:00
2024-07-23 18:00:21 +08:00
2024-01-26 20:18:10 +08:00
2025-06-14 21:05:25 +08:00
2023-12-01 10:42:45 +00:00
2024-06-16 02:06:36 +08:00
2025-03-09 14:04:46 +08:00
2025-03-09 14:04:46 +08:00
2023-12-01 10:42:45 +00:00
2023-08-30 23:38:33 +08:00
2025-06-14 21:05:25 +08:00
2023-11-04 11:41:06 +08:00
2024-09-08 01:04:19 +02:00
2023-12-01 10:42:45 +00:00
2024-05-25 09:11:19 +08:00
2024-05-20 23:18:05 +08:00
2023-08-09 13:42:41 +08:00
2025-01-23 13:29:27 +08:00
2025-05-01 17:09:45 +08:00
2024-06-16 02:06:36 +08:00
2023-12-23 17:44:09 +08:00
2024-05-20 23:18:05 +08:00
2025-06-14 21:05:25 +08:00
2025-04-03 14:40:25 -03:00
2024-07-23 18:00:21 +08:00
2025-01-31 19:18:04 +08:00
2024-07-23 18:00:21 +08:00
2024-07-23 18:00:21 +08:00
2023-12-19 23:46:19 +08:00
2024-05-25 09:11:19 +08:00