Commit Graph

17 Commits

Author SHA1 Message Date
Vojtech Bubnik
19e7c55a2a TreeSupports: Debugging the collision caches 2022-11-18 12:27:23 +01:00
Vojtech Bubnik
2b3d4b2868 WIP TreeSupports:
1) Reworked the merging code to use an AABB tree for better locality.
   The old code sorted lexicographically, the new code splits bounding
   boxes by the longest axis.
2) Refactored to a functional style with better const correctness.
3) Reduced memory allocation pressure by replacing std::set with
   vectors, in place merging etc.
2022-09-26 11:20:20 +02:00
Vojtech Bubnik
19f0d94be3 WIP TreeSupports: Removed support_xy_distance_overhang,
replaced with condition that support_xy_distance >= support_xy_distance_overhang
2022-09-01 14:30:20 +02:00
Vojtech Bubnik
078d496eef WIP TreeSupports: Removed some features not pertinent to PrusaSlicer:
Commented out support angles.
2022-09-01 13:37:08 +02:00
Vojtech Bubnik
9045ff8f0e WIP TreeSupports: Fixed some compiler warnings 2022-08-24 14:03:21 +02:00
Vojtech Bubnik
bfbfdaedb9 WIP TreeSupports: Fixed some compiler warnings and errors. 2022-08-23 12:04:18 +02:00
Vojtech Bubnik
b9e7cd2d7b WIP TreeSupports: Improved speed of TreeModelVolumes by better
parallelization, cleaned up the code by better structuring
the collision caches with their mutexes.
2022-08-23 11:37:06 +02:00
Vojtech Bubnik
42b546ae9c WIP TreeSupports: Refactored TreeModelVolumes for clarity 2022-08-16 11:54:30 +02:00
Vojtech Bubnik
af7108f792 WIP Tree Supports: Bunch of fixes and optimizations 2022-08-15 08:41:24 +02:00
Vojtech Bubnik
f971c392fe WIP TreeSupports: Some fixes, some clang specific workarounds,
some debugging code.
2022-08-02 13:36:05 +02:00
Vojtech Bubnik
9e6871e5b8 WIP Tree supports: It compiles, but unfinished, missing pieces. 2022-07-27 10:41:11 +02:00
Vojtech Bubnik
665d1a94b4 WIP Tree Supports: Major changes, it does not compile yet. 2022-07-27 08:54:26 +02:00
Vojtech Bubnik
23099c83dc WIP Tree Supports: Extracted Cura configs into a structure,
replaced Cura AABB with BoundingBox,
headers should be compilable now.
2022-07-20 11:21:53 +02:00
Vojtech Bubnik
6e1e4fcca2 WIP Tree Supports: Ported parallelization from cura homebrew parallel_for
to thread building blocks tbb::parallel_for.
2022-07-19 17:14:07 +02:00
Vojtech Bubnik
f6ae93366a WIP TreeSupports: Replaced cura namespace with Slic3r,
removed Cura includes.
2022-07-19 11:10:17 +02:00
Vojtech Bubnik
4c41311df3 WIP Tree Supports: Updated copyright 2022-07-19 10:59:10 +02:00
Vojtech Bubnik
b74fde237d WIP Porting tree supports by Thomas Rahm, losely based on Cura tree supports.
https://github.com/ThomasRahm/CuraEngine
2022-07-19 10:55:43 +02:00