Commit Graph

174 Commits

Author SHA1 Message Date
bubnikv
5b1c1d5922 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
bubnikv
8d1b854acb 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
Enrico Turri
b099d5c05e Removal of wxNotebook from plater set as default 2019-01-03 12:59:06 +01:00
Vojtech Kral
2db0906071 Fix fs::path <-> wxString conversions 2019-01-02 15:53:52 +01:00
bubnikv
71650a7ecf Fixed the "Ctrl-R" hotkey for Reslice. 2018-12-20 22:50:30 +01:00
Vojtech Kral
f318536556 Printhost: Make queue window non-modal, fix upload start progress 2018-12-20 16:43:17 +01:00
YuSanka
c40b8aba24 Fixed recreate_GUI() after language change. 2018-12-19 17:38:41 +01:00
YuSanka
661086554a Added "Keyboard Shortcuts" dialog 2018-12-19 13:06:46 +01:00
Vojtech Kral
862217a6b3 OctoPrint basics working, niceties to-do 2018-12-17 17:14:00 +01:00
Enrico Turri
cdc654540b Added accelerator table on Windows to let numpad work with CTRL key as required by window menu shortcuts 2018-12-17 14:40:54 +01:00
Vojtech Kral
2350fb62b9 WIP OctoPrint integration 2018-12-12 13:17:01 +01:00
YuSanka
abbc451f80 Fixed wrong importing of the 3mf with modifier/part which is contain settings 2018-12-10 10:42:55 +01:00
bubnikv
fbbfcf70d3 File wildcards now include an extension of a file provided
as a default. This is useful for the G-code or SLA export,
as one may chose his own file extension for the export file.
2018-12-06 17:32:49 +01:00
bubnikv
79986188a7 Removed the "Quick Slice" menu items from the main menu,
a little bit of code cleaning / refactoring.
2018-12-06 14:47:53 +01:00
Enrico Turri
8d78b23c78 Removal of tabs from plater -> Fixed buttons update when switching between views using keyboard 2018-12-06 12:37:39 +01:00
Enrico Turri
428800ad1e 1st installment of removal of tabs from plater 2018-12-04 13:55:25 +01:00
YuSanka
129c35b714 One more fix to updates of the "Slice now" and "Export G-code buttons"
- "Sliced now" button is hidden when "Background process" is selected
- deleted extra enable_buttons() function call
2018-12-04 12:30:47 +01:00
bubnikv
160aa6c78c Fixed updates of the "Slice now" and "Export G-code buttons"
based on the object inside / outside the work space condition.

Removed TabIface.cpp/hpp Perl bindings.

Fixed reset of the status bar / cancel button after the last object
is removed from the plater.
2018-12-04 11:14:39 +01:00
Enrico Turri
fe8e431356 New menu layout set as default 2018-12-03 15:06:02 +01:00
bubnikv
d46d0dc365 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
a378bb7bed 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
Enrico Turri
e247b532fb Added Edit -> Delete all menu item 2018-11-22 11:31:53 +01:00
Enrico Turri
a27e238ced Use Del as shortcut for Edit/Delete selected 2018-11-21 16:00:20 +01:00
Enrico Turri
3e939a7496 Added menu Edit -> Delete selected 2018-11-21 15:47:41 +01:00
Enrico Turri
681beeadf6 Added menu Edit -> Select all 2018-11-21 15:28:35 +01:00
Enrico Turri
302b37dcd1 Adjusted main shortcuts 2018-11-21 10:21:12 +01:00
YuSanka
398f15d546 Some code rebase 2018-11-19 14:05:29 +01:00
YuSanka
703f367e69 Fixed preset updating 2018-11-19 14:05:29 +01:00
YuSanka
ae4f116b46 Added the context to the TabPrintSLA 2018-11-19 14:05:29 +01:00
YuSanka
2fa055903f "SLA Print Settings" implementation (start) 2018-11-19 14:05:29 +01:00
Vojtech Kral
6629d75853 Cutting 2018-11-18 21:20:47 +01:00
Enrico Turri
417783a469 View menu items enabled only when Plater is the current active tab 2018-11-16 12:31:06 +01:00
YuSanka
4de0f574fb Fixed wrong preset comboboxes updating on sidebar after preset changing on "Printer Settings" tab 2018-11-16 11:15:27 +01:00
Enrico Turri
21202b55b2 Extract only model or only config from 3mf 2018-11-16 09:26:41 +01:00
Enrico Turri
9bb04ff15a Modified menu for open/save/save as project (3mf) and import/export 2018-11-15 15:27:39 +01:00
Enrico Turri
e83e755e8b Fixed crash when dismissing file dialog for quick slice menu command 2018-11-15 12:21:09 +01:00
tamasmeszaros
90c38daeae trying to get the export dialog for zip files. 2018-11-12 18:09:47 +01:00
tamasmeszaros
a4e1ab2281 Getting rid of AppController. 2018-11-12 15:02:42 +01:00
bubnikv
041de161a9 Fixes to storing and loading configs from AMF/3MF. 2018-11-07 14:57:50 +01:00
YuSanka
7f08f460f1 Some code review 2018-10-31 12:58:35 +01:00
YuSanka
e3b4a7b206 Fixed incorrect m_wiping_dialog_button showing after appInit 2018-10-24 12:58:35 +02:00
Enrico Turri
8940209865 Fixed menu view accelerator keys 2018-10-24 10:46:18 +02:00
bubnikv
edc79cb922 Merge branch 'dev_native' into vb_dev_native_background_processing 2018-10-23 11:26:15 +02:00
Vojtech Kral
f6e6d9dc4a Fix Plater::priv::get_export_file() 2018-10-22 12:07:43 +02:00
Enrico Turri
126f0e5073 Added mirroring factors to .amf import/export 2018-10-22 11:45:03 +02:00
Enrico Turri
0af4de4faa New selection -> Split command 2018-10-19 15:27:19 +02:00
bubnikv
857863102d Merge branch 'dev_native' into vb_dev_native_background_processing 2018-10-18 18:03:17 +02:00
Vojtech Kral
d4371b6089 Refactor window position & size persistence
in a way that is hopefully robust wrt. platform quirks
2018-10-17 14:09:18 +02:00
Enrico Turri
2e274b5646 Plater -> View Menu 2018-10-17 12:59:58 +02:00
Enrico Turri
7d1828df05 Object context menu wip / Removed links to settings dialog from user interface / Fixed and unified append_menu_item() function / Fixed File->Open menu item / Fixed Window menu items / Added Plater menu 2018-10-17 12:17:25 +02:00
bubnikv
7ed2752b2b WIP: Reconstruction of background processing update timer,
added unique IDs to the Model / ModelObject / ModelVolume objects,
added a copy of Model hierarchy at the Print,
WIP: new Print::apply() method to update the Print's copy of Model,
to update the Print's PrintObjects, to update status of the Print and
PrintObjects, and to possibly stop the background processing.
2018-10-17 11:12:38 +02:00
Vojtech Kral
20e1087d97 Plater: Fix arrange 2018-10-11 13:22:36 +02:00
YuSanka
94da98c9c4 Ported on_extruders_change and filament_color_box_lmouse_down(like a lambda-f inside PresetComboBox) 2018-10-10 13:53:45 +02:00
YuSanka
085020a814 Ported show_preset_comboboxes function 2018-10-09 12:41:05 +02:00
YuSanka
9f1613bffb Merge remote-tracking branch 'origin/dev_native' into ys_dev_native 2018-10-09 08:30:48 +02:00
Vojtech Kral
1f926964ee WIP: Plater, build fixes 2018-10-08 17:41:37 +02:00
YuSanka
1006cd976e Fixed events OBJECT_SETTINGS_CHANGED_EVENT , OBJECT_REMOVE_EVENT and UPDATE_SCENE_EVENT
+ changed ctor of ObjList
+ deleted unusable code from Tab.cpp
2018-10-08 16:28:11 +02:00
YuSanka
42fd6bc7b5 Merge remote-tracking branch 'origin/dev_native' into ys_dev_native 2018-10-05 23:39:51 +02:00
YuSanka
ea30385fd0 Completed split of the GUI_ObjectParts 2018-10-05 23:29:15 +02:00
YuSanka
bcedd71e99 Start to Split GUI_ObjectParts:
+ created GUI_ObjectList & GUI_ObjectManipulation classes
2018-10-04 16:43:10 +02:00
Vojtech Kral
f31cf684cb Tab preset & value change events 2018-10-03 17:55:21 +02:00
YuSanka
8f6e3cc43b Temporary changes and code cleaning 2018-10-03 15:14:52 +02:00
YuSanka
40022861c8 Removed Localization to GUI_App
+ cleaned code from some global variables (App, AppConfig, PresetBundle, MainFrame, tab_panels..)
2018-10-02 13:30:59 +02:00
YuSanka
08c6905751 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
Vojtech Kral
342b584399 WIP: Plater 2018-10-01 09:28:40 +02:00
bubnikv
a9f52955a0 Fixed app icon on Windows 2018-09-24 14:27:03 +02:00
bubnikv
8296cbe046 Compile Slic3r versions into slic3r binary 2018-09-24 13:07:50 +02:00
bubnikv
96e035b2f8 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
8841b7ae2c Another compilation fix 2018-09-21 15:59:39 +02:00
bubnikv
3658f96b16 Fixed compilation on Linux / OSX. 2018-09-21 15:42:31 +02:00
bubnikv
e4373b6edd Fix of incorrect path separator in include. 2018-09-21 12:54:40 +02:00
bubnikv
6b2a4ffe03 Paths to resources / icons / images are set. 2018-09-21 11:40:32 +02:00
YuSanka
8b582bbcd1 Menu_bar and preset_tabs are in main window now 2018-09-21 01:35:25 +02:00
YuSanka
ebb6f47f50 Added GUI_App and MainFrame 2018-09-20 08:40:22 +02:00