Commit Graph

116 Commits

Author SHA1 Message Date
Vojtech Kral
cde0aa4443 Fix: wxWidgets 3.0 back-compat
Fix #1599
2019-01-09 18:43:29 +01:00
bubnikv
0222492e29 Fixed a typo from the last commit, fixed one compilation warning. 2019-01-09 16:05:36 +01:00
bubnikv
c258375fe2 Trying to redefine GUI_App::MacOpenFiles to get events from the Finder 2019-01-09 15:40:12 +01:00
Vojtech Kral
8bc8dfaba4 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
d409abf4c6 Reverted a change specific to Win32 to try to set Win32 locale
for the decimal point. This only works for the current user's locale
and it changes it system wide.
2019-01-04 15:42:44 +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
bubnikv
0d7e53badb Fix of 1.42.0-Alpha1 won't open from self contained folder #1500
Added some missing UTF8 to wxString path explicit conversions.
2019-01-03 12:32:13 +01:00
Vojtech Kral
2db0906071 Fix fs::path <-> wxString conversions 2019-01-02 15:53:52 +01:00
bubnikv
a7d8146198 Fix of #1501
"Po přepnutí do češtiny program zhavaruje a nejde znovu spustit"
Fixed wxWidgets assert, where the Win32 decimal point was different
from wxWidgets locales decimal point.
Fixed by calling the Win32 "set locale" function directly.
Not sure I know what I am doing, this fix needs to be tested throughly.
2019-01-02 15:35:40 +01:00
Enrico Turri
0ccd19f1ee Improved objects manipulation using sidebar 2019-01-02 13:42:29 +01:00
bubnikv
2c83bae9ed Changed the default file extension to the Prusa SL1 files to .dwz 2018-12-21 19:48:33 +01:00
YuSanka
0fd20d4cdc Fixed object_list layouts 2018-12-21 14:42:28 +01:00
YuSanka
3182611ac2 Fixed page updating according to view_mode (after preset changing) 2018-12-21 09:19:00 +01:00
bubnikv
f799f2eb48 Delayed update of ObjectManipulation panel from the Canvas3D:
Store the changes into temps and apply it to the wxWidgets on idle.
2018-12-20 20:12:26 +01:00
bubnikv
f56bb7d085 Fixed file wild cards when exporting a G-code or SLA output file. 2018-12-20 18:23:11 +01:00
YuSanka
c40b8aba24 Fixed recreate_GUI() after language change. 2018-12-19 17:38:41 +01:00
YuSanka
918cb48d45 Fixed OSX build & language selection (SPE-696) 2018-12-19 14:51:18 +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
Vojtech Kral
2350fb62b9 WIP OctoPrint integration 2018-12-12 13:17:01 +01:00
YuSanka
c80267bb29 Context menu from the object on the 3Dscene 2018-12-07 17:50:48 +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
YuSanka
3c86203655 Disable "Slice now" and "Export G-code" buttons during BGP 2018-12-04 10:28:56 +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
Vojtech Kral
cc557b8a7f Yet more fix of ENABLE_IMGUI 2018-11-27 12:51:50 +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
Vojtech Kral
c29493a41b imgui: Refactor, use in cut gizmo 2018-11-26 11:16:39 +01:00
Enrico Turri
57e9d28a84 Added ImGuiWrapper 2018-11-26 10:57:12 +01:00
bubnikv
b03f672801 Refactored to get direct access to GLCanvas3D in Plater and Preview.
WIP: SLA update delayed until mouse is released.
2018-11-23 12:47:32 +01:00
Enrico Turri
302b37dcd1 Adjusted main shortcuts 2018-11-21 10:21:12 +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
YuSanka
410568c9d9 Temporary workaround for the correct behavior of the Scrolled sidebar panel 2018-11-15 12:43:16 +01:00
tamasmeszaros
9a93b1d3e9 Merge remote-tracking branch 'origin/dev_native' into tm_sla_supports_backend
# Conflicts:
#	src/libslic3r/SLAPrint.hpp
2018-11-13 17:50:17 +01:00
YuSanka
b721f9431a Fixed show_info_sizer according to selected mode.
+ fixed right panel layouts
+ deleted unused functions
2018-11-13 13:35:10 +01:00
tamasmeszaros
90c38daeae trying to get the export dialog for zip files. 2018-11-12 18:09:47 +01:00
YuSanka
7f4a8bccd5 Fixed controls layout on right panel.
+ Split ObjectManipulation class to ObjectManipulation and ObjectSettings
+ fixed typo-bug in GetItemByVolumeId
2018-11-09 18:42:06 +01:00
bubnikv
bbfbe88a5f Integrated SLAPrint into background processing.
Fixed couple of compiler warnings.
2018-11-08 20:18:40 +01:00
bubnikv
75c097010d Finished (?) switching between the FDM / SLA profiles,
fixed an invalidation bug in Print::apply()
2018-10-31 18:05:25 +01:00
bubnikv
7e71aaffd5 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-31 16:25:55 +01:00
bubnikv
fd1c5dd218 WIP: SL1 profiles, SL1 in wizard, switching between FFF / SLA 2018-10-31 16:22:36 +01:00
YuSanka
7f08f460f1 Some code review 2018-10-31 12:58:35 +01:00
bubnikv
66e97aa4eb Reduced memory leaks in ConfigDef / PrintConfigDef
Deleted unsafe default copy constructors / operators in Model / ModelObject / ModelInstance / ModelVolume
Fixed some issues with copying the Model / ModelObject / ModelInstance / ModelVolume inside Print::apply()
Fixed some invalidation issues in Print::apply()
Temporarily renamed the Slic3rPE profile directory to Slic3rPE-alpha.
2018-10-30 15:24:36 +01:00
YuSanka
3f9fb575b8 Middle mode is changed to Advanced 2018-10-25 14:55:03 +02:00
YuSanka
3009439838 Ported System Info Dialog 2018-10-25 12:49:29 +02:00
YuSanka
e3b4a7b206 Fixed incorrect m_wiping_dialog_button showing after appInit 2018-10-24 12:58:35 +02:00
YuSanka
f47949504e Prototype of the hiding according to view mode
+ Added mode icon near option's label
+ Fixed segmentation fault on Linux
2018-10-21 23:10:36 +02:00
Enrico Turri
ea7216c019 Unified append_submenu() function and modified append_menu_item() function 2018-10-18 14:42:21 +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
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
YuSanka
9cf80581d9 Added extended selection ObjectList -> to canvas3D 2018-10-11 16:13:23 +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
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
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
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
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
e86f149cbd Moved back open_model to GUI_App 2018-09-20 13:12:35 +02:00
YuSanka
ebb6f47f50 Added GUI_App and MainFrame 2018-09-20 08:40:22 +02:00