Commit Graph

19 Commits

Author SHA1 Message Date
Vojtech Bubnik
f58ee46687 WIP Refactoring of exceptions:
1) All slicer's exceptions are now derived from Slic3r::Exception.
2) New exceptions are defined for slicing errors.
3) Exceptions are propagated to the Plater to show.
It remains to modify the slicing back-end to throw the new SlicingError
exceptions instead of std::runtime_error and to show the other exceptions
by a message dialog instead of a notification.
2020-09-14 18:03:22 +02:00
Vojtech Bubnik
1ee729d9ac Added networking support for SL1 Digest authorization.
Renamed login/password/authorization_type to printhost_user/printhost_password/printhost_authorization_type.
Added initialization of physical printer preset with default values.
2020-09-08 15:31:10 +02:00
Vojtech Bubnik
dc7db7b4c1 Replaced boost::filesystem::canonical() with boost::filesystem::absolute(),
as canonical() is broken on Windows (reparse points aka symbolic links
are not processed correctly).

Fixes
https://github.com/prusa3d/PrusaSlicer/issues/732
https://github.com/prusa3d/PrusaSlicer/issues/3956
https://github.com/prusa3d/PrusaSlicer/issues/4557
2020-09-01 14:15:37 +02:00
enricoturri1966
33a290a11e GCodeViewer -> Show printbed model and texture for system printers detected when loading gcode files produced by PrusaSlicer 2020-08-21 10:59:07 +02:00
YuSanka
ceaeb26da8 Code refactoring: AppConfig.cpp(hpp) are removed from the GUI to libslic3r 2020-08-08 17:03:20 +02:00
YuSanka
e7f21d1e0e Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-08-06 17:02:48 +02:00
YuSanka
613b80d86f Improved InfoMsg for a delete preset:
* Now we show a list of printers name with selected preset

+ Added a edit_button for the editing of the physical printer fro the Settings Tab
+ Show whole list of the loaded presets with "Print host upload"
2020-07-28 12:43:26 +02:00
YuSanka
6018a3ef20 PhysicalPrinterCollection: Use select_preset() instead of select_preset_by_name()
+ changed signature for select_preset()
2020-07-23 12:17:18 +02:00
YuSanka
d0ff4e3a19 PhysicalPrinter : Implemented synchronizations from user printer profiles with "Print Host upload" information to the new physical printers 2020-07-22 09:24:12 +02:00
YuSanka
ffca314c3e First try to convert a user printer profiles to the physical printers 2020-07-20 16:27:39 +02:00
YuSanka
23b2e72526 PhysicalPrinters improvements:
- Added possibility to correct delete presets considering with the physical printers
- Smart switching to the printer preset if physical printer was selected
2020-07-20 14:56:09 +02:00
YuSanka
103ae14dfc Update for PresetComboBoxes
All "Printer-PresetName" pairs are like a separated items now

+ some code refactoring for PresetComboBoxes::update()
2020-07-17 14:32:38 +02:00
YuSanka
7f54cf4a31 PhysicalPrinterDialog is completed 2020-07-14 15:34:08 +02:00
YuSanka
7fdc3ccfc1 PhysicalPrinter improvements:
* implemented PresetForPrinter class
2020-06-30 14:12:47 +02:00
YuSanka
e6832d227c PhysicalPrinter : Next improvements:
* Create full printer name as a PrinterName + RelatedPresetName
 * Added printer model to the PhysicalPrinter.config => Enable to select just between presets with same printer model
 * When physical printer is selected and create new preset ask if should we use this preset for selected ph_printer or just to switch for it
2020-06-26 10:00:03 +02:00
YuSanka
eed19de172 PhysicalPrinter. PhysicalPrinterDialog improvements 2020-06-25 12:58:59 +02:00
YuSanka
6761293fa8 Physical printers: Delete selected printer
+ Added context menu for the cog-button near the printer presets
2020-06-24 12:28:00 +02:00
YuSanka
114d9e55bf Physical Printers.
- save/load printers
 - consistency between selection on Tab and Plater
2020-06-24 08:50:01 +02:00
YuSanka
a1eeb569db Preset and PresetBundle are moved to the _libslic3r_ folder 2020-06-16 17:03:06 +02:00