Commit Graph
100 Commits
Author SHA1 Message Date
Enrico Turri 5089c4e2e0 Grabbers of different length in rotate 3D gizmo to avoid overlap at 90 degrees 2018-11-13 11:52:13 +01:00
Enrico Turri 03390c594f Removed code committed by mistake in previous commit 2018-11-13 11:25:59 +01:00
Enrico Turri dc8523cac8 Fixed convex hull and volume offset after object split to part 2018-11-13 10:12:42 +01:00
Enrico Turri 3d4e37ceb6 Center volumes after split to parts 2018-11-13 08:36:10 +01:00
Enrico Turri 564fa9e4dc Enhanced volumes manipulation 2 (scaling in local system) 2018-11-12 09:54:04 +01:00
Enrico Turri 22dbcbcd9c Enhanced volumes manipulation - wip 2018-11-12 08:54:22 +01:00
Enrico Turri f2d1153d8f Removed unneeded auto-arrange from Plater::priv::load_model_objects() 2018-11-09 10:37:50 +01:00
Enrico Turri 12ef6913d5 ModelObject::instance_bounding_box() fixed to take in account for volumes' transforms 2018-11-09 10:31:58 +01:00
Enrico Turri 71c2d34308 Fixed crash in void GLGizmoSlaSupports::update_mesh() 2018-11-08 14:55:25 +01:00
Enrico Turri 9e8e5761a9 Added new query methods to GLCanvas3D::Selection 2018-11-08 12:23:07 +01:00
Enrico Turri d590661d40 Fixed objects name after 3mf import 2018-11-08 10:18:19 +01:00
Enrico Turri e529315ef9 Fixed update of ModelVolume mirror after GLVolume manipulation 2018-11-07 14:51:11 +01:00
Enrico Turri 69208c4f43 Fixed update of ModelVolume scale after GLVolume manipulation 2018-11-07 14:24:10 +01:00
Enrico Turri 92528ebcb3 Fixed update of ModelVolume rotation after GLVolume manipulation 2018-11-07 14:15:04 +01:00
Enrico Turri b05aa00089 Fixed update of ModelVolume offset after GLVolume manipulation 2018-11-07 14:01:03 +01:00
Enrico Turri 102bc99958 Only one instance enabled when selecting sub parts 2018-11-07 12:11:34 +01:00
Enrico Turri f4b16bb242 Added new selection states - Select parts/modifiers from first instance only from right panel 2018-11-07 10:34:44 +01:00
Enrico Turri f9caa6f7f1 Fixed backend detection of out of print volume 2018-11-06 16:04:30 +01:00
Enrico Turri 57c769b63b Selection of modifiers in 3D scene 2018-11-06 15:51:33 +01:00
Enrico Turri 7dcfe57db1 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-11-06 10:32:12 +01:00
Enrico Turri 4f0869730a Do not render selection's bounding box when any gizmo is active 2018-11-06 10:31:19 +01:00
Enrico Turri 0810beae77 Reintroduced instances synchronization 2018-11-06 08:47:21 +01:00
Enrico Turri e0b488fd11 Fixed instances count after split to objects 2018-11-05 11:52:14 +01:00
Enrico Turri 4b5657b16b Fixed assert in GLCanvas3D::Selection::is_single_full_instance() 2018-11-05 10:54:05 +01:00
Enrico Turri 864bc6ad48 Mirror of ModelVolume as transformation component (without modifying the mesh) 2018-11-05 08:51:00 +01:00
Enrico Turri fb6a08cfb0 Rotate of ModelVolume as transformation component (without modifying the mesh) 2018-11-05 08:31:54 +01:00
Enrico Turri 385b0f261d Scale of ModelVolume as transformation component (without modifying the mesh) 2018-11-02 14:41:08 +01:00
Enrico Turri 7114b80882 Use Transform3d in place of Transform3f as parameter of mesh transform functions 2018-11-02 13:47:47 +01:00
Enrico Turri 3aad8b5fd2 Translation of ModelVolume as transformation component (without modifying the mesh) 2018-11-02 12:11:28 +01:00
Enrico Turri 7751d991d4 GLCanvas3D::update_gizmos_data() set as private 2018-11-01 15:08:39 +01:00
Enrico Turri 00ec33ef16 Fixed build when ENABLE_MODELVOLUME_TRANSFORM is disabled 2018-11-01 14:41:18 +01:00
Enrico Turri b8168d421c Refactoring 2018-11-01 14:25:10 +01:00
Enrico Turri 26d373a2e2 Added extended functionality to Geometry::Transformation class 2018-11-01 13:42:07 +01:00
Enrico Turri 42d3db9ab1 Fixed typo in Transformation::set_rotation() 2018-11-01 10:25:08 +01:00
Enrico Turri a15bf7cc25 New selection set as default 2018-11-01 10:06:55 +01:00
Enrico Turri 0d282896d0 Removed obsolete references to tech ENABLE_MODELINSTANCE_3D_FULL_TRANSFORM 2018-11-01 08:50:54 +01:00
Enrico Turri 00222226ed Mirror component of transformations set as default 2018-11-01 08:46:44 +01:00
Enrico Turri afa907504f Fixed autolevel on bed with non uniform scaling 2018-10-31 16:13:07 +01:00
Enrico Turri d6d632d4fc Added Geometry::Transformation class. Use it into ModelInstance, ModelVolume and GLVolume 2018-10-31 14:56:51 +01:00
Enrico Turri ae6c65dfff New selection -> Fixed split object to objects 2018-10-31 11:24:56 +01:00
Enrico Turri b23f7e5834 New selection -> Restore selection after splitting an object to parts 2018-10-31 09:53:48 +01:00
Enrico Turri da4903a37f New selection -> Disabled instances synchronization 2018-10-31 09:39:43 +01:00
Enrico Turri 503166a6a4 Automatic placement of instance at bed level 2018-10-30 16:03:03 +01:00
Enrico Turri 63960dfde0 Translate entire selection when user clicks and drags on a selected volume 2018-10-30 11:18:15 +01:00
Enrico Turri f651182101 Rendering of camera target (for debug) and modified camera target behavior 2018-10-26 09:50:28 +02:00
Enrico Turri 321322b17a Fixed rendering of warning and legend textures (due to newer wxWidgets) 2018-10-25 15:32:35 +02:00
Enrico Turri e72a058600 Fixed update of GUI when object is selected by right-clicking on it to show its context menu 2018-10-25 12:36:10 +02:00
Enrico Turri c00ee0659e Call schedule_background_process() after rotating/scaling/flattening using gizmos 2018-10-25 12:10:35 +02:00
Enrico Turri 30fe846158 Do not translate selection if user press Shift while selecting and then drags 2018-10-25 11:06:08 +02:00
Enrico Turri 30a130e014 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-25 10:37:04 +02:00
Enrico Turri bde5f17d5c Fixed build on Linux and OSx 2018-10-25 10:36:47 +02:00
Enrico Turri 61f7849fce Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-25 09:35:26 +02:00
Enrico Turri 78d813cbc9 Tooltip when hovering on gizmo icons 2018-10-25 09:35:08 +02:00
Enrico Turri 77d6ebc126 Rotate gizmo -> Grabbers showing tooltip also on hover for single instance selection. 2018-10-24 14:12:33 +02:00
Enrico Turri 17b7a3b9d7 Scale gizmo -> Grabbers showing tooltip also on hover for single instance selection. 2018-10-24 13:56:43 +02:00
Enrico Turri 9b3e3ec967 Move gizmo -> 1) Grabbers showing tooltip also on hover for single instance selection. 2) Tooltip showing current position for single instance selection. 2018-10-24 13:28:35 +02:00
Enrico Turri 90ecbce9bb Split to objects and Split to parts 2018-10-24 12:55:38 +02:00
Enrico Turri 37e4f69e3b Fixed memory leak in GLToolbar 2018-10-24 10:55:35 +02:00
Enrico Turri 8940209865 Fixed menu view accelerator keys 2018-10-24 10:46:18 +02:00
Enrico Turri 9a4a41acbf New selection -> Fixed selection cleanup in GLCanvas3D::reset_volumes() 2018-10-23 11:50:30 +02:00
Enrico Turri 4c527776e7 Fixed memory leak in Tab::add_options_page() 2018-10-23 11:44:46 +02:00
Enrico Turri 6d5d4e7c24 Fixed exception when closing Slic3r 2018-10-23 09:48:01 +02:00
Enrico Turri 1979ba0e0f New selection -> Keep selection after instance inscrease/decrease command 2018-10-23 09:19:41 +02:00
Enrico Turri 75e3b3a9b8 Merge branch 'dev_native' of https://github.com/prusa3d/Slic3r into dev_native 2018-10-22 15:19:33 +02:00
Enrico Turri 2f11df47ce Layers editing 2018-10-22 15:18:56 +02:00
Enrico Turri 2a2d1d85f8 Added mirror factors to .3mf import and enabled import factors 2018-10-22 13:27:53 +02:00
Enrico Turri 126f0e5073 Added mirroring factors to .amf import/export 2018-10-22 11:45:03 +02:00
Enrico Turri 68f77f1031 New selection -> Changed selection logic == Use SHIFT for both add to selection and remove from selection 2018-10-22 08:54:04 +02:00
Enrico Turri 5d94e6adb8 New selection -> Improved sychronization of instances selection between 3D scene and right panel 2018-10-19 16:14:55 +02:00
Enrico Turri cc5405e84d Replaced dummy string in CheckboxFileDialog::ExtraPanel 2018-10-19 15:35:39 +02:00
Enrico Turri 0af4de4faa New selection -> Split command 2018-10-19 15:27:19 +02:00
Enrico Turri 42a77316ba Planes of gizmo flatten visible from both sides 2018-10-19 13:26:42 +02:00
Enrico Turri bcffa8dbe2 New selection -> Fixed scale gizmo when mirror components are enabled 2018-10-19 11:24:27 +02:00
Enrico Turri d7f013ba19 Fixed euler angles in gizmo flatten 2018-10-19 09:32:10 +02:00
Enrico Turri fbbe1325b6 Mirror transform components in ModelInstance and GLvolume - WIP and disabled 2018-10-18 15:50:51 +02:00
Enrico Turri 2c9a82e582 New selection -> Removed unneeded methods and small refactor 2018-10-18 15:09:41 +02:00
Enrico Turri ea7216c019 Unified append_submenu() function and modified append_menu_item() function 2018-10-18 14:42:21 +02:00
Enrico Turri 82ec5bf22e New selection -> Unified methods to update menu items 2018-10-18 09:27:37 +02:00
Enrico Turri 143c23c54a New selection -> Force volume selection when right clicking to get the object context menu 2018-10-18 08:51:06 +02:00
Enrico Turri 23123cac2e Increase and decrease command in object's context menu 2018-10-17 14:26:13 +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
Enrico Turri 3059438853 Fixed toolbar update after reducing instances count 2018-10-17 09:40:04 +02:00
Enrico Turri b8ec71ab28 New selection -> Removed old plater selection 2018-10-17 09:30:07 +02:00
Enrico Turri b4a09d3d86 New selection -> Toolbar update 2018-10-16 16:04:19 +02:00
Enrico Turri af4570741c New selection -> Improved gizmos activation 2018-10-16 14:56:35 +02:00
Enrico Turri a8c459696f New selection -> Tighter bounding box for selections, tweaks to gizmo flatten and fix of instances update 2018-10-16 13:49:40 +02:00
Enrico Turri 059ab4a05c ModelInstance's full 3D transform set as default 2018-10-16 09:51:30 +02:00
Enrico Turri adf739cd45 Simplified algorithm for update of gizmo move and scale 2018-10-15 15:21:37 +02:00
Enrico Turri 27fd49d459 New selection -> Improved gizmo scale rendering and behavior 2018-10-15 13:22:36 +02:00
Enrico Turri f2486bd87d New selection -> Gizmos methods refactored to accept selection instead of bounding box and scale gizmo in local system for single instance selections 2018-10-15 11:30:50 +02:00
Enrico Turri 35c7c418e9 Small refactoring into GLGizmoBase::Grabber 2018-10-12 16:18:37 +02:00
Enrico Turri 76052d33bf New selection -> scaling wip 2018-10-12 15:43:29 +02:00
Enrico Turri 59208d79be Modified rendering of gizmo scale 3D 2018-10-12 14:23:34 +02:00
Enrico Turri 9bb93cc4f4 Added helper functions to extract euler angles from 3d transforms 2018-10-12 12:19:57 +02:00
Enrico Turri aa0c3bf2e3 Added helper functions to generate 3d transforms 2018-10-12 10:09:16 +02:00
Enrico Turri 6563cff246 New selections -> allow all three rotations for single instance selection 2018-10-11 10:56:25 +02:00
Enrico Turri bb2000d094 Simplified OpenGL calls 2018-10-11 10:52:50 +02:00
Enrico Turri e201c5123c added method: static GUI::GLCanvas3D* _3DScene::get_canvas(wxGLCanvas* canvas) 2018-10-11 10:24:19 +02:00
Enrico Turri 3bccb3b97c Extended interface for selections 2018-10-11 08:26:12 +02:00