24862 Commits

Author SHA1 Message Date
Lukáš Hejl
d6136a34e3 SPE-2301: Add a new option that makes a printer print loops clockwise instead of counterclockwise. 2024-06-03 18:24:03 +02:00
YuSanka
c2eac9502f TabSLAMaterial:: Fixed re-scaling and sys color change for "Overrides" page.
(SPE-2322)
2024-06-03 14:17:01 +02:00
Martin Šach
3543f8c738 Remove seam 'visit forward' assert and rename it to better convey what the function does. 2024-05-30 10:47:18 +02:00
YuSanka
114d370f92 wxExtensions: Removed some unused code
+ MenuWithSeparators class is moved from wxExtensions into GUI/GUI_Factories
2024-05-29 13:10:21 +02:00
Lukas Matena
8aba30a8cb Removed some legacy unused code which caused overflows with larger beds,
the problem was not visible in Release mode (SPE-2318)
2024-05-28 14:16:30 +02:00
Lukas Matena
208082381a Fixed couple of compiler warnings 2024-05-22 11:23:44 +02:00
YuSanka
74a6ae3f1d Connect: Updated information line
(SPE-2234)
2024-05-21 15:14:31 +02:00
Lukas Matena
906146a788 Merge branch 'dk_connect' 2024-05-21 08:27:18 +02:00
Lukas Matena
75f13002ff Merge branch 'master' into dk_connect 2024-05-21 08:27:06 +02:00
Martin Šach
80d35831fa Fix SPE-2297 - slowdown after overhang.
The bug lies in the fact that SmoothPathCache comapare path attributes
in `resolve_or_fit_split_with_seam`. For some paths it does the
following: If attributes of paths are the same it merges the paths.

Since the == operator of ExtrusionAttributes did not consider
overhang_attributes in the comparison, some paths were
merged even though they had different overhang_attributes.
This led to the wrong overhang attributes being applied to
some paths.

