Commit Graph

78 Commits

Author SHA1 Message Date
ceaeb26da8 Code refactoring: AppConfig.cpp(hpp) are removed from the GUI to libslic3r 2020-08-08 17:03:20 +02:00
e7f21d1e0e Merge remote-tracking branch 'origin/master' into ys_ph_printers 2020-08-06 17:02:48 +02:00
0c38f234d0 Notifications & warning dialog
notifications
dialog with warnings produced by slicing is shown before exporting
2020-08-03 15:49:25 +02:00
af6c85f114 Use ImGui::TextColored() 2020-08-03 08:28:43 +02:00
a1eeb569db Preset and PresetBundle are moved to the _libslic3r_ folder 2020-06-16 17:03:06 +02:00
edcaab8b0a Includes cleanup:
GUI_App.hpp      (should not include) MainFrame.hpp
MainFrame.hpp    Plater.hpp
ModelArrange.hpp Model.hpp
Slicing.hpp      PrintConfig.hpp
FillBase.hpp     PrintConfig.hpp
GUI_App.hpp      PrintConfig.hpp
OptionsGroup.hpp GUI_App.hpp
2020-05-27 14:01:47 +02:00
2bda907a5b WIP: Windows specific 3Dconnexion using WM_INPUT.
This implementation works with the 3DConnexion driver (sic!)
if PrusaSlicer.xml is stored into c:\Program Files\3Dconnexion\3DxWare\3DxWinCore64\Cfg\

The implementation is inspired with Blender, see code inside WITH_INPUT_NDOF blocks.
2020-03-31 09:01:55 +02:00
8f392f9ec3 Fixed orientations of some 3D connexion axes when in the swapped YZ mode. 2020-03-20 17:19:20 +01:00
88b761c71c Follow-up of f912fecad5 -> option to swap y/z axes extended to rotations 2020-03-20 16:13:08 +01:00
de99fd4d71 3DConnexion devices: added option to swap y/z translations 2020-03-20 13:09:42 +01:00
574ec9b7bf Fix of compilation on OSX and Linux, update of camera after 3D mouse
disconnect moved to the main thread.
2020-03-13 14:57:45 +01:00
4cd1243a79 Windows specific refactoring of Mouse3DController and RemovableDriveManager.
PrusaSlicer newly registers by Windows operating system for HID USB
plug / unplug notifications and for Volume attach / detach notifications,
and the background threads of the two respective services are waken up
on these Windows notifications.
The RemovableDriveManager also wakes up every 30 seconds to cope with
the drives ejected from Windows Explorer or from another application,
for example Cura, for which Windows OS does not send out notifications.
2020-03-13 14:19:14 +01:00
210556f5c3 More detailed logging of hid_init() on unixes to detect why
loading of "libudev.so.1" or "libudev.so.0" failed.
2020-03-12 09:42:25 +01:00
fe9944827b #3791 - Linear zoom for 3DConnexion devices 2020-03-10 13:43:49 +01:00
8ffdbd3dc4 Follow-up of 6c36577e8e -> World Z axis set to vertical when disconnecting 3d mouse 2020-03-10 13:02:39 +01:00
93e367ea5f Fix of saving the 3DConnexion status on OSX.
Fixes 2.2.0 RC2 - 3Dconnexion settings not saved / Zoom digital (#3791)
2020-03-09 10:36:55 +01:00
f2fce0f262 Refactoring of RemovableDriveManager:
1) On Windows and Linux, the device enumeration now runs at a background
   thread, while it ran on the UI thread on idle, which may have been
   blocking on some rare Windows setups, see GH #3515 #3733 #3746 #3766
2) On OSX, the device enumeration now relies on OS callback, no
   polling is required.
