84 Commits

Author SHA1 Message Date
Lukas Matena
a62e772cfd Kill autocenter 2024-12-13 14:09:20 +01:00
Lukas Matena
bc7d0af98c Added some const to make it slightly nicer 2024-09-11 21:57:51 +02:00
David Kocik
529a6fc0ae Copy manifest file when importing config 2024-06-24 19:55:33 +02:00
Lukas Matena
9c0cb3b47c printrequest implementation:
printrequest reader WIP
Co-authored-by: David Kocik <kocikdav@gmail.com>

transformation matrix loading

Loading filaments from printRequest

Conversion of string to double

Reading PrintRequest when material not installed

empty tree check + allow printrequest for mac

PrintRequest: Set print profile if current doesnt have compatible sla material

followup fix of c24477cd10d92de00874504be434872d49a20ec9

Fix compile error on gcc
2024-06-14 15:32:10 +02:00
YuSanka
2b837d9f6e Fix for SPE-2172 : Compare preset dialog doesn't respect compatibility condition. 2024-04-30 12:46:09 +02:00
Lukas Matena
9dc7b70084 Merge branch 'master_27x' 2024-03-27 16:37:47 +01:00
David Kocik
f624c55f6f Store PrusaLink passwords in wxsecretstore 2024-03-25 10:22:30 +01:00
YuSanka
17f628fe52 Fixed a crash on loading of configuration with selected SLA printer.
Note: In this case PresetBundle::extruder_filaments wasn't initialized.

Related to SPE-2136
2024-03-22 15:22:40 +01:00
Lukas Matena
c0aba8e2ca Add the default/custom switch into project settings 2024-03-20 14:41:26 +01:00
Lukas Matena
e1b2bd4155 WipeTowerDialog now uses filament_purging_multiplier 2024-03-20 14:41:26 +01:00
Lukas Matena
0988bf2998 Removed some of the new parameters 2024-03-20 14:41:26 +01:00
Lukas Matena
8345a82b1c Remove wiping_volumes_extruders 2024-03-20 14:41:26 +01:00
Lukas Matena
1f87c498cd Merge branch 'master_27x' 2024-02-20 23:01:02 +01:00
tamasmeszaros
d51eab637f Prevent crash when importing config bundle 2024-02-05 16:59:09 +01:00
YuSanka
ef3493d7ea WIP: SLA material overrides (UI part) 2024-02-05 16:59:08 +01:00
tamasmeszaros
bffa3f8578 Get rid of in-source boost::nowide. Use upstream instead 2023-12-18 12:10:37 +01:00
YuSanka
0a1e4758a1 Fix for #11727 : 2.7.0-rc2 Import ConfigBundle not pulling in all physical printers 2023-11-23 15:48:04 +01:00
YuSanka
0e1a0e856f Fix for SPE-2020 : Notification about temporary installed preset doesn't appear anymore
Description of bug:
During fixing of SPE-1845 there was made changes with 7280b2a0 commit.
But those changes destroyed a initial behavior. All presets are selected correctly now,
but user doesn't receive a notification about temporary installed presets, if any was.
2023-11-16 15:11:41 +01:00
tamasmeszaros
ce98eede5e Follow up fixes to build 2023-10-26 12:53:29 +02:00
YuSanka
3bb4aaec5a PresetBundle: Added update of aliases maps after configuration loading,
and not only after loading system presets.

Note: Misses update was related to SPE-1947 : Crash when change Print settings_IS XL config bundle
2023-10-09 11:10:52 +02:00
YuSanka
a451f441b8 Fix for #11390 - PrusaSlicer crashes when loading Formfutura EasyFil PLA filament via Configuration Wizard 2023-10-02 16:52:05 +02:00
enricoturri1966
53adc68717 Tech ENABLE_BINARIZED_GCODE set as default 2023-09-05 12:17:47 +02:00
Vojtech Bubnik
8dad25efc4 Merge branch 'master' into master_262 2023-09-04 14:44:32 +02:00
ps_copyright
f32859c302 final copyright headers 2023-09-01 14:49:07 +02:00
Vojtech Bubnik
c01c863d8b Merge branch 'master' into master_262 2023-08-31 17:16:20 +02:00
YuSanka
7280b2a0fb Fix for SPE-1845 Incorrectly imported filament profiles from 3MF or configuration ini.
+ Fix for SPE-1848 Crash on switch from MM printer to SM, when non-first filament is modified
2023-08-31 14:30:14 +02:00
enricoturri1966
d9d771c268 Merge branch 'master' of https://github.com/Prusa-Development/PrusaSlicerPrivate into et_spe1784_binary_gcode 2023-08-14 09:55:45 +02:00
enricoturri1966
8e391d00da Changes required by update of libbgcode library interface 2023-08-14 09:38:22 +02:00
enricoturri1966
eb8d01888d Added import of config from binary gcode files 2023-08-04 12:35:40 +02:00
YuSanka
bd43118148 Fix of Asserts and incompatible filament selection, when hide/show template filaments (SPE-1786) 2023-07-31 13:28:26 +02:00
Oleksandra Yushchenko
9e4859ebbf
Modification of extruders filaments for support XL multitool (#36)
* Fix for SPE-1659 : Wrong filaments update, when templates are allowed/suppressed

* Per Extruder Filaments (related to SPE 1599)

* Implemented compatibility for each extruder separately
* Update of the filaments compatibility is extracted to separate function update_filaments_compatible()
* Fixed synchronization of config.ini with the current selections, when preset is changed from sidebar.

* Filament Settings Tab improvements:
* Added extruder combobox to select active extruder
* PresetCombobox is updated in respect to compatibility for active extruder
* For MM printer: Cog icon near the filament will switch to Filament Settings for selected filament

* Bug fixing for https://dev.prusa3d.com/browse/SPE-1599

* Next round of bugfixing for https://dev.prusa3d.com/browse/SPE-1599

* Fixed crashes from https://dev.prusa3d.com/browse/SPE-1599
+ code refactoring for Tab:save_preset()
2023-05-11 12:17:59 +02:00
David Kocik
dae9538eaf followup of af0e312542dd7ef98ea7957611f7fe9abe1a1fb4 - reverted wrong exception catching. 2023-01-20 09:51:40 +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
a15ad698d7 download profile bundles in zip archive 2023-01-18 11:10:24 +01:00
David Kocik
72540232c8 Template filaments bundle with filament profiles available for all printers
Profiles are ment to be adjusted and saved as user profile.
Selectable in wizard under (Templates).
Installed automatically even when profile with same alias is selected.
Special category in combo boxes.
no_templates option for disabling this.
2023-01-18 11:10:24 +01:00
YuSanka
84f651f85d DiffDialog: Save preset
* Fixed a crash after save the preset with existing name
* Added update of the PresetComboBoxes on SettingsTabs and Sidebar
* Some code refactoring
2022-09-16 17:25:00 +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
enricoturri1966
0063734e78 Tech ENABLE_COPY_CUSTOM_BED_MODEL_AND_TEXTURE set as default 2022-07-28 08:33:46 +02:00
enricoturri1966
e8753ee8cd Tech ENABLE_COPY_CUSTOM_BED_MODEL_AND_TEXTURE - 1st installment - Copies custom bed texture and model files to 'data_dir()\printer' folder, if needed, and updates the printer config accordingly
Fixed conflicts after rebase with master
2022-05-30 11:28:54 +02:00
Lukas Matena
96a6c8538f Some refactoring and fixes based on static source code analysis 2022-03-31 16:33:52 +02:00
Vojtech Bubnik
93c4b941b5 Importing newer configuration data: Fixed compiler warning,
improved error reporting when deleting old cache and vendors directory.
2021-12-16 17:51:40 +01:00
Vojtech Bubnik
2dc461719f Importing newer config when starting the application:
Cache directory is newly deleted before it is imported from the newer
config location.

Linux specific: When asking for certificate directory, perform import
of configs first.
2021-12-15 16:09:22 +01:00
Vojtech Bubnik
56d50d7707 Delete existing vendors before importing newer vendors, as the existing
vendors may not be referenced by newer PrusaSlicer.ini imported.
2021-12-15 13:43:37 +01:00
David Kocik
a771519b9f Fix of #7169 Check if material or filament profile is_compatible before selecting it when it should be selected as first selected profile in wizard. 2021-11-03 11:37:06 +01:00
David Kocik
ca8f7fbf80 Copying from other config folders:
Find if there is more recent config in other folders (alpha / beta / release).
If yes, ask user, make snapshot, copy files.
if there is no current config, ask user and copy recent one.
2021-11-02 10:51:45 +01:00
Vojtech Bubnik
66d4462724 Fixed spelling error preffered / preferred 2021-09-30 14:44:11 +02:00
David Kocik
5045e07f78 Find name of preset from alias before selecting preferred preset. 2021-09-30 14:42:30 +02:00
Vojtech Bubnik
6158347379 Follow-up to #6817
1) Activate installed filament or SLA material profile after update_compatible(),
so that the compatiblity and visibility flags of presets are updated.
2) Only activate the first newly installed filament / SLA material profile
if the active printer did not change. This also means that if no filament
profile was active before Wizard was open or it became incompatible with
the newly installed Printer profile, the default filament profile assigned
to the activated Printer is activated preferably, which may or may not
be one of the newly installed filament profiles.
2021-09-01 14:37:20 +02:00
YuSanka
20453f412b Check unsaved changes before opening of the ConfigWizard 2021-09-01 13:48:40 +02:00
Merill
64fc2eb425
error when loading configbundle (#6822)
a little typo
2021-08-23 08:09:25 +02:00