10613 Commits

Author SHA1 Message Date
Lukas Matena
a666effea7 Compilation fixes, renamed CutObjectBase to CutId 2024-11-18 23:41:31 +01:00
Martin Šach
03e0957f21 Improve config dir detection.
- Specific to linux.
- If the current config dir is not $HOME/.config dir check the
  $HOME/.config dir for previous existing configs.
- Targeted on flatpak where the config dir is configured using
  $XDG_CONFIG_HOME and is not in $HOME, where it will trigger
  a prompt for config migration.
2024-11-18 23:35:19 +01:00
Lukáš Hejl
17c3e31f72 SPE-2003: Several improvements to multi-material painting gizmo. 2024-11-18 23:33:40 +01:00
Lukáš Hejl
72f47f7963 Optimize painting using single triangle brush.
Especially on the detail models, painting using the single triangle brush is noticeably faster.
2024-11-18 23:33:40 +01:00
Lukáš Hejl
d25ceeeb7a SPE-2003: Add an option to limit selection by the bucket fill using the angle between triangles.
Also, it adds to the bucket fill the automatic selection of tiny triangles even if they exceed the angle limit.
2024-11-18 23:33:40 +01:00
Lukáš Hejl
e672072071 SPE-2003: Implement the height range tool into the multi-material painting gizmo.
The height range tool is inspired by BambuStudio.
2024-11-18 23:33:40 +01:00
Lukáš Hejl
535cbb2567 SPE-2003: Improve the smart fill in the multi-material painting gizmo to automatically select tiny triangles even if they exceed the angle limit. 2024-11-18 23:33:40 +01:00
Lukáš Hejl
f253822707 Small refactoring of Cursors in TriangleSelector. 2024-11-18 23:33:40 +01:00
Lukáš Hejl
d23e114aed Fix clang warnings in the painting gizmos. 2024-11-18 23:33:40 +01:00
Lukáš Hejl
6d53b34efc Fix very short sliders in the FDM support painting gizmo.
It was broken by ad1510a30c3ebb29ef5118dbac40e0b5b023f6ed.
2024-11-18 23:33:40 +01:00
Lukáš Hejl
2879f92cab Fix the painting gizmos overlaps the view toolbar. 2024-11-18 23:33:40 +01:00
Lukáš Hejl
8f5bf424b5 SPE-2550: Prioritize ALT key over Control key in painting gizmos.
On Windows Right ALT key could be reported as Left ALT + Control.
In such cases, we want to prioritize ALT over Control.
2024-11-15 00:36:38 +01:00
YuSanka
fae52557cc Tab: Fixed update of extruders_filaments after filament renaming
Fix for #13554 - Renaming a filament preset with parentheses causes incompatible profiles to appear
(SPE-2556)
2024-11-12 15:27:03 +01:00
YuSanka
525c04bebe Fix for #13450 - Crash when apply infill density with TAB in sidebar (SPE-2508) 2024-11-12 15:25:19 +01:00
Lukáš Hejl
886faac74e SPE-2486: Add a new gizmo for fuzzy skin painting. 2024-11-12 15:22:57 +01:00
David Kocik
321d79b338 No border webview 2024-11-11 16:12:50 +01:00
David Kocik
ce991e6632 SPE-2551: PrusaConnect_v2 api use 2024-11-11 16:12:50 +01:00
David Kocik
85094c5c19 SPE-2515: Improved reload functionality
Fix of script message after error with credentials /api key

Reload improvements

additional webview checks

Reload webview on F5 for mac / linux

Rename button

Fix of loading error page
2024-11-11 16:12:50 +01:00
David Kocik
9f42394629 SPE-2512: Create Webview only when it is being shown
Destroy webview on tab close
2024-11-11 16:12:50 +01:00
David Kocik
40458c6649 SPE-2507: Resize upload dialogs 2024-11-11 16:12:50 +01:00
David Kocik
da49e8edfb SPE-2535: Improvments of Printables events
Missing include

Printables event Require login

Improved error page

Prepare opening Printables to Connect upload dialog

debug fix

Another debug fix

prevent reload on load request

Load new url already in on_show

Improved javascript notification
2024-11-11 16:12:50 +01:00
David Kocik
93b0adf964 SPE-2507: Resize Connect upload dialog 2024-11-11 16:12:50 +01:00
David Kocik
7ffa854ec2 SPE-2535: Handling Printables events
Fix of loading url and deleting cookies

Handling Printables events: download and slice

Link from notification to Printables tab

Webview download notification

cleanup

