Commit Graph

19318 Commits

Author SHA1 Message Date
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
Lukáš Hejl
8d0dd13144 Fixed a crash in Lightning infill. 2022-06-01 21:35:58 +02:00
Lukas Matena
ada55053d8 Fixed MSVC debug assert in lightning infill (invalidated iterator) 2022-06-01 21:35:58 +02:00
Lukáš Hejl
bbb7e839a0 Fixed various issues in the ported Lightning infill.
Added export to SVG for TreeNode.
Also was finalized integration of Lightning infill and Lightning infill was enabled.
2022-06-01 21:35:58 +02:00
Lukáš Hejl
6c86d7dfd8 Merge branch 'lh_locales' 2022-06-01 21:19:50 +02:00
Lukáš Hejl
a47446574e 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-01 21:18:52 +02:00
Lukáš Hejl
2319c31ca5 Merge branch 'lh_lightning_infill_anchors' 2022-06-01 21:14:28 +02:00
Lukáš Hejl
e967d10788 Added anchors for the Lightning infill to better connect the infill and perimeters. 2022-06-01 21:13:03 +02:00
Lukáš Hejl
ae377bd28c Fixed assert in Lightning infill (merging empty BoundingBoxes). 2022-06-01 21:13:03 +02:00
tamasmeszaros
cf16dafad9 Fix PlaterWorker not calling yield from main thread
Also fix UIThreadWorker not setting busy cursor
2022-06-01 15:39:07 +02:00
YuSanka
fe9ad66e84 Disable ENABLE_OBJECT_MANIPULATOR_FOCUS 2022-06-01 11:56:42 +02:00
enricoturri1966
4dee789e9e Follow-up of b00c550463 - More robust fix for: Do not show legend and bottom slider when loading an invalid gcode file into GCodeViewer 2022-05-31 08:39:15 +02:00
enricoturri1966
e8753ee8cd Tech ENABLE_COPY_CUSTOM_BED_MODEL_AND_TEXTURE - 1st installment - Copies custom bed texture and model files to 'data_dir()\printer' folder, if needed, and updates the printer config accordingly
Fixed conflicts after rebase with master
2022-05-30 11:28:54 +02:00
tamasmeszaros
78124689c5 Fix excessive uptates to UI in sla rotation optimization 2022-05-30 11:17:34 +02:00
tamasmeszaros
4326e083eb Fix sla rotation gizmo menu not being remembered 2022-05-30 11:15:23 +02:00
tamasmeszaros
c5e3a56511 Further fix to is_idle() and rethrow unhandled exception after finalize
In UIThreadWorker
2022-05-30 10:01:47 +02:00
tamasmeszaros
6ab8e3a138 Fix id_idle() for UIThreadWorker 2022-05-27 16:09:32 +02:00
enricoturri1966
b00c550463 Do not show legend and bottom slider when loading an invalid gcode file into GCodeViewer 2022-05-27 15:55:25 +02:00
tamasmeszaros
6c284882ba Fix cancellation from UI for UIThreadWorker 2022-05-27 15:54:26 +02:00
tamasmeszaros
9892893587 Add UIThreadWorker for debugging and profiling purposes 2022-05-27 15:33:03 +02:00
Lukáš Hejl
a115702289 Ignore CLion IDE files in all subdirectories. 2022-05-27 13:22:08 +02:00
MarkMan0
4e3369bbfc Improve Proton X profiles, Add Proton XE-750 printer 2022-05-26 16:04:26 +02:00
enricoturri1966
1b09628b0d #8332 - File association on Windows: reimplemented to allow setting PrusaSlicer as default application for .3mf and .stl files and GCodeViewer as default application for .gcode files 2022-05-25 13:14:33 +02:00
enricoturri1966
fcd3966a5b Fixed crash when opening the preference dialog in GCodeViewer 2022-05-25 11:01:48 +02:00