Commit Graph

82 Commits

Author SHA1 Message Date
Lukas Matena
edcaab8b0a Includes cleanup:
GUI_App.hpp      (should not include) MainFrame.hpp
MainFrame.hpp    Plater.hpp
ModelArrange.hpp Model.hpp
Slicing.hpp      PrintConfig.hpp
FillBase.hpp     PrintConfig.hpp
GUI_App.hpp      PrintConfig.hpp
OptionsGroup.hpp GUI_App.hpp
2020-05-27 14:01:47 +02:00
tamasmeszaros
4e4efeef31 Initial version of sl1 import with sla::Raster refactor. 2020-04-23 19:05:32 +02:00
enricoturri1966
16e1cd5d19 ENABLE_THUMBNAIL_GENERATOR set as default 2020-03-25 10:15:02 +01:00
Lukas Matena
ac501bdf8b Merge branch 'master' into dev 2020-03-24 21:51:05 +01:00
bubnikv
6c75c795df Saving one enumeration of external drives when deciding whether
to verify the file saved or not.
2020-03-12 12:43:09 +01:00
Lukas Matena
69adcf5005 Fixed encoding in error messages sent from the backend 2020-03-06 16:06:21 +01:00
bubnikv
f2fce0f262 Refactoring of RemovableDriveManager:
1) On Windows and Linux, the device enumeration now runs at a background
   thread, while it ran on the UI thread on idle, which may have been
   blocking on some rare Windows setups, see GH #3515 #3733 #3746 #3766
2) On OSX, the device enumeration now relies on OS callback, no
   polling is required.
3) Refactored for cleaner interface.
2020-03-06 15:10:58 +01:00
Lukas Matena
18fd7fa45f Fixing build against wxWidgets 3.0
The wxString saga continues. wxWidgets 3.0 don't have the wxString::FromUTF8(const std::string&) overload, we must use the GUI::from_u8 helper
Also wxWidgets 3.0 don't allow to disable wxString->const char* conversion, so calling show_info(wxWindow*, wxString, const char*) was ambiguous
Several includes moved around
2020-03-04 10:34:59 +01:00
Lukas Matena
0e734239ba Include cleanup in several files
src/slic3r/Config/Snapshot.cpp
src/slic3r/Config/Snapshot.hpp
src/slic3r/Config/Version.cpp
src/slic3r/Config/Version.hpp
src/slic3r/GUI/2DBed.cpp
src/slic3r/GUI/3DBed.cpp
src/slic3r/GUI/3DScene.cpp
src/slic3r/GUI/3DScene.hpp
src/slic3r/GUI/AboutDialog.cpp
src/slic3r/GUI/AboutDialog.hpp
src/slic3r/GUI/AppConfig.cpp
src/slic3r/GUI/BackgroundSlicingProcess.cpp
src/slic3r/GUI/BackgroundSlicingProcess.hpp
2020-03-03 15:47:02 +01:00
Lukas Matena
d58b5617cc Fixing wxString::Format encoding mismatches (part 1) 2020-03-03 10:54:17 +01:00
David Kocik
feaf2f1c5e copy file result enum 2020-02-27 10:44:25 +01:00
Lukas Matena
1af43f7b9c Fixed few more encoding issues
All uncovered after disabling unsafe wxString conversions
2020-02-21 12:53:51 +01:00
David Kocik
752ce53d60 refactoring of errors at copying g-code to target destination 2020-02-21 11:17:48 +01:00
Lukas Matena
4d2f77dc5f Fixed typo in an error message 2020-02-21 10:05:03 +01:00
David Kocik
266ba38614 bug fix at check_copy() while exporting to sd/usb 2020-02-20 10:35:53 +01:00
David Kocik
f91b1c96d5 Throwing exceptions with text after copy file check failure and renaming from .tmp failure 2020-01-21 13:39:27 +01:00
bubnikv
f65a532cbb Fixed regression in placement of Color Change event at the correct layer. 2020-01-14 17:35:42 +01:00
David Kocik
9c67929cf4 copy check only if path is on removable device 2019-12-18 14:09:16 +01:00
YuSanka
44d00f6fca Added function to update of custom_gcode_per_print_z in Model from configuration
considering "colorprint_heights" option.