No reload button on loading screen
2024-11-11 16:12:50 +01:00
David Kocik
2d41c29505 SPE-2507: Connect upload dialog size 2024-11-11 16:12:49 +01:00
David Kocik
20af632115 SPE-2515: Reload button inside html pages and button in menu 2024-11-11 16:12:49 +01:00
David Kocik
1040332c87 SPE-2468: Printables WebView class
read address and download model
Printables as pernament tab
webview debug panel
adding token to request header
Logout to Printables
Correct user-agent
Receiving printables events
Improved refreshing of token to printables
User settings to printables url
merge changes
Changed login to Printables during runtime
Logging in plater fix
2024-11-11 16:12:49 +01:00
David Kocik
e8de4b7199 Create Printables tab 2024-11-11 16:12:49 +01:00
YuSanka
da79ad4937 Fixed a crash, when press "Esc" key in TextEdit control
Fix for #13458 - Crash using cut tool. (SPE-2545)
2024-11-11 11:57:18 +01:00
Lukáš Hejl
56a2a5973d SPE-2400: Add an option for setting the gap size between the beginning and the end of closed perimeters.
Negative values extend the loop, causing the endpoints to overlap slightly.
2024-11-11 10:59:20 +01:00
Lukáš Hejl
5229510346 SPE-2514: Prevents focusing on the menu bar when ALT is pressed in painting gizmos. 2024-11-05 13:58:44 +01:00
Lukáš Hejl
eff2c16ecc SPE-2177: Restore the "Ensure vertical shell thickness" option.
This partially reverts commit d5a1b59869d888c8ed30f360045017ec5e9bb00b.

Co-authored-by: SoftFever <softfeverever@gmail.com>
Co-authored-by: Vovodroid <vovodroid@users.noreply.github.com>
2024-10-24 13:23:11 +02:00
Lukas Matena
9237a68ba9 Use ModelWipeTower instead of config for wipe tower pos and rot (3MF part) - SPE-2520 2024-10-16 12:41:27 +02:00
Lukas Matena
c41290bc07 Use ModelWipeTower instead of config for wipe tower pos and rot (backend part) - SPE-2520 2024-10-16 12:40:49 +02:00
Lukas Matena
1f9344a5dc Use ModelWipeTower instead of config for wipe tower pos and rot (frontend part) - SPE-2520 2024-10-16 12:27:25 +02:00
Lukas Matena
68f8925461 Improve startup of ConfigWizard (SPE-2457) 2024-10-02 14:27:55 +02:00
David Kocik
1bd7be797a Improved warning dialog. 2024-10-02 14:22:41 +02:00
David Kocik
891b6a4816 Notification with link to connect
hypertext in upload progress notification

load default url if printer page fails
2024-10-02 14:20:12 +02:00
Lukas Matena
c16f2f1c1e Fixed couple of compiler warnings 2024-09-27 14:18:12 +02:00
YuSanka
4a2e9d887a CLI: Start PS with entered print/printer/material profiles, when no other input info is provided
(FR from #13327 - Command line in shortcut to select printer configuration doesn't work)

SPE-2465
2024-09-26 14:48:44 +02:00
Martin Šach
7042c1a34e Add scarf seam config options 2024-09-26 14:43:09 +02:00
themanyone
7649a7d047 fix compiler warnings about using reference types 2024-09-19 13:53:44 +02:00
themanyone
bdc8cc07d4 always set input and position when launching search_dialog 2024-09-19 13:53:44 +02:00
themanyone
e855ab5d46 #4584 revisited. Gtk-CRITICAL fix + resizing 2024-09-19 13:53:44 +02:00
Merill
ae0824a10d fix wrong type (int instead of coord_t) (PR #12302) 2024-09-19 13:53:44 +02:00
Lukáš Hejl
40eee4cae7 SPE-2349: Allow painting on broken meshes.
There are checks for a number of hits inside the MeshRaycaster::unproject_on_mesh(), but those checks are valid only on unbroken meshes.
So, those checks are bypassed for painting gizmos.
2024-09-19 13:53:44 +02:00
YuSanka
90017e5e6d Fix for #12920 - Prusa Slicer 2.8 rc 2 / iCCP: known incorrect sRGB profile
(SPE-2485)
2024-09-18 15:00:22 +02:00
Martin Šach
2cac8c2c37 Fix includes 2024-09-17 11:21:29 +02:00
Jan Bařtipán
95a2e44b77 UserAccountSession: has own mutex to guard credentials (access and refresh token, shared secret and next refresh timeout), this prevents deadlock (at UserAccountCommunication::m_session_mutex) in ConfigWizard when offline 2024-09-12 11:34:41 +02:00
Lukas Matena
7b2ee2ae0c Fixed #6832 (again - broken in 69650f7) 2024-09-12 11:32:45 +02:00
Lukas Matena
171508fc40 Fixed some encoding issues 2024-09-12 11:32:04 +02:00