1556 Commits

Author SHA1 Message Date
YuSanka
1b9f42d71b Cut improvements:
* Added new cut() function witch respects to the rotation of the cut plane
* Added revert buttons to the GizmoCutDialog
* Fixed GLGizmoCenterMove::bounding_box(). Pad and supports don't added to the bb now
2022-02-23 13:24:06 +01:00
enricoturri1966
30dc2bf39c Do not show ProjectDropDialog when drag and dropping a 3mf file produced by other softwares and the plater is not empty 2022-02-04 09:52:00 +01:00
enricoturri1966
81b9997009 Follow-up of 7d8749077743a9c197726539d8eb6a5a036e5e41 - Fix into function reloadable_volumes() 2022-02-02 14:59:21 +01:00
enricoturri1966
7d87490777 Tech ENABLE_RELOAD_FROM_DISK_REWORK - A bunch of bug fixes in Reload from disk command:
1) Lost orientation after reload from disk (SPE-1182)

2) Wrong objects replacement from reload from disk command (SPE-1183)

3) Reload from disk not disabled for built-in models (SPE-1184)
2022-02-02 14:25:36 +01:00
enricoturri1966
7bd8b3b892 #7791 - Fixed reload from disk command for plain (non zipped) amf files 2022-01-31 14:26:31 +01:00
enricoturri1966
08abdc27a0 #7792 - Fixed relative positions of objects loaded from plain (non zipped) amf files 2022-01-31 13:13:06 +01:00
YuSanka
94b8c4f096 Merge remote-tracking branch 'origin/master' into dev 2022-01-20 15:22:24 +01:00
YuSanka
667842ec8b Implemented get_wraped_wxString() to wrap the message text inside the MessageDialog and RichMessageDialog 2022-01-19 15:16:18 +01:00
enricoturri1966
c74ae1c513 Follow-up of dc75a591151592dbd7df424e689ccd9a017b5efa - Use a unique command and method to export to STL and OBJ - Added export to OBJ also for Export plater to STL commands 2022-01-19 14:23:03 +01:00
enricoturri1966
dc75a59115 Added command Export as OBJ 2022-01-19 12:39:04 +01:00
enricoturri1966
8be67bc4d6 Fixed warnings 2022-01-18 08:20:04 +01:00
enricoturri1966
2cebe16663 Tech ENABLE_WIPETOWER_OBJECTID_1000_REMOVAL - Removal of wipe tower magic object_id equal to 1000 2022-01-17 15:56:58 +01:00
enricoturri1966
b9b702d550 Fixed conflicts after merge with branch dev 2022-01-14 09:55:13 +01:00
enricoturri1966
a2dc1cd446 Fixed conflicts after merge with dev branch 2022-01-12 15:54:48 +01:00
YuSanka
657fb125ff After merge fixes 2022-01-12 15:14:45 +01:00
YuSanka
ced6d26917 Merge remote-tracking branch 'origin/master' into dev 2022-01-12 15:05:31 +01:00
enricoturri1966
0cb0f56a80 Tech ENABLE_ENHANCED_PRINT_VOLUME_FIT set as default 2022-01-12 14:12:13 +01:00
tamasmeszaros
0fbe700140 Add timeout for plater stopping the UI jobs. 2022-01-11 11:26:26 +01:00
tamasmeszaros
43f5e61b5f Add possibility to wait for current job to stop. 2022-01-11 11:26:26 +01:00
tamasmeszaros
17f4b1bea3 Avoid issue with invisible status indication. 2022-01-11 11:26:26 +01:00
tamasmeszaros
3be7d5f0dc Make a PlaterWorker to handle PlaterJobs 2022-01-11 11:26:26 +01:00
tamasmeszaros
b53ff75cf4 Rework UI jobs to make them more understandable and flexible. 2022-01-11 11:26:18 +01:00
enricoturri1966
e031001f0a Follow-up of d2e495c70042900ed5e3c3085877bc66ad0f7748 - Fixed other warnings 2022-01-06 13:29:28 +01:00
enricoturri1966
d2e495c700 Fixed warning 2022-01-06 12:34:00 +01:00
YuSanka
19f919eca1 Implementation of the Preferences option "Ask for unsaved changes in project" 2022-01-06 10:39:12 +01:00
enricoturri1966
ba643fa5fa Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2022-01-05 10:23:55 +01:00
enricoturri1966
ffe678e0ea #7647 - Re-enabled 'Export to STL' command for volumes. It was working in 2.3.3 and got disabled somehow. 2022-01-05 10:23:48 +01:00
YuSanka
9bbcfb80b1 Some beatification for Sliced Info: "Used Filament" is moved to the first place 2022-01-05 09:47:34 +01:00
enricoturri1966
0df7efe462 #7550 - Fixed error message when trying to import an invalid stl for commands 'Reload from disk' and 'Replace with STL' 2022-01-04 09:57:45 +01:00
enricoturri1966
1019792884 Fixed conflicts after merge with dev branch 2022-01-03 10:09:38 +01:00
enricoturri1966
34a640a4a9 Merge branch 'dev' of https://github.com/prusa3d/PrusaSlicer into et_color_class 2022-01-03 09:33:05 +01:00
YuSanka
f2aeca3a71 Options from the "Preferences" dialog added to the Search
Some code refactoring:
* use GUI_App::open_preferences() on all places where it's needed
* Preferences Dialog is an attribute of a ManeFrame class and created just ones during the MainFrame creation now.
* Created class Highlighter. Use it in Preferences and Tab
2021-12-22 14:38:23 +01:00
enricoturri1966
c44fd43307 Fixed warning 2021-12-22 11:12:46 +01:00
enricoturri1966
296041da38 #7464 - Fixed 'Export as .stl' scaling not applied on scaled object instances 2021-12-14 10:21:31 +01:00
enricoturri1966
1ba189b3a8 Follow-up of 450e430ca1b5169ab59d39a62cc84c4db3b0a8fa - Fixed wrong if() conditions into Plater::priv::reload_from_disk() 2021-12-10 14:36:28 +01:00
enricoturri1966
8df5202e74 #7429 - Fixes in reload from disk command 2021-12-10 14:36:28 +01:00
Vojtech Bubnik
63a3971091 Windows specific: Fixes layout issues on plater, short BitmapComboBoxes
with some Windows scaling, see GH issue #7414.
The issue was most likely due to the initial main frame size
generated by Windows based on some unknown rule based on font scaling
and possibly display size and something else. If the initial window height
is short, then the last controls in a "rubbery" sizer are trimmed
and wxBitmapComboBoxes then remember the initial widget size indefinietly.
2021-12-10 09:34:28 +01:00
enricoturri1966
b45d56b5b8 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_preview_layout 2021-12-08 08:15:51 +01:00
Vojtech Bubnik
bfce4f6901 Follow-up to 3622f06bed6175a337d2e20b5dc6ae9d770cb3cf
Work around 3D scene focus after de-activation of the main
window without having to resort to CallAfter(), which breaks
on Linux with some window managers that follow mouser cursor.
Fixes #5620 #6870 #6992

