Commit Graph

18201 Commits

Author SHA1 Message Date
Lukas Matena
d8877973e3 Merge branch 'lm_250' into dev_250 2022-06-02 09:28:28 +02:00
Lukáš Hejl
2b87601239 Sets locales before any thread start participating in the GCode processing pipeline.
Locales should be set once per any participating threads in tbb::parallel_pipeline.
It should fix the issue with appearing comma instead of the decimal point in generated Gcode.
2022-06-02 09:28:09 +02:00
Lukáš Hejl
81d43a2fd4 Added detection for corrupted PrusaSlicer.ini and fixed showing instructions on how to recover from it (#8217).
Previously when PrusaSlicer.ini was just partly corrupted, it could happen that PrusaSlicer.ini wasn't detected as corrupted, and it could cause that instruction on how to recover from this state wasn't shown, and PrusaSlicer crashed because wrong data from PrusaSlicer.ini was read.
2022-06-02 09:28:09 +02:00
Lukas Matena
70fa8ef29d Enforce first layer on experimental wipe tower (#7090) 2022-06-02 09:28:09 +02:00
Lukas Matena
c450592222 Fixed out of bounds when showing color prints in gcode preview legend:
backport of a2a85af4dd onto 2.4.2
Fixes flickering of color square in legend in G-Code Viewer
2022-06-02 09:28:09 +02:00
tamasmeszaros
99c9e4a61d Fix collision after arrange when 'complete Individual objects' is ON
fixes #8335
2022-06-02 09:28:09 +02:00
tamasmeszaros
488cffa559 Fix crash when optimizing rotation
probably helps to solve #8319
2022-06-02 09:28:09 +02:00
Lukas Matena
366167c88b SendSystemInfoDialog: fixed check of internet connection on Windows:
S_FALSE is returned when COM interface is already initialized, it should be considered a success.
2022-06-02 09:28:09 +02:00
Lukáš Hejl
04f9c4b5e0 Fixed a memory leak in the move assignment operator in ExtrusionEntityCollection. 2022-06-02 09:28:09 +02:00
Lukas Matena
d557bd1dd3 Fixed a crash when using a selection rectangle in cut gizmo 2022-06-02 09:28:08 +02:00
Lukas Matena
374cb237ed Merge branch 'tm_hollowing_optimization_stable' into dev_250 2022-06-02 09:04:44 +02:00
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