Commit Graph

63 Commits

Author SHA1 Message Date
Enrico Turri
14fe55d4b8 Fix of rotations using sidebar fields 2019-01-29 11:26:35 +01:00
Enrico Turri
6137cc48eb ENABLE_IMPROVED_SIDEBAR_OBJECTS_MANIPULATION set as default 2019-01-28 16:06:44 +01:00
Enrico Turri
1c0bc8a5f3 Fixed synchronization between Objects List and Object manipulator table 2019-01-28 15:50:02 +01:00
Enrico Turri
727884d327 Fixed synchronization of scale/size fields in sidebar for single volume and single full instance selection 2019-01-28 12:49:19 +01:00
bubnikv
588c07c12a Performance improvements:
Lazy "Place on face" gizmo update.
Caching of MeshObject::raw_mesh_bounding_box() for the object size display.
ModelObject::bounding_box(), raw_mesh_bounding_box(), full_raw_mesh_bounding_box() will not copy the mesh.
TriangleMesh::transformed_bounding_box(const Transform3d &trafo) will not copy the mesh data.
get_options_for_bundle() will not return reference to temp value
is_splittable() calls cheap mesh.has_multiple_patches()
2019-01-26 18:51:34 +01:00
Enrico Turri
a406a44946 Sidebar object manipulation fields updated on idle event 2019-01-24 11:37:58 +01:00
YuSanka
1a474ea282 L10n improvements 2019-01-21 12:34:28 +01:00
Enrico Turri
4b55db878a Fixed rotation of single volumes using rotate gizmo 2019-01-15 09:30:12 +01:00
YuSanka
b82a9d9090 Fix of #1619 2019-01-11 17:19:09 +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
Enrico Turri
410211a3e4 Completed uniform scale in sidebar 2019-01-09 09:47:05 +01:00
YuSanka
6d7e2b2dd7 Added SetLock() function for PrusaLockButton 2019-01-09 08:52:08 +01:00
Enrico Turri
7cf67db332 Uniform scale is sidebar 2019-01-08 15:16:40 +01:00
YuSanka
24e0c9b79e Added "uniform scaling" button 2019-01-08 13:34:47 +01:00
Enrico Turri
66f9582a20 Fixed sidebar size fields update (which was broken again) 2019-01-08 09:51:58 +01:00
Enrico Turri
c81dbba794 Fix of #1590 2019-01-07 10:53:48 +01:00
Enrico Turri
2ce308693f Fixed object size changes using sidebar 2019-01-04 13:59:41 +01:00
Enrico Turri
ca6a7ac8d5 Further improvement in objects manipulation using sidebar (multiselection) 2019-01-03 11:24:03 +01:00
Enrico Turri
0ccd19f1ee Improved objects manipulation using sidebar 2019-01-02 13:42:29 +01:00
Enrico Turri
611d9aa0d8 Model's volume transform set as default 2019-01-02 10:49:13 +01:00
Enrico Turri
4b04e4e552 Fix for #1549 2019-01-02 10:18:02 +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
Enrico Turri
2548253d59 Another fix on volumes translation 2018-12-19 15:03:49 +01:00
Enrico Turri
7077c1e4a1 Sidebar matrix field behavior for multiple volume selection 2018-12-18 14:08:46 +01:00
Enrico Turri
f54f966663 Sidebar matrix field behavior for single full object selection 2018-12-18 11:50:22 +01:00
Enrico Turri
d453b6fb3f Sidebar matrix field behavior for single full instance selection 2018-12-18 11:11:06 +01:00
Enrico Turri
334f747fa9 Sidebar matrix fields focus handling 2018-12-18 10:40:53 +01:00
Enrico Turri
8854276965 Added size fields to sidebar matrix manipulators 2018-12-18 10:10:14 +01:00
Enrico Turri
a326ce06b1 Removed unneeded methods from ObjectManipulation 2018-12-18 09:34:41 +01:00
YuSanka
e1cea03cda Added template for the handle of the TextCtrl's focus event 2018-12-11 14:05:56 +01:00
YuSanka
d7bc1410ee Update value inside TextCtrl & SpinCtrl after wxEVT_KILL_FOCES instead of wxEVT_TEXT (or wxEVT_TEXT_ENTER) 2018-12-11 14:05:56 +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
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
YuSanka
9d7b4ce41d Position(Displacement)/Rotation/Scale for group selection 2018-11-22 16:09:28 +01:00
Enrico Turri
86ac9ed91e Small refactoring 2018-11-21 10:36:09 +01:00
Enrico Turri
37b5cb9a4d Update transformation values in sidebar for single volume/modifier selection 2018-11-21 09:45:43 +01:00
Enrico Turri
bcfff27921 Fixed scaling of multivolumes selection - Added local scale by pressing Alt key while dragging the scale gizmo 2018-11-20 15:39:36 +01:00
Enrico Turri
b961d1011a Fixed rotation of multivolumes selection - Added local rotation by pressing Alt key while dragging the rotate gizmo 2018-11-20 11:57:01 +01:00
YuSanka
ede21eec7a Rotation/Scale from modification pane for SingleObject, SingleVolume & SingleInstance
Note:
- doesn't work for group selection
- scaling work only with percent mode
2018-11-15 12:43:16 +01:00
YuSanka
caaacb4c4f Added "change position" from modification pane 2018-11-14 16:24:55 +01:00
YuSanka
9467209c1a Fixed crashing on reset_settings_value() 2018-11-14 13:40:55 +01:00
YuSanka
62aa34b444 SpinCtrsl inside Manipulation pane is replaced to TextCtrls
+ Added "proces_enter" mode for TextCtrl (The control will generate the event wxEVT_TEXT_ENTER)
2018-11-14 12:35:15 +01:00
YuSanka
ca868fcaf1 Fixed typo bug 2018-11-13 08:00:27 +01:00
YuSanka
d20bac7039 Added a modifier selection in the object list
+ set box-subobject's center to the objects center
+ fixed bug in PrusaObjectDataViewModel.Delete(), when deleting last volume_idx
2018-11-12 16:03:50 +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
Enrico Turri
3aad8b5fd2 Translation of ModelVolume as transformation component (without modifying the mesh) 2018-11-02 12:11:28 +01:00
YuSanka
618d0e4910 Fixed splitting of the objects with instances 2018-11-01 16:24:20 +01:00
Enrico Turri
a15bf7cc25 New selection set as default 2018-11-01 10:06:55 +01:00
YuSanka
5a4cef9ac1 Fixed part settings updating 2018-10-31 16:06:32 +01:00
YuSanka
7f08f460f1 Some code review 2018-10-31 12:58:35 +01:00