3622f06bed6175a337d2e20b5dc6ae9d770cb3cf was not a correct solution,
it broke focus for non-modal windows.
Fixes #7419

The actual issue seems to be caused by wxProgressDialog not playing
well with modal dialogs closed just before wxProgressDialog opens.
If wxProgressDialog parent was not a main frame, keyboard focus
was not restored correctly after the wxProgressDialog closed.
2021-12-05 09:09:34 +01:00
YuSanka
8a2c15ad60 Fix for #7408 - Crash after closing error for deleting box shape with cylinder negative volume 2021-12-04 10:05:14 +01:00
bubnikv
3622f06bed Trying to work around 3D scene focus after de-activation of the main
window without having to resort to CallAfter(), which breaks
on Linux with some window managers that follow mouser cursor.
May fix #5620 #6870 #6992
2021-12-03 16:20:01 +01:00
Vojtech Bubnik
45d9e6bddd Follow-up to 7828964f8ca1c5ca029ef1ec5544769696e4eb2a
Fixed no way of leaving the "export G-code" dialog loop.
Improved the error message by explaining that some characters
are not allowed by a FAT file system.
2021-12-03 09:05:14 +01:00
Vojtech Bubnik
f4dfbb69e2 Replaced the code to substitute host address part in URL
with libcurl library calls. This solution should be more robust
than a homebrew URL parser solution.
2021-12-03 08:02:16 +01:00
YuSanka
71a9ded1c0 ObjectList: Fixed update of the icons for InfoItems, when color mode was changed
Sidebar:ObjectInfo: Fixed update of the icon, when color mode was changed
+ Added new icons for "Sinking" and "ShapeGallery"
2021-12-02 16:11:52 +01:00
YuSanka
fc089fd2c5 Code refactoring for d88ef826cd
reload_scene() call were followed by update(). It synchronizes back-end with front-end and then it calls reload_scene() again.
However in SLA mode reload_scene() expects the back-end to be synchronized with front-end, thus we get asserts that we all have ignored for a long time.

So, we call ObjectList::update_info_items() after the call of update() where reload_scene() is already called and GLCanvas3D::is_object_sinking() will return correct value
2021-12-02 11:26:20 +01:00
enricoturri1966
18cb91a982 Fixed conflicts after merge with master 2021-11-30 12:13:51 +01:00
tamasmeszaros
86afffa692 Don't let UI jobs overlap. 2021-11-30 12:07:52 +01:00
tamasmeszaros
a683745347 Fix crash when deleting objects while ui job is running. 2021-11-30 11:29:47 +01:00
enricoturri1966
73bf19bf51 Tech ENABLE_RELOAD_FROM_DISK_REPLACE_FILE set as default 2021-11-30 11:12:54 +01:00
enricoturri1966
156f3d1b11 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2021-11-30 09:41:50 +01:00