Commit Graph

73 Commits

Author SHA1 Message Date
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
bubnikv
8e18ea489c WIP: SLA support "Generate points" and "Apply Changes" will reslice
just the selected object.
Added "Host upload active" check on background processing state.
Documented requirements on "update_background_process" to
control the upcoming single "Slice Now" / "Export" button.
2019-02-21 11:40:56 +01:00
bubnikv
8263fe194b Fix of OcctoPrint using Post Processor does not work #1731 2019-01-29 08:57:00 +01:00
bubnikv
fae0b19b40 Replaced all wxString.ToStdString() with wxString.ToUTF8().data()
to be sure that the strings are correctly converted to UTF8.
2019-01-03 14:34:53 +01:00
Vojtech Kral
c92da95592 Fix: Schedule SLA print uploads too (the same way as FFF) 2018-12-20 16:37:13 +01:00
bubnikv
eb89a67a60 Fix of SPE-691 Slicer crash after extruder change
Added synchronization of GCodePreviewData between the front end / back end
(GCodePreview data is only used if PrintStep psGCodeExport is finished).
Added reset of GCodePreviewData on Print::apply() to conserve RAM.
2018-12-19 14:47:16 +01:00
Vojtech Kral
0fc0ba119d OctoPrint basics working, niceties to-do 2018-12-17 17:14:00 +01:00
tamasmeszaros
905d015309 Fix for SPE-688 (crash when saving zip to low disk space) 2018-12-13 18:49:08 +01:00
bubnikv
219e3514dd Print time in output G-code: fill in the time if the file export
dialog is open after the slicing finished.
2018-12-12 15:09:20 +01:00
Vojtech Kral
63cc46e8fa OctoPrint WIP: Fix build 2018-12-12 13:56:53 +01:00