25481 Commits

Author SHA1 Message Date
Lukas Matena
a666effea7 Compilation fixes, renamed CutObjectBase to CutId 2024-11-18 23:41:31 +01:00
Lukas Matena
fd0e9b1597 Changed the way random numbers are generated 2024-11-18 23:41:31 +01:00
Lukas Matena
3913f5c49e Moved into Model.hpp 2024-11-18 23:41:31 +01:00
Lukas Matena
5cd697bdc2 Refactor CutID - first part (SPE-2519) 2024-11-18 23:40:50 +01:00
David Kocik
c3ca39d5c5 Possible fix of #12969 #13046 2024-11-18 23:38:15 +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
Lukas Matena
7cc94a31e5 Merge branch 'lh_mm_gizmo' 2024-11-18 23:33:52 +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
8cd2e8264a Fix a few MSVC compiler warnings. 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
Martin Šach
f1027116e7 Try to fix flatpak arm build.
Flatpak arm build seems to fail on precision in a single test.
Allow for bigger margin.
2024-11-12 17:50:32 +01:00
Martin Šach
092721ab0a Add virtual destructor to MultiPoint
MutliPoint is beeing inherited from.
2024-11-12 15:32:37 +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
Lukas Matena
4500de008b Merge branch 'lh_fuzzy_skin' 2024-11-12 15:23:11 +01:00
Lukáš Hejl
fa2663f026 SPE-2486: Limit the depth of the painted fuzzy skin regions to make regions cover just external perimeters.
This reduces the possibility of artifacts that could happen during regions merging.
2024-11-12 15:22:58 +01:00
Lukáš Hejl
6dadcee6ab SPE-2486: Reimplement fuzzy skin to be applied only to perimeter parts instead of creating different LayerRegion. 2024-11-12 15:22:58 +01:00
Lukáš Hejl
ed2cdfec61 SPE-2486: Implement support for PerimeterRegions that will apply configurations affecting just perimeters only to parts of perimeters instead of creating different LayerRegion. 2024-11-12 15:22:58 +01:00
Lukáš Hejl
efd95c1c66 SPE-2486: Separate fuzzy skin implementation into the separate file. 2024-11-12 15:22:58 +01:00
Lukáš Hejl
3c6372901b SPE-2486: Fix weak randomness of fuzzy skin.
Co-authored-by: Ryan Cavanaugh <SeaRyanC@users.noreply.github.com>
Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
2024-11-12 15:22:58 +01:00
Lukáš Hejl
57a48ef3ba SPE-2486: Simplification of fuzzy skin application and a few fuzzy skin bug fixes from OrcaSlicer.
Co-authored-by: Noisyfox <timemanager.rick@gmail.com>
Co-authored-by: Andrew Boktor <andrew.boktor@gmail.com>
Co-authored-by: SoftFever <softfeverever@gmail.com>
2024-11-12 15:22:58 +01:00
Lukáš Hejl
800b742b95 SPE-2486: Implement segmentation of layers based on fuzzy skin painting. 2024-11-12 15:22:58 +01:00
Lukáš Hejl
2c06c81159 SPE-2486: Refactor function apply_mm_segmentation() to prepare support for fuzzy skin painting. 2024-11-12 15:22:58 +01:00
Lukáš Hejl
519f5eea8e SPE-2486: Extend multi-material segmentation to allow segmentation of any painted faces. 2024-11-12 15:22:57 +01:00
Lukáš Hejl
886faac74e SPE-2486: Add a new gizmo for fuzzy skin painting. 2024-11-12 15:22:57 +01:00
Martin Šach
859a9cf308 Trigger flatpak manifest release on tag push 2024-11-12 11:59:35 +01:00
Martin Šach
47ed12523e Use the master branch of actions to release flatpak manifest 2024-11-12 11:52:06 +01:00
Martin Šach
3f106b1151 Fix forgotten workflow name 2024-11-12 11:18:07 +01:00
Martin Šach
3b9200c589 Add release manifest workflow 2024-11-12 11:13:18 +01:00
Lukas Matena
96e10b487d Merge branch 'dk_printables_squash' 2024-11-11 16:13:18 +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