Commit Graph

18364 Commits

Author SHA1 Message Date
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
8e19c945ae Bumped up version to 2.5.0-alpha1 2022-05-19 13:04:38 +02:00
Lukas Matena
d7105dabf1 Bumped up version number to 2.4.2 2022-04-22 13:01:19 +02:00
Mário Victor Ribeiro Silva
6953b2f877 feat: add missing translations 2022-04-20 09:54:32 +02:00
Mário Victor Ribeiro Silva
198871c711 feat: add translations 2022-04-20 09:54:06 +02:00
Lukas Matena
8e5cbf386f Bumped up version to 2.4.2-rc2 2022-04-13 15:28:51 +02:00
Lukas Matena
1a4ce039da Fix of #8175: crash with Import SL1 in some cases
- do not process non-existing file, report as error
- cancelling the dialog is not an error, but a check in finalize() is needed
- fixed some localization issues (serious btw: the ToStdString returned "" in one of the cases, which would in turn ignore the error and proceed as if if did not happen)
- reset err in reset(), just to be sure
2022-04-13 12:33:25 +02:00
Lukas Matena
3b94494c4f Fix of #8186: incorrect count of toolchanges reported:
broken for o long time, probably since 58a811a
2022-04-12 13:39:14 +02:00
YuSanka
566917bfb1 Shapes Gallery: Added PLA_recycling_symbol
+ OTHER_recycling_symbol and PETG_recycling_symbol are mirrored to be better placed on the bottom of a model.
2022-04-12 09:15:55 +02:00
Lukas Matena
6288ec4bf0 Fix of #8171: Two Chinese characters added into the range to load for ImGui 2022-04-11 12:10:16 +02:00
YuSanka
ed71887e35 Fix for #8122 - When you change setting with a blank project and go to exit it will ask you to save blank project, if you don't "save", prusa slicer wont' shut down
and #8076 - PrusaSlicer-2.4.1 does not close with no 3D-Model loaded and unsafed
2022-04-11 12:09:30 +02:00
YuSanka
a248490507 Fix for #7905 - Segfault when changing printer after loading 3mf with a different printer set
Update searcher only before open one of next dialogs : SearchDialog, UnsavedChangesDialog or DiffPresetDialog.
But only Search dialog respects to the mode of PrusaSlicer
2022-04-11 12:09:30 +02:00
rtyr
169ef8bfe4
BIBO sync with PrusaSlicer-settings 2022-04-11 07:34:07 +02:00
Vojtech Bubnik
aef0c5a83c Follow-up to 68b6672907
Fixed detection of config data at the end of gcode files
G-code as config file was not imported correctly because end of windows
stile end of lines (CRLF) were not processed correctly.
See the file at #8172
2022-04-08 14:28:12 +02:00
enricoturri1966
68b6672907 Fixed detection of config data at the end of gcode files 2022-04-08 09:41:26 +02:00
Vojtech Bubnik
6a67a6e21b Fix of #8170: Seemingly the OSX finder calls the "open files" callback
on PrusaSlicer too early now on some newest platforms, where the
application is not yet fully initialized. This fix postpones loading of
files in that case.
2022-04-07 15:52:33 +02:00
Lukas Matena
c6cffcc3a5 Bumped up version to 2.4.2-rc1 2022-04-05 15:39:32 +02:00
rtyr
afefbdd4a9
Reworked RatRig/Artillery resources. 2022-04-05 08:38:49 +02:00
YuSanka
cdb8108ab6 Fix for #6364 - MacOS / Minimize window / Shortcut CMD + M
There was a bug in wxWidgets 3.1.4. (wxWidgets/wxWidgets#18998)
So, we cherry-picked fixing commit from the upstream wxWidgets to our "v3.1.4-patched"

Note: It's update of the Sha256 for wxWidgets in master branch
2022-04-04 15:53:00 +02:00
YuSanka
8a8d2d15b0 Fix for #8156 - Automatic color change for logo crashes PrusaSlicer with second object of 0.2mm height 2022-04-04 11:42:10 +02:00
Lukas Matena
6a5443dad2 Yet another fixup of previous commit 2022-04-01 11:30:03 +02:00
Lukas Matena
037a866f22 Fixup of previous commit:
the previous fix only works for objects that have equal height
2022-04-01 09:54:49 +02:00
YuSanka
05e94eb0ab Fixed hard crash on "Convert from/to units" when several objects are selected
This crash was caused by commit https://github.com/prusa3d/PrusaSlicer/commit/38b877635
2022-04-01 09:48:38 +02:00
Lukas Matena
2ecfdea070 Fix of #7711, #7903, #8044 (wipe tower refusing to slice when layer height modifier is used):
Same settings of the layer height modifier does not guarantee to always produce profiles
exactly equal numerically. This is broken since 71ba15b.
2022-03-31 10:47:19 +02:00