Commit Graph

18190 Commits

Author SHA1 Message Date
tamasmeszaros
6d349dd3a7 Backport hollowing optimization into stable 2022-06-02 09:04:36 +02:00
tamasmeszaros
b3f7f64ee0 Avoid error on osx for tbb parallel for
Add comment to previous change
2022-06-02 09:04:35 +02:00
tamasmeszaros
a7cb7972e0 Temporary fix for openvdb build on rpi 2022-06-02 09:04:35 +02:00
tamasmeszaros
915e8bf44d Fix OpenVDB on Windows 2022-06-02 09:04:35 +02:00
tamasmeszaros
6e378d9f6c Disable tests build for tbb
Some tests also fail to build
2022-06-02 09:04:35 +02:00
tamasmeszaros
e80ae31ce8 Update intel TBB to 2021.5 and OpenVDB to 8.2 2022-06-02 09:04:35 +02:00
Lukas Matena
1e26c0cb65 Merge branch 'lm_deps_backport' into dev_250 2022-06-02 09:04:04 +02:00
tamasmeszaros
7af51ce0d4 Fix Boost build not forwarding osx sdk flags to the compiler 2022-06-02 09:03:52 +02:00
tamasmeszaros
9f65c8ecd6 Fix boost build on windows 2022-06-02 09:03:52 +02:00
Slicer
879a03fda4 Changed http::ca_file_supported function to return false for OSX. 2022-06-02 09:03:52 +02:00
tamasmeszaros
c316a9f3e3 Revert CMAKE_FIND_PACKAGE_PREFER_CONFIG as its from cmake > 3.13
Do the overriding in the appropriate find modules in cmake/modules
2022-06-02 09:03:52 +02:00
tamasmeszaros
e2007e41ba Try to fix linking of expat 2022-06-02 09:03:52 +02:00
tamasmeszaros
97a9c1ae1d Revamp CURL integration. Exclude it from APPLE 2022-06-02 09:03:52 +02:00
tamasmeszaros
cb62dc6a3f Make boost more independent of the toolchain it was built from 2022-06-02 09:03:52 +02:00
tamasmeszaros
b458477d13 Use upstream expat, remove duplication in deps and src
Fix clash of builtin findEXPAT with config scripts
2022-06-02 09:03:52 +02:00
Lukáš Hejl
1fab6dc1df Merge branch 'lh_arachne' 2022-06-01 21:44:19 +02:00
Lukáš Hejl
043ac6247e Fixed some failing unit tests after setting Arachne as the default perimeter generator. Some unit tests are temporarily disabled for Arachne. 2022-06-01 21:43:01 +02:00
Lukáš Hejl
d107c47b0a Fixed infill polygons filtering for Arachne to mimic filtering in the classic perimeter generator. 2022-06-01 21:43:01 +02:00
Lukáš Hejl
e631ac171a Fixed a crash when the number of perimeters is set to zero with Arachne. 2022-06-01 21:43:01 +02:00
Lukáš Hejl
c76c497234 Renamed slicing engine to perimeter generator and slightly rearrangement of Arachne parameters. 2022-06-01 21:43:00 +02:00
Lukáš Hejl
a9b79bdd97 Fixed unit tests. 2022-06-01 21:41:40 +02:00
Lukáš Hejl
3942cf958c Updated Arachne with Cura master. 2022-06-01 21:41:40 +02:00
Lukáš Hejl
454e6496ce Added concentric infill generated using Arachne. 2022-06-01 21:41:39 +02:00
Lukáš Hejl
ac23a369d5 Fixed a missing infill caused by int32_t overflow. 2022-06-01 21:40:15 +02:00
Lukáš Hejl
2cf6a9630f Fixed a crash when functions for preprocessing input polygons produced intersecting polygons. It should also fix another crash caused by a missing twin edge in the post-processing Voronoi diagram (probably some issue in Voronoi diagram post-processing, not in Boost Voronoi generator). 2022-06-01 21:40:15 +02:00
Lukáš Hejl
9896721bc8 Fixed crash when Arachne produced empty output. 2022-06-01 21:40:15 +02:00
Lukáš Hejl
d868261399 Updated the default values for wall_add_middle_threshold and wall_split_middle_threshold, which should decrease the number of missing tiny islands. 2022-06-01 21:40:15 +02:00
Lukáš Hejl
7e52650430 Fixed extrusion width calculation. 2022-06-01 21:40:15 +02:00
Lukáš Hejl
8616758354 Added greedy sort for ExtrusionLine in the perimeter generator. 2022-06-01 21:40:15 +02:00
Lukáš Hejl
66a18fb60f Fixed undefined behavior in SkeletalTrapezoidation::generateExtraRibs. 2022-06-01 21:40:15 +02:00
Lukáš Hejl
3610afd393 Updated Arachne with Cura master. 2022-06-01 21:40:15 +02:00
Lukáš Hejl
e99b579f93 Fixed integer overflow in LinearAlg2D::isInsideCorner(). 2022-06-01 21:40:15 +02:00
Lukáš Hejl
b97c05176a Modified method Line::intersection_infinite() to return that the intersection was not found if the input lines are near parallel, and an integer overflow would occur when saving the intersection coordinates. 2022-06-01 21:40:15 +02:00
Lukáš Hejl
324e889d5e Fixed inconsistent extrusion width between layers when it is used Arachne. 2022-06-01 21:40:15 +02:00
Lukáš Hejl
5db91f1944 Added detection for a missing Voronoi vertex. If the missing Voronoi vertex is detected, try to resolve it by rotation input polygons. 2022-06-01 21:40:15 +02:00
Lukáš Hejl
adf2d21c67 Allowed "Slicing engine" and all Arachne parameters to be settable per object. 2022-06-01 21:40:15 +02:00
Lukáš Hejl
556e2b71cc Initial port of Arachne from Cura. 2022-06-01 21:40:13 +02:00
Lukáš Hejl
4015a83acb Added a possibility into thick_polyline_to_extrusion_paths() to separately set tolerance for merging two following lines based on a difference between lines width. 2022-06-01 21:39:23 +02:00
Lukáš Hejl
9dbb9d472c Merge branch 'lh_lightning_infill' 2022-06-01 21:38:14 +02:00
Lukáš Hejl
bcd20650bf Added anchors for the Lightning infill to better connect the infill and perimeters. 2022-06-01 21:35:58 +02:00
Lukáš Hejl
79b8acb7d5 Fixed assert in Lightning infill (merging empty BoundingBoxes). 2022-06-01 21:35:58 +02:00
Lukáš Hejl
a5270f3c5a Fixed another crash in Lightning infill. 2022-06-01 21:35:58 +02:00
Lukáš Hejl
76deba7e97 Parallelized DistanceField::DistanceField() and Layer::getBestGroundingLocation() in Lightning infill. 2022-06-01 21:35:58 +02:00
Lukáš Hejl
be291fd97e Refactored Lightning infill before parallelization. 2022-06-01 21:35:58 +02:00
Lukáš Hejl
5205753787 Refactored Lightning infill to get rid of unnecessary std::list and std::unordered_map, which was slow. 2022-06-01 21:35:58 +02:00
Lukáš Hejl
3e5272868d Fixed an issue that some trees in the Lightning infill weren't connected to perimeters. 2022-06-01 21:35:58 +02:00
Lukáš Hejl
331da74510 Fixed function lineSegmentPolygonsIntersection() in the Lightning infill that wasn't returns the intersection point.
It fixed the issue that sometimes the Lightning infill produced extrusions that hung in the air without proper support.
2022-06-01 21:35:58 +02:00
Lukáš Hejl
11004b4bbd Added cancellation to Lightning infill. 2022-06-01 21:35:58 +02:00
Lukáš Hejl
78f62bfddc Fix of #8227 (Lightning infill wasn't working when "Combine infill every X layers" was set to a different value than one.) 2022-06-01 21:35:58 +02:00
Lukáš Hejl
dfb7fbbd10 Fixed missing layers of Lightning infill. 2022-06-01 21:35:58 +02:00