667 Commits

Author SHA1 Message Date
YuSanka
b71e0bfd34 Follow-up 8913fdf6ab
* Deleted/Temporary commented redundant call of app_config->save()
 * Use app_config->get_bool() function on all places
2023-02-13 17:23:49 +01:00
Vojtech Bubnik
8913fdf6ab Reworked AppConfig to mark itself as dirty reliably with any configuration
change and saving AppConfig on idle.
2023-02-13 10:08:12 +01:00
David Kocik
11b660b344 downloader re-registration dialog 2023-02-03 15:52:18 +01:00
YuSanka
1cfa5ee385 Fix for #9476 - PrusaSlicer2.6alpha2 Switching PrusaSlicer to language zh_TW failed. 2023-02-02 17:22:47 +01:00
David Kocik
0c72adf867 UI changes
App Updater - filename in notification
Downloader - if error text is missing, use message body
2023-01-30 16:00:08 +01:00
David Kocik
3fb1e8a35f App updater path fixes 2023-01-26 15:20:51 +01:00
YuSanka
c7783a5891 Fix for #6377 - Prevent 3mf files from overwriting filament/printer settings
+ Ask about action on load of project even if print bed isn't empty
2023-01-23 16:12:32 +01:00
YuSanka
c16fa93bdb Allow to switch to the Simple mode, when all objects are single-parts or have support-modificators only.
+ Object's menu for Advanced and Expert mode are the same now.

+ "wxYES|wxCANCEL" style is changed to "wxOK|wxCANCEL" for MessageDialog.
The reason: wxWidgets implementation for Linux doesn't respects to "wxYES|wxCANCEL" style for MessageDialog.
In this case massage dialog has "wxYES_NO|wxCANCEL" style.
2023-01-23 10:24:45 +01:00
David Kocik
3f69799047 App updater download directory path cehecking and selection 2023-01-20 08:41:10 +01:00
David Kocik
70879d2d8c Fixes of AppUdpater
fix of bug (1) - order of dialogs
fix of bug (2) - show new version dialog when triggered by user
fix of bug (3) - refresh value in preferences combobox when opening preferences 
fix of bug (4) - Use fwrite instead of stream to speedup saving. 
Do not show checkbox when triggered by user.
2023-01-19 13:04:16 +01:00
tamasmeszaros
76d0e11699 Merge branch 'master' into et_tm_sla_volumes_6-SPE-1285 2023-01-18 16:40:12 +01:00
David Kocik
96762a2119 No new version available notification 2023-01-18 15:29:55 +01:00
David Kocik
af0e312542 Profile updates and installation:
- Refactoring and functionality change of PresetUpdater::sync_config. Zip archive now contains only index files. From index file it is decided wheter .ini file should be downloaded and where (cache for update of installed, cache/vendor for unistalled). New vendors are downloaded from set address. Fron .ini file it is decided wheter thumbnail should be downloaded. All resources for already installed vendors are checked and downloaded.  
- TemplateFilaments renamed to Templates (Warning: This might create duplicities if both files are present!).
- Various checks added to prevent crashes when dealing with broken presets, wrong files etc.
- Delayed error message when loading present finds duplicities - wait with dialog until Splash screen is gone.
- Minor changes in Config wizard when searching & loading printer thumbnails.
2023-01-18 11:10:24 +01:00
David Kocik
fc65d73c2d Wizard and PresetUpdater changes
updater:
- Sync downloads also missing thumbnails.
- Copying of downloaded resources (perform_updates) also downloads missing ones (new vendor or installing vendor with added printers ).
- This copy&download shows progress dialog now.
- Fix of crash when installing new vendor (not in rsrc dir)
Wizard:
- Cancel updater sync when starting wizard to avoid multiple downloads.
- Load thumbnails from cache dir (downloaded by updater sync).
Preset:
- Profiles now has settable name of thumbnail. If not specified, name + _thubnail.png is used (as it was before).
2023-01-18 11:10:24 +01:00
David Kocik
41d5c16b76 fix of crash on empty config -> add template filament
fixed checking if template profile needs to be installed
fixed checking path before loading profile header from cache / vendor
2023-01-18 11:10:24 +01:00
tamasmeszaros
57bdd8df6f Merge branch 'master' into et_tm_sla_volumes_6-SPE-1285 2023-01-17 14:48:37 +01:00
YuSanka
e2a51a4da9 Fixed info for SplashScreen 2023-01-16 14:59:16 +01:00
tamasmeszaros
fc9b7ed59c Merge branch 'master' into et_tm_sla_volumes_6-SPE-1285 2023-01-13 11:02:06 +01:00
David Kocik
ce38e57ec4 Downloader feature - Downloads from Printables.com
Custom URL Registration:
 - Windows - writes to registers.
 - Linux - desktop integration file.
 - Macos - info.plist.in creates registration and is controlled only via app config.