Changed thumb_up/down icons to better preview (feedback from #3256)

Commented some uncertain code
2019-12-17 14:16:38 +01:00
YuSanka
ee69087873 Code refactoring for Color change implementation 2019-12-17 08:37:50 +01:00
Enrico Turri
c0dd946e07 ENABLE_THUMBNAIL_GENERATOR -> render printbed into thumbnails 2019-11-28 14:18:24 +01:00
YuSanka
2a60846d46 Merge remote-tracking branch 'origin/master' into ys_color_print_extension 2019-11-28 09:01:14 +01:00
Enrico Turri
fe9448189e Transparent background for thumbnails saved into gcode and sl1 files 2019-11-27 13:37:37 +01:00
Enrico Turri
848827494a ENABLE_THUMBNAIL_GENERATOR -> Thumbnails generated using a callback function 2019-11-22 12:39:03 +01:00
YuSanka
d72e7ce245 ExtruderSequenceDialog :
Fixed layouts after the second opening of the dialog.
 (Removing any extruder from the sequence does not cause an incorrect layout)
Validation of entered values added
 (0 is not a valid value)
2019-11-16 02:12:37 +01:00
YuSanka
46bc8cbcfc Delete color changes for unused extruders 2019-11-15 16:36:29 +01:00
tamasmeszaros
b9454e28a4 Follow up, unify boost::thread usage. 2019-11-07 12:58:18 +01:00
Enrico Turri
2477b7c018 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_plater_thumbnail 2019-10-29 14:47:59 +01:00
Lukas Matena
13001e36d2 Fixed several warnings 2019-10-29 10:40:34 +01:00
Enrico Turri
c0efcd46c6 ENABLE_THUMBNAIL_GENERATOR -> Allow for multiple thumbnails into gcode and sl1 files 2019-10-25 13:59:13 +02:00
Enrico Turri
f9ce06effd ENABLE_THUMBNAIL_GENERATOR -> Code cleanup 2019-10-24 10:25:40 +02:00
Enrico Turri
246790b3b9 ENABLE_THUMBNAIL_GENERATOR -> Add file Metadata/thumbnail.png into 3mf output 2019-10-24 09:20:33 +02:00
Enrico Turri
6cc11828ab ENABLE_THUMBNAIL_GENERATOR -> Add file thumbnail/thumbnail.png into sla output 2019-10-24 08:46:39 +02:00
tamasmeszaros
83a35683ed Zipper made available for modification after RasterWriter finishes. 2019-10-23 17:32:17 +02:00
Enrico Turri
5a3111528d ENABLE_THUMBNAIL_GENERATOR -> WIP: Added missing include and preparation for adding thumbnail to exported sla archive files 2019-10-23 16:01:23 +02:00
Enrico Turri
5cfcfb62db ENABLE_THUMBNAIL_GENERATOR -> WIP: Refactoring and preparation for adding thumbnails to exported gcode and 3mf files 2019-10-23 13:31:24 +02:00
bubnikv
4b1cd6c08c Fixing stack overflow issues when slicing in SLA mode:
The BackgroundSlicingProcess thread will now have the same stack size
allocated as the TBB worker threads:
4MB on 64bit systems and 2MB on 32bit systems.
2019-08-30 17:57:53 +02:00
Lukas Matena
8ba48f361a Added handling of std::bad_alloc so the user gets more comprehensible error message
Call to boost::nowide::nowide_filesystem() was made Windows only
2019-08-08 16:55:25 +02:00
bubnikv
6e0ed35caa Extended the error message when the G-code cannot be copied to the SD card 2019-06-18 08:54:28 +02:00
bubnikv
4b6383a512 Changed the G-code export and send to OctoPrint GUI code
to store the G-code next to the project file if it exists,
and to process the project name with the PlaceholderParser.
2019-05-17 16:27:00 +02:00
bubnikv
23949b3138 Fixed missing conversion from wxString to std::string 2019-05-09 19:58:16 +02:00
bubnikv
75bbf04c0b Some more localization fixes. 2019-05-09 15:44:53 +02:00
bubnikv
0e9421e986 Fixed localization of status bar updates during the slicing process. 2019-05-09 14:59:00 +02:00
YuSanka
03dba475e8 Localization improvements 2019-05-04 02:07:07 +02:00
bubnikv
31edb6082e Harmonized the application naming. 2019-04-15 16:14:19 +02:00
Vojtech Kral
c8cca95e25 SLA export: Finalize filename when exporting & uploading,
set correct project name when uploading
2019-04-04 13:10:11 +02:00
tamasmeszaros
d85c74b888 Remove wxWidgets zipper. 2019-03-15 12:34:58 +01:00
tamasmeszaros
282165ad92 Error handling and more comments for Zipper. 2019-03-15 12:16:05 +01:00
tamasmeszaros
d1432878b2 Miniz zipping seems to work. 2019-03-15 12:15:24 +01:00
bubnikv
8eeb549134 Renamed the SLA output file to ".sl1" 2019-02-25 15:01:39 +01:00