Now the == operator of ExtrusionAttributes takes overhang_attributes
into account and it fixes the issue.
2024-05-20 16:52:47 +02:00
YuSanka
b7ce546cfc Workaround for SPE-2295 - Crash when re-cutting with dowel connectors 2024-05-20 16:51:10 +02:00
Martin Šach
258882ca5a Fix SPE-2304. Rear seam not respecting paiting.
If a rear seam was projected it was not respecting seam paiting,
because it continued to search the points even if they had
'worse' point_type (e.g. common/blocker). Now the search
is aborted if there is an enforcer and it is not picked.
2024-05-20 16:49:25 +02:00
YuSanka
e95cc5d09c Follow-up 26d52595 - Fixed a crash after switching from "Settings in separate dialog" mode to "Old" mode,
when "Connect" tab is selected
(SPE-2314)
2024-05-20 16:47:07 +02:00
YuSanka
70d7911ee3 DoubleSliderForLayers improvements:
1. Fixed tooltips on ticks
2. Implemented posibility to edit colored band and ticks
2024-05-20 16:46:28 +02:00
DJ Delorie
e405d75a52 Fix skirt separation math (SPE-2285, PR#12621)
In the code as-is, the half-width of the skirt extrusion is
added to the user-specified distance.  However, the user-specified
distance is scaled to internal units while the half-width is not,
resulting in math like "250000 + 0.125" for a skirt extrusion of
0.5mm

The fix is to include the half-width inside the scaling function
so that it is also scaled, resulting in math like "250000 + 125000".

The user-visible result is that if you have no brim and set the
skirt spacing to zero, the skirt will actually touch the model
and not be offset by half an extrusion width.
2024-05-20 16:44:25 +02:00
YuSanka
d0e70e035a Follow-up 26d52595 : Fixed a crash on move the GCodeViewer on other monitor 2024-05-20 16:42:54 +02:00
David Kocik
3e1baf0a61 Do not poll printers when window is not active. 2024-05-20 15:35:35 +02:00
David Kocik
835e6d4805 Fix of path sharing during upload. 2024-05-20 15:06:56 +02:00
David Kocik
e553ac5360 Fix of webview dialog closing.
Custom script message handlers.
2024-05-20 13:06:48 +02:00
David Kocik
84653cc984 Remove "total" from status line. 2024-05-17 15:13:31 +02:00
David Kocik
e3d41bc814 Polling 10 seconds 2024-05-17 15:07:31 +02:00
David Kocik
9f95549dcf Pass path string without converting to boost 2024-05-17 12:19:02 +02:00
Ben Greiner
0b7616c121 Remove deprecated boost filesystem convenience include (PR #12652) 2024-05-17 11:40:39 +02:00
Lukáš Hejl
e305594f2b Fix a compiler warning in TriangleSelector. 2024-05-17 01:38:46 +02:00
David Kocik
9a5fee2d19 Upload path fix 2024-05-16 19:14:21 +02:00
David Kocik
2c09c034b3 Remove deprecated arguments from connect upload 2024-05-16 18:04:11 +02:00
David Kocik
c0aa09791f fix of upload filename 2024-05-16 16:19:08 +02:00
David Kocik
64c497ce0d Upload to Connect changes 2024-05-16 16:19:08 +02:00
David Kocik
1264f57f84 Compatible printer check when sending uuid to connect. 2024-05-16 16:19:07 +02:00
David Kocik
535ecf7b34 Passing filename to Connect PrinterPick 2024-05-16 16:19:07 +02:00
David Kocik
5e5f2c493d New request naming 2024-05-16 16:19:07 +02:00
David Kocik
7c63c2dbfb WIP new upload 2024-05-16 16:19:07 +02:00
David Kocik
65a581a026 Use only uuid from Connect request and get rest of the data from endpoint 2024-05-16 16:19:07 +02:00
David Kocik
98ec4e808d Remove script handler on EndModal. 2024-05-16 16:19:07 +02:00
David Kocik
9435515a8c Resend config to connect on new access token. 2024-05-16 16:19:07 +02:00
David Kocik
df40aecacc New Connect adresses. 2024-05-16 16:19:07 +02:00
David Kocik
cb265cdfee use boost::nowide::fopen to store avatar 2024-05-16 16:19:06 +02:00
David Kocik
44cf71390b Passing uuid from connect webview to connect printerpick
TODO: More sofisticated logic to pass or not pass uuid
2024-05-16 16:19:06 +02:00
David Kocik
76d7af0b05 Add developer panel and error handling to webview dialog 2024-05-16 16:19:06 +02:00
David Kocik
32d2115334 Set user agent to SLIC3R_APP_FULL_NAME 2024-05-16 16:19:06 +02:00
David Kocik
f83213d958 Fix of opening avatar file for write. 2024-05-16 16:19:06 +02:00
David Kocik
2de65cfa6a Do not escape upload path in PrusaConnectNew init_upload 2024-05-16 16:19:06 +02:00
David Kocik
f6e8a1e898 Do not set user agent on webview creation. It caused not loading of the webview edge backend when running 2 different versions of PS. 2024-05-16 16:19:06 +02:00
David Kocik
79a7abeca6 nozzle_diameter changed to printer_variant 2024-05-16 16:19:06 +02:00
David Kocik
859bc9c786 Use printer_variant to compare nozzle diameter in connect printer state.
Do not concider models without nozzle.
2024-05-16 16:19:06 +02:00
Lukáš Hejl
0cfbb5a437 Merge branch 'lh_shrinkage_compensation' 2024-05-14 17:16:38 +02:00
Lukáš Hejl
61cd0beaa9 SPE-2186: Allow to show at the same time both warnings about that bed temperature difference and shrinkage compensation weren't used. 2024-05-14 17:16:23 +02:00
Lukáš Hejl
4b8fe98443 SPE-2186: Add shrinkage compensation into filament settings.
There is a limitation that on multi-tool printers, all used filaments must have the same shrinkage compression values.
2024-05-14 17:16:23 +02:00
Lukáš Hejl
e14ba9d431 SPE-2063: Determine correctly which extruders are used when the object is painted by the multi-material painting gizmo.
During the serialization of TriangleSelector and also during reading serialized painting data from 3MF, we cache all used states in the painted triangle mesh.

Based on this information, we can quickly determine which extruders are used and which don't.
2024-05-14 17:16:23 +02:00
Lukáš Hejl
b425fe459d Rename EnforcerBlockerType to TriangleStateType because we no longer use it just as a blocker or an enforcer. 2024-05-14 17:16:23 +02:00