Registration is first made in Config Wizard. Or is triggered from Preferences. Path to downloads folder can be set.
URL link starts new instance of PS which sends data to running instance via SingleInstance structures if exists.
New progress notification is introduced with pause and stop buttons.
Downloader writes downloaded data by chunks.
Support for zip files is introduced. Zip files can be opened, downloaded or drag'n'droped in PS. Archive dialog is opened. Then if more than 1 project is selected, only geometry is loaded.
Opening of 3mf project now supports openning project in new PS instance.
2023-01-05 16:00:04 +01:00
YuSanka
033af199a3 Implemented palettes for mode markers 2022-12-20 15:50:13 +01:00
YuSanka
3b46d68e4f MeasureGizmo: Fixed localization for buttons
+ UKR Localization specific workaround
2022-12-16 17:37:57 +01:00
YuSanka
473c8a26a4 Suppress to switch to SLA-technology printer, if an object has a modifier(s)
+ WIP: ptSLA : Hide modifiers on 3DScene.
Waiting for @enricoturri1966 review/reworking
2022-12-15 11:46:05 +01:00
YuSanka
fbcdd4191b Merge remote-tracking branch 'PRIVATE/master' into ys_emboss_with_master 2022-10-27 13:09:55 +02:00
YuSanka
737117e474 Merge remote-tracking branch 'PRIVATE/master' into ys_cut 2022-09-19 08:26:52 +02:00
Filip Sykala - NTB T15p
6e15149e7a Merge branch 'master' into fs_emboss 2022-09-16 08:43:27 +02:00
YuSanka
30831af8a5 DiffDialog: Implemented a transfer of the selected options from left preset to the right and save them to the new preset
* Related to #6130 - Feature Request: Profile settings, Save AND Transfer
+ SavePresetDialog: Refactoring
2022-09-15 16:48:14 +02:00
Filip Sykala - NTB T15p
ed6a1b18f3 Merge branch 'master' into fs_emboss
# Conflicts:
#	src/slic3r/GUI/GLCanvas3D.cpp
#	src/slic3r/GUI/Selection.cpp
2022-09-14 11:28:36 +02:00
YuSanka
0b8d7380ff DiffDialog: Implemented a transfer of options from one preset to another
Related to [Feature Request] #5384 - Copy values in Profile comparaison dialog
2022-09-13 17:30:22 +02:00
YuSanka
484eae7a1c Merge remote-tracking branch 'PRIVATE/master' into ys_cut 2022-09-08 13:32:14 +02:00
Lukas Matena
5bf04d7964 Merge branch 'master_250' 2022-09-07 15:19:21 +02:00
YuSanka
f00a750362 Localization: Next phrases improvements 2022-09-05 15:46:07 +02:00
Filip Sykala - NTB T15p
c549c6afbe Merge branch 'master' into fs_emboss
# Conflicts:
#	src/libslic3r/CMakeLists.txt
#	src/libslic3r/Format/3mf.cpp
#	src/libslic3r/Model.hpp
#	src/libslic3r/Point.hpp
#	src/libslic3r/Technologies.hpp
#	src/slic3r/CMakeLists.txt
#	src/slic3r/GUI/GLCanvas3D.cpp
#	src/slic3r/GUI/GLSelectionRectangle.cpp
#	src/slic3r/GUI/GUI_Factories.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoBase.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoBase.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoMove.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoMove.hpp
#	src/slic3r/GUI/Gizmos/GLGizmoRotate.cpp
#	src/slic3r/GUI/Gizmos/GLGizmoRotate.hpp
#	src/slic3r/GUI/MeshUtils.cpp
#	src/slic3r/GUI/MeshUtils.hpp
#	src/slic3r/GUI/ObjectDataViewModel.cpp
#	src/slic3r/GUI/ObjectDataViewModel.hpp
#	src/slic3r/GUI/Selection.cpp
2022-08-31 15:22:10 +02:00
Lukas Matena
d7a34f7e40 Merge branch 'master_250' 2022-08-30 16:31:07 +02:00
YuSanka
98e94c3329 Fix for #8728 - Remember Size/Location of Shape Gallery window box 2022-08-24 16:49:38 +02:00
Lukas Matena
6690d49bea Bumped up version to 2.5.0-rc1 2022-08-19 16:41:23 +02:00
YuSanka
79e9df4b64 Merge remote-tracking branch 'PRIVATE/master' into ys_cut 2022-08-17 10:05:44 +02:00
Lukas Matena
dc229589bb Fixed compiler warnings 2022-08-16 11:20:31 +02:00
Lukas Matena
deac513faa Fixed conflicts after merge 2022-08-15 15:23:59 +02:00
YuSanka
a1b324d1ee Merge remote-tracking branch 'PRIVATE/master' into ys_cut 2022-08-15 14:17:42 +02:00
Lukas Matena
bce2b148f4 Merged 2.5.0-beta1 into master (NO CONFLICTS FIXED) 2022-08-15 13:41:40 +02:00
Lukas Matena
e8528c415a Bumped up version to 2.5.0-beta1 2022-08-15 12:35:53 +02:00
Lukas Matena
f548f85405 STEP: Show STEP in model import file dialog title 2022-08-11 16:49:13 +02:00
tamasmeszaros
88ba89dbbc STEP: Implementation ported from BambuStudio:
CMake handling is different

