Commit Graph

37 Commits

Author SHA1 Message Date
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
65276e129e Fixing negative status values in console output 2019-04-01 13:59:39 +02:00
bubnikv
19bfc2e179 Enabled slicing of SLA from the command line. 2019-03-28 11:24:21 +01:00
bubnikv
1d4cdb016f Command line - improved error handling 2019-03-17 14:35:54 +01:00
bubnikv
4bca550659 Fixed command line slicing due to some missing config keys 2019-03-14 18:47:26 +01:00
bubnikv
63f05934aa CLI:
Removed the --help-options parameter, left the --help-fff and --help-sla
Added check for empty print.
2019-03-13 19:49:14 +01:00
bubnikv
9bc8ef9771 Help for the FFF / SLA command line parameters.
Removed the cli parameter from most options as it is derived
from the option key. Options without CLI parameter are now marked
with cli = nocli.
2019-03-13 19:17:26 +01:00
bubnikv
322d2a1fab Reworked the command line interface based on the current state
of the upstream.
Thanks @alexrj, @lordofhyphens for the original code of slic3r.cpp
2019-03-13 15:44:50 +01:00
Vojtech Kral
d9ca237d46 Fix usage of CallAfter vs modal dialogs in slic3r.cpp, fix #1778 2019-02-05 18:13:48 +01:00
bubnikv
cc06b9f06b Fixed an issue, where the output G-code file name was not always updated
from the current Model/ModelObjects.
Fixed a possible race condition in updating Print::m_placeholder_parser
with the proposed filename / filename base.
Improved documentation (source code comments).
2019-02-03 10:41:14 +01:00
Vojtech Kral
9f9ae433fa Fix gui decision logic to be the same as in 1.41 2019-01-10 15:21:48 +01:00
bubnikv
66ed02b4e5 Enable the GUI mode by default on OSX. 2019-01-09 11:57:59 +01:00
bubnikv
e57172a7bf Fixed a bug in the Win32 start wrapper (wrong number of parameters was passed for the GUI slic3r.exe).
Reworked command line processing for the GUI slic3r. Now the config is loaded first, then the model files (also the configs from AMF/3MF are applied), and lastly the free standing parameters are applied.
Fixed unescaping for command line parameters. The string parameters are now not unescaped, string vector parameters are unescaped only if enquoted.
Tab::load_current_preset() - disabled CallAfter for predictability. With CallAfter, it was difficult to call the method in sequence with other methods.
Fixed some missing ->Destroy() calls on dialogs created from MainFrame
Fixed some compiler warnings.
2019-01-09 10:43:17 +01:00
Vojtech Kral
f97b325274 Build: Fix install targets, add SLIC3R_FHS, check resource dir on GUI_App init
Fix #1515
2019-01-07 17:25:12 +01:00
bubnikv
ee77f2592b WIP: Command line slicing for SLA.
Removed some layer height editing bindings from Perl.
2018-12-11 13:16:09 +01:00
bubnikv
e99fa7d104 Implemented naming of the SLA export file based on the output file name
template.

Reworked naming of the plater exports to not use the output file name
template, but to derive the file name from the first printable object's name.

Fixed error handling: Reimpemented the Perl's "eval" blocks
as try / catch blocks.
2018-12-03 13:14:28 +01:00
bubnikv
91ac484405 Removed some obsolete Perl bindings.
Removed libslic3r from the default include paths for all modules but
libslic3r. Now headers from libslic3r need to be included with an
explicit path (libslic3r/libslic3r.h etc)
Split the localization macros into I18N.{cpp,h}
2018-11-26 14:41:58 +01:00
Vojtech Kral
6f3e386e85 Cutting 2018-11-18 21:20:47 +01:00
bubnikv
d79e2d8fa6 Separated Print / PrintObject into PrintBase.cpp/h to support SLAPrint 2018-11-08 14:23:17 +01:00
bubnikv
7c008a32ab Fixes to storing and loading configs from AMF/3MF. 2018-11-07 14:57:50 +01:00
bubnikv
1ba24da0c4 Slic3r was split to a Slic3r.dll / Slic3r.exe / Slic3r-console.exe /
Slic3r-noconsole.exe on Windows.
2018-10-26 11:57:52 +02:00
Vojtech Kral
f6d6bba121 Fix resources dir location, add wxWidgets to Windows deps build script 2018-10-12 11:37:05 +02:00
YuSanka
582a942c47 Moved functions and variables (for fonts and labels color) to GUI_App
+ corrected Sidebar layouts
+ deleted get_preset_bundle
+ actions with tabs_list moved to GUI_App
2018-10-01 16:31:36 +02:00
bubnikv
5c26e5d70d Updated AMF/3MF import to pass configuration into a DynamicPrintConfig
instead of PresetBundle.
2018-09-25 11:53:05 +02:00
bubnikv
d1e5e3569e Resurrected --dont-arrange command line parameter,
fixed command line print parameter validation.
2018-09-25 09:55:15 +02:00
bubnikv
6a0b43f909 Added various manifests,
added auto generation of includes and manifests from version and build
variables,
resurrected SLIC3R_LOGLEVEL env var.
2018-09-24 11:53:05 +02:00
bubnikv
75de8e47be Moved the remaining Perl dependencies to xs/CMakeLists.txt 2018-09-21 19:37:35 +02:00
bubnikv
e844e3cbdc Yet another fix of platform specific paths to resources. 2018-09-21 17:16:44 +02:00
bubnikv
2f6ccb940d Modified resources directory in Linux installation. 2018-09-21 16:38:42 +02:00
bubnikv
48844e5d5d Fixed path to resources on OSX. 2018-09-21 16:10:16 +02:00
bubnikv
9898062b2f Paths to resources / icons / images are set. 2018-09-21 11:40:32 +02:00
bubnikv
6ae18575d4 Merged Sasa's GUI WIP 2018-09-21 09:09:05 +02:00
bubnikv
4541afbbc8 Added C++ command line processing, thanks @alexrj and @loh 2018-09-20 16:48:13 +02:00
YuSanka
504069fd1d Added GUI_App and MainFrame 2018-09-20 08:40:22 +02:00
bubnikv
1260b8deb3 WIP: Moved sources int src/, separated most of the source code from Perl.
The XS was left only for the unit / integration tests, and it links
libslic3r only. No wxWidgets are allowed to be used from Perl starting
from now.
2018-09-19 11:02:24 +02:00
bubnikv
417b0f20eb Replaced CONFESS with throw std::exception in libslic3r, so now
libslic3r should be compilable without Perl.
2018-09-18 10:09:58 +02:00
bubnikv
cb1bc0aaf8 CMake build system, initial placeholder for slic3r C binary. 2017-08-18 13:32:35 +02:00