3) Refactored for cleaner interface.
2020-03-06 15:10:58 +01:00
30c432c561 WIP 3Dconnexion refactoring: Fixing compilation on OSX 2020-03-04 12:18:59 +01:00
248dc04892 Reworked the 3DConnexion interfacing code to run the device
enumeration / connect / disconnect and read out at the background
thread only.
2020-03-04 11:36:36 +01:00
0c63234e30 Free rotating camera reworked to rotate around the free rotation
axis in a single step.
2020-02-28 14:59:59 +01:00
ddf6501acd ENABLE_6DOF_CAMERA set as default 2020-02-13 12:13:54 +01:00
7b028d7c01 ENABLE_3DCONNEXION_Y_AS_ZOOM set as default 2020-02-13 09:20:20 +01:00
d3e1e36e30 osx 3dmouse change of rotation directions 2020-01-21 15:55:59 +01:00
342544c139 OSX handler for 3dconnexion drivers 2020-01-21 14:44:20 +01:00
f131909353 Fixed conflicts after merge with master 2020-01-17 14:58:19 +01:00
ecccddbc67 ENABLE_3DCONNEXION_DEVICES_CLOSE_SETTING_DIALOG set as default 2020-01-17 11:45:52 +01:00
c4818dfe7b 3DConnexion devices -> Tweak of sensitivity parameters and dependency of translation from zoom factor 2020-01-17 09:36:34 +01:00
0dd7bc26d7 3Dconnexion devices translation linearly dependent on zoom 2020-01-16 10:17:07 +01:00
94a95f9786 Six degrees of freedom camera - 1st installment 2020-01-15 12:49:34 +01:00
71dcc792c6 Attempt to fix #3479 2020-01-08 12:30:42 +01:00
6b7323e5e9 #3385 - Further extended min/max sensitivity for 3Dconnexion devices 2020-01-07 13:17:39 +01:00
0e0fdcf697 3DConnexion devices' Y axis used for zoom in/zoom out 2020-01-03 14:42:52 +01:00
b4d45eb2d9 Fixed unresponsive 3Dconnexion device when switching to preview 2020-01-03 11:41:29 +01:00
e81d262c14 #3389 - Added logging of detected 3Dconnexion device 2020-01-03 10:01:27 +01:00
12859dbd6b #3385 - Increased max sensitivity for 3Dconnexion devices 2020-01-02 11:56:48 +01:00
59e1ff1676 Added [X] and [Close] buttons to close 3Dconnexion setting imgui dialog by clicking on them 2019-12-16 13:35:45 +01:00
2c5b1b0e54 Some rework on layout of imgui dialogs 2019-12-11 15:30:25 +01:00
cb5289c1f9 Localization improvements:
* added wrapper to SliderFloat in imgui
 * fixed localized text in Mouse3DController
 * added take_snapshot for extruder change in object list
 * fixed text typos in AppConfig.cpp, ConfigWizard.cpp and ConfigManipulation.cpp
2019-12-04 16:11:10 +01:00
9122b59bdd Another attempt to fix build on Linux (due to ab00f501f1) 2019-11-25 12:45:49 +01:00
35a663a7f4 Fixed build on Linux 2019-11-25 11:13:50 +01:00
20814466c2 #3230 - Detection of 3Dconnexion devices every 2 seconds 2019-11-25 10:34:42 +01:00
77df2c0d6c Fixed build on Linux 2019-11-11 13:41:50 +01:00
e1cc82c2d0 3Dconnexion devices -> Disabled handling of device buttons / Added camera target to debug dialog / Added extra debug output 2019-11-11 13:04:02 +01:00
3e72f3c90a Fixed build on Linux 2019-11-08 15:54:44 +01:00
8ec650f178 3Dconnexion devices -> Added extra debug output 2019-11-08 14:43:15 +01:00
d54cbc55f7 3Dconnexion devices -> Another change in logic to select device 2019-11-08 13:31:34 +01:00
d0758526b6 3Dconnexion devices -> Modified logic to select device on Linux 2019-11-08 11:51:56 +01:00
f416d1b907 3Dconnexion devices -> Fix into Mouse3DController::handle_packet_button 2019-11-08 09:18:59 +01:00
c854284f80 3D connexion devides -> Added handling of 3 bytes long button packets 2019-11-08 08:47:57 +01:00
3f1674f91d Fixed build on Linux and Mac 2019-10-21 15:20:36 +02:00