STEP: Removed preprocessing stage

STEP: Small refactoring

STEP: Bigger refactoring

STEP: Changed naming on loaded object and volumes:
If the STEP contains exactly one named volume, the object and its first
volume will both have that name. Otherwise, filename w/o suffix is used
as object name and volumes are named using names from the STEP (if there
is none, untranslated "PartN" string is used).

STEP: Load the libraries dynamically on Win

wip
2022-08-11 16:49:13 +02:00
YuSanka
f994e42d8e Fix for dark_mode(): Use check_dark_mode() function only, when app_config doesn't have a "dark_color_mode" parameter.
Now wxWidgets improved IsDark() function with 622a2f9d60.
So now it returns correct color for the system appearance
2022-08-10 16:48:37 +02:00
YuSanka
2ac3861b2a Merge remote-tracking branch 'PRIVATE/master' into ys_cut 2022-08-08 10:57:38 +02:00
YuSanka
6806ec02c7 Discarded rescale for SplashScreen.
There is no need to rescale the SplashScreen after a81e0d83c1
2022-07-29 11:21:54 +02:00
YuSanka
066b567714 Using of wxWidgets 3.1.6 WIP:
* Create Cache of wxBitmapBundles instead of wxBitmaps
* Use wxBitmapBundles instead of wxBitmap for most of Widgets
* Use empty bitmabundles instead of wxNullBitmap for wxBitmapComboBoxes.
* Updated wxWidgets.cmake
* OSX specific: Discard BitmapComboBox overrides
+ some code cleaning
2022-07-29 11:21:54 +02:00
YuSanka
e21921f2eb Fixes to support wxWidgets 3.1.6(7), 3.2.0
+Updated URL and URL HASH for wxWidgets v3.2.0-patched
2022-07-29 11:21:54 +02:00
YuSanka
05c22604fb Cut WIP: Suppress use connectors for SLA mode 2022-07-27 15:21:37 +02:00
enricoturri1966
520261925f Fixed conflicts after merge with master 2022-07-21 08:14:44 +02:00