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
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
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
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
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
enricoturri1966
b0b65a1f89
SPE-1208 - Fix for 3mf from another SW is loaded as a project and not as geometry
2022-03-23 17:20:54 +01:00
enricoturri1966
f970741dd4
Do not show ProjectDropDialog when drag and dropping a 3mf file produced by other softwares and the plater is not empty
2022-03-23 17:20:50 +01:00
enricoturri1966
fab6619641
#8032 - GCodeProcessor - Fixed parsing of LAYER_CHANGE tag for spiral vase mode
2022-03-23 17:17:23 +01:00
Lukas Matena
dc14ae07a6
Fixed incorrect handling of 3rd party 3MFs in SLA mode ( #6100 and others)
2022-03-23 17:16:17 +01:00
Lukas Matena
92a40d32ff
Fix of #8078 : double free on wxProgressDialog on Linux
2022-03-23 17:12:42 +01:00
Lukas Matena
62cc48188d
Fix background color in InfoDialog on older macOSes ( #3775 , #7603 )
2022-03-07 16:43:21 +01:00
Lukas Matena
34a0f6d970
Bumped up version to 2.4.1-rc1
2022-03-03 11:16:57 +01:00
enricoturri1966
b4c11dfc83
SPE-1202 - Fixed project name after loading a 3mf file whose path contains diacritics by double clicking (might be a fix of #7681 , #7173 and #7845 )
2022-02-25 14:11:06 +01:00
Vojtech Bubnik
97fb6d22dd
Follow-up to 8aefe3fc90
...
Suppress the G-code find / replace substitutions for the non-G-code
sections (comment blocks) at the start and at the end of the G-code file.
This commit extends the suppressed blocks for G-code find / replace
to placeholders for initial / final M73 commands and over the trailing
G-code comments.
Fixes gcode substitution: replacing comments removes initial and final M73 commands
2022-02-25 12:20:33 +01:00
Lukas Matena
d3e7a9613e
Fix of cut gizmo: contour placed incorrectly with elevated objects
2022-02-23 11:01:02 +01:00
Lukáš Hejl
dbc3cfc004
Fixed an issue that, in some cases, an inner brim was not generated.
2022-02-22 12:39:10 +01:00
Vojtech Bubnik
8aefe3fc90
Fix of gcode_substitutions will cause errors in prusaslicer_config dump at the end of gcode #7952
...
Suppress the G-code find / replace substitutions for the non-G-code
sections (comment blocks) at the start and at the end of the G-code file.
2022-02-21 11:04:43 +01:00
Vojtech Bubnik
6937b34fdc
get_wraped_wxString(): Wrapping on '\' on Windows.
...
Deleting all G-code substitutions: Added a Cancel button.
2022-02-21 09:59:51 +01:00
Lukáš Hejl
945bebd224
Follow-up to e20d041fc9
: Fixed a wrong calculation of indices when object instances were used.
...
Also, it was fixed polygon intersection detection, which was not working when a polygon intersected another polygon by only one edge.
2022-02-18 16:45:50 +01:00
Lukáš Hejl
5d72f18dc6
Follow-up to a4ecf2f2a6
. Refactoring of the function for removing duplicate points.
2022-02-16 09:20:45 +01:00
Lukáš Hejl
eef741b095
Fixed a copy-paste typo that could lead to duplicate edges in MMU_Graph in the multi-material segmentation.
2022-02-16 09:20:41 +01:00
Vojtech Bubnik
3e9e3fd102
Follow-up to 58d64bae77
...
Disabled check for "G92 E0" in layer change G-code for other firmware types
than Marlin 2 and Marlin Legacy. We don't know whether other firmware
flavors are sensitive to E axis accumulation error and we know that
RepRapFirmware is not.
Fixes #7846
2022-02-14 15:11:19 +01:00
Vojtech Bubnik
a062a889d8
Follow-up to a1746e3e66
...
Fix for #7849 - "Save Project" command doesn't work properly
2022-02-14 14:13:48 +01:00
enricoturri1966
14b7d36070
#7906 - Port of 296041da38
'Fixed 'Export as .stl' scaling not applied on scaled object instances'
2022-02-14 13:58:43 +01:00
YuSanka
d0b694daff
Linux specific: Fixed a bug focusing of the some settings tabs
...
Steps to repro of a bug:
1. FFF/SLA printer is selected
2. Load 3mf projet with SLA/FFF printer
3. Chnage printer to the FFF/SLA
=> (Print a Filanemt Settings)/(Print a Materials Settings) are disabled
Notes: This issue appeared after https://github.com/prusa3d/PrusaSlicer/commit/bfce4f6 , when find_toplevel_parent(plater) instead of plater was set as a parent for ProgressDialogs
2022-02-08 17:19:30 +01:00
Lukáš Hejl
a4ecf2f2a6
Replaced smooth_outward in multi-material segmentation with a function that removes duplicate points with angle threshold. It should fix #7838 and #6892 .
...
The main contribution of the smooth_outward function for multi-material segmentation was the removal of duplicate points in polygons using MutablePolygon::remove_duplicates().
But the issue with this function is that it deletes points only based on their distances, which could cause problems like in #7838 .
2022-02-07 13:38:22 +01:00
YuSanka
9ea7427ce7
Fix for #7887 - [UI] Add Settings > Layers and Perimeters - some options have non distinct labels
...
+ Fixed build warning
2022-02-07 13:21:11 +01:00