Commit Graph

157 Commits

Author SHA1 Message Date
bubnikv
cf53604ae8 Moved the Fileds from the Page object to the respective OptionGroups
for performance reasons. Disabled clearing of background for most
of the static texts and Fields stored into OptionGrops.
2019-03-18 12:49:57 +01:00
Lukas Matena
e813a562a1 Removed technology ENABLE_IMGUI 2019-03-18 11:45:15 +01:00
bubnikv
954d571ab0 Bumped up version number to 1.42.0-beta
changed the config path from Slic3rPE-alpha to Slic3rPE-beta
2019-03-16 17:12:51 +01:00
YuSanka
a6dcbc8791 Set DoubleBuffered state for the Tabs (under MSW)
+ Some improvements/experiments for the presets selection from the Plater
+ Some fix of a sidebar layout
2019-03-13 13:13:46 +01:00
Vojtech Kral
9522cd1d4f OnInit: Move preset loading out of EVT_IDLE/once, remove temp workaround of sidebar scrollbar 2019-03-12 11:10:30 +01:00
bubnikv
1da97c9415 Merge remote-tracking branch 'remotes/origin/ys_buttons' 2019-03-12 09:01:17 +01:00
bubnikv
6811c68f60 Fixed crashes if OnIdle handler was called before Plater was initialized. 2019-03-11 11:03:13 +01:00
YuSanka
b382ad1ffb Some improvements 2019-03-08 16:20:20 +01:00
Vojtech Kral
0c44cceaa1 Fix modal dialogs screwing comboboxes on Mac 2019-03-01 13:15:21 +01:00
YuSanka
84a96d3ba0 Added a tooltip for the "Slice now" button and changed its behavior according to a hold of Shift
+ some code refactoring
2019-03-01 12:10:20 +01:00
bubnikv
f23919985f Renamed the SLA output file to ".sl1" 2019-02-25 15:01:39 +01:00
bubnikv
a81d51d905 Removed unnecessary saving of slicer.ini 2019-02-22 17:18:58 +01:00
Vojtech Kral
14b4685ecb Scaling in PrintHostDialogs, FirmwareDialog, UpdateDialogs 2019-02-21 19:00:50 +01:00
bubnikv
c55629259a Merge remote-tracking branch 'origin/ys_hdpi' 2019-02-20 16:20:30 +01:00
bubnikv
1797273fac Basic localization of the ImGUI texts. 2019-02-19 13:26:26 +01:00
Enrico Turri
296b1aa7c5 Partial fix of - Fixed synchronization of Configuration/Mode menu 2019-02-18 11:40:33 +01:00
Vojtech Kral
e6f7af64a7 PresetUpdater: Fix a race condition 2019-02-15 15:38:26 +01:00
Vojtech Kral
d8c7966bec PresetUpdater: Don't fail as hard if version not found in index
GUI_App: Add OnExceptionInMainLoop handler
2019-02-15 15:38:13 +01:00
Vojtech Kral
5a2a39c3ab Fix window geometry shenanigans 2019-02-12 10:11:00 +01:00
Vojtech Kral
7d969a6f36 ConfigWizard: Bugfixes 2019-02-12 10:11:00 +01:00
YuSanka
b2410e0f23 Merge remote-tracking branch 'origin/master' into ys_hdpi 2019-02-06 11:12:44 +01:00
Vojtech Kral
c3ea735bc8 Fix usage of CallAfter vs modal dialogs in slic3r.cpp, fix 2019-02-05 18:13:48 +01:00
YuSanka
7cc3a95f53 Fixed flashing
+ Adde experiments with FromDIP function
2019-02-05 11:48:28 +01:00
YuSanka
e2b8c3e33c Merge remote-tracking branch 'origin/master' into ys_hdpi 2019-02-04 10:38:23 +01:00
YuSanka
4005d06452 Fixed "hard_code" setting of the size for the Sidebar and Tabs
+ Fixed assert after config_wizard changing
2019-02-04 10:35:16 +01:00
bubnikv
ecdf550e65 OSX specific: Changed the "Preferences dialog" short cut
to the platform default "Control-," fixes 
2019-02-03 12:12:26 +01:00
YuSanka
ba6206ab62 First experiment to fix layouts on hdpi 2019-01-31 15:55:09 +01:00
Lukas Matena
ddcb2b1c23 Fixed a crash caused by double-free on application close event (Linux) 2019-01-28 12:12:26 +01:00
YuSanka
9a01e313ad Implemented function create_freq_settings_popupmenu()
to add bundles with frequently used settings
2019-01-25 16:57:44 +01:00
YuSanka
9b8cdb95dc Updated view mode for object_list and object_menu 2019-01-25 10:57:13 +01:00
YuSanka
54bd2e55c7 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-24 15:40:54 +01:00
YuSanka
10641f7e9c Improved application recreation after language change 2019-01-24 15:32:50 +01:00
YuSanka
6044be7793 Fixed sidebar layouting after a creation of the App 2019-01-24 12:11:01 +01:00
Enrico Turri
a406a44946 Sidebar object manipulation fields updated on idle event 2019-01-24 11:37:58 +01:00
Vojtech Kral
d3fa82e41b Fix assert on empty datadir 2019-01-23 14:39:19 +01:00
Vojtech Kral
984b1bc1c1 GUI_App: Remove custom CallAfter 2019-01-21 14:56:23 +01:00
Vojtech Kral
b3d7bf1c1e Fix window geometry persistence 2019-01-21 14:56:23 +01:00
YuSanka
1a474ea282 L10n improvements 2019-01-21 12:34:28 +01:00
Enrico Turri
6094512f8f Fix of 2019-01-14 14:42:21 +01:00
YuSanka
107152b25e Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-01-10 11:10:01 +01:00
YuSanka
c62a51ead1 Implemented ModeSizer with ModeButtons for the mode view changing from the settings tabs and plater 2019-01-10 11:09:31 +01:00
Vojtech Kral
cde0aa4443 Fix: wxWidgets 3.0 back-compat
Fix 
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 
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
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
"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