214 Commits

Author SHA1 Message Date
YuSanka
78f4a6febb Fix for #11991 - Filament selections do not appear on custom printer
(SPE-2094)
2024-02-07 10:00:36 +01:00
YuSanka
b0673265eb ConfigWizard : Fixed get_preferred_printer_technology() function.
This bug was caused a wrong selection of the new added printer,
when some new vendor other then PrusaSlicer is added,
but PrusaSlicer has installed SLA printers.
(see SPE-2056)
2024-01-18 18:49:32 +01:00
YuSanka
141ae5a916 ConfigWizard : Fixed a crash, when some of material pages doesn't exist 2024-01-05 15:10:01 +01:00
YuSanka
b3a2bac980 Fix for SPE-2051 : ConfigWizard: Wrong update of filaments after selection new printer and press "Finish" 2023-11-22 09:38:33 +01:00
YuSanka
3d438ea93a Follow-up bc5b24e3ad : ConfigWizard: Fixed compatible printer counter for materials 2023-11-16 15:11:58 +01:00
YuSanka
8d1165d6ed SpinInputDouble
+ Update font size for application in respect to the display size
2023-10-18 16:32:12 +02:00
YuSanka
168dadc0fa OSX specific: Set window variant for regular buttons to correct rendering with big font 2023-10-18 16:32:12 +02:00
YuSanka
1f0b834a70 WIP (NewUI with fonts): Next improvements for fonts.
* AboutDialog, SysInfoDialog, ConfigSnapshotDialog, ConfigWizard: Set correct/scaled font.
* PreferencesDialog:
  * Use SpinInput instead of wxSpinCtrl.
  * Added layout of the activated tab.
  * Remove "suppress_round_corners" option and ignore its value for whole application.
+ Plater: fixed obj_list() function to check existence of the control to avoid crash on recreate_GUI().
+ GLCanvas3D: Increased delta value between current and new values of the toolbar icon scale.
2023-10-18 16:32:12 +02:00
YuSanka
bc5b24e3ad ConfigWizard: Fix performance
Call update_materials() only when it's reasonable
+ Improve update_materials(). Code refactoring to fill all variable during one loop trough filaments

+ TaskTimer: Extended output
2023-09-05 14:42:17 +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
014953c864 Merge branch 'et_spe_1784_binary_gcode' into master_262 2023-08-30 12:52:02 +02:00
Vojtech Bubnik
015a24133a Fixed some compilation warnings. 2023-08-30 12:51:35 +02:00
YuSanka
0c82f38950 ConfigWizard: Downloads page: Info line is changed
+ Linux and OSX specific: Fixed BG color for the HTML_widget on Materials pages and InfoDialogs
2023-08-17 14:45:46 +02:00
David Kocik
ad5d239426 Config wizard: sort names in lower case.
Other vendors page and Filaments page
2023-06-02 12:38:56 +02:00
David Kocik
80b88c542a Enable loading profiles in config wizard from vendor folder.
This is for 3rd party profiles that are not downloaded from our servers.
#10606
2023-05-26 09:53:08 +02:00
David Kocik
a06a619228 Fix of boost format error.
issue #10556
2023-05-15 10:43:46 +02:00
YuSanka
683933176b GUI_App::run_wizard : Deallocate a memory after close ConfigWizard.
+ Added wait cursor when ConfigWizard is created to inform user about activity
2023-05-11 17:18:11 +02:00
David Kocik
2e3b5c2bbc Fix of backward compability issue
Added recommended version checks to ConfigWizard and PresetUpdater
2023-05-10 11:06:30 +02:00
David Kocik
fb2448fbe3 Fix of missing AppConfig::has_section before get_section in ConfigWizard. 2023-04-19 13:10:39 +02:00
YuSanka
102d3e0d2c Localization:
* Fixed phrases
* Updated POT
* New POT is merged with community POs
2023-04-03 11:32:50 +02:00
YuSanka
18e56c3d53 Localization: Fixes for some phrases
+ Added/Fixed comments where it's needed
2023-03-23 22:55:38 +01:00
YuSanka
f9de995f9e Remove '_utf8' makro.
(Initially, it was used because of using of boost::format for localized lines. But now It's better to use format and formal_wxstr functions)

+ Fixed missed marks for localization
+ Added missed filed to localization to the list.txt
2023-03-23 22:55:38 +01:00
YuSanka
19f2a1d9e9 Unified usage of localization macros in slic3r/libslic3r 2023-03-23 22:55:38 +01:00
YuSanka
b767c76adb Localization: Updated POT 2023-02-27 10:07:45 +01:00
David Kocik
e463979592 Refactoring of dialog text 2023-02-21 16:21:23 +01:00
David Kocik
4e32b7ea5a Fix of Config wizard "no filaments selected for a printer" 2023-02-21 10:35:26 +01:00
David Kocik
e4ff09a59f divide desktop integration and downloader desktop integration 2023-02-17 09:30:09 +01:00
David Kocik
80c92d1331 missing includes and typos 2023-02-17 09:30:09 +01:00
David Kocik
41ab733cd8 Refactoring of DownloaderUtils (remove including ConfigWizard_private.hpp)) 2023-02-17 09:30:09 +01:00
David Kocik
fac44c8c5e Fix of crash in config wizard
Missing has_section() before get_section()
2023-02-16 13:22:09 +01:00
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
d58c8b1bbd Refactor of ConfigDef / ConfigOptionDef / PrintConfigDef /
Field and other UI elements to handle enums in a generic way.
Needs a review by @yusanka
2023-02-09 09:08:58 +01:00
David Kocik
11b660b344 downloader re-registration dialog 2023-02-03 15:52:18 +01:00
David Kocik
d69fff71d9 Downloader path checks 2023-01-26 16:42:15 +01:00
David Kocik
c4bd071295 typo in text 2023-01-25 16:25:42 +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
Lukas Matena
1589d89ca2 Fixes for template filament profiles:
- do not show "Template Filaments" in the list of vendors in wizard

- slight refactoring

- typos
2023-01-18 11:10:24 +01:00
Lukas Matena
548205ffd8 Fixes for downloading bundles and resources:
- bed_texture/model may be empty. In that case, do not check for the existence of the file.

- In case a vendor is new (=not in resources), it would have crashed when installing any printer from such vendor. The problem was that `install_bundles_rsrc` assumed that the INI is in resources.

- several const keywords added

- small refactoring

- removed commented-out code in AppConfig::profile_archive_url(): the url shall not be customizable
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
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
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
82b720eba1 Config Wizard: Added check of the profile name for the custom printer.
#SPE-1344
2022-12-22 13:29:42 +01:00
David Kocik
d9e7195b61 Build volume as parameter in config wizard custom printer 2022-12-08 10:15:29 +01: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
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
enricoturri1966
0063734e78 Tech ENABLE_COPY_CUSTOM_BED_MODEL_AND_TEXTURE set as default 2022-07-28 08:33:46 +02:00
Lukas Matena
6c0db58628 Fixing conflicts part 4:
See previous commit. This one applies changes from master_250
to the files mentioned
2022-06-29 16:43:29 +02:00