Commit Graph

61 Commits

Author SHA1 Message Date
Enrico Turri
d1a1d5f723 Fixed synchronization between Objects List and Object manipulator table 2019-01-28 15:50:02 +01:00
Enrico Turri
24bb3fba62 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
e5c201f2a3 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
69d860389b Sidebar object manipulation fields updated on idle event 2019-01-24 11:37:58 +01:00
YuSanka
ee1e590858 L10n improvements 2019-01-21 12:34:28 +01:00
Enrico Turri
38f8c899f0 Fixed rotation of single volumes using rotate gizmo 2019-01-15 09:30:12 +01:00
YuSanka
ebdad12ace Fix of #1619 2019-01-11 17:19:09 +01:00
YuSanka
393c72aa8e 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
e75ea49559 Completed uniform scale in sidebar 2019-01-09 09:47:05 +01:00
YuSanka
392f6595fa Added SetLock() function for PrusaLockButton 2019-01-09 08:52:08 +01:00
Enrico Turri
3590ac425b Uniform scale is sidebar 2019-01-08 15:16:40 +01:00
YuSanka
5f13491906 Added "uniform scaling" button 2019-01-08 13:34:47 +01:00
Enrico Turri
7b832c76d5 Fixed sidebar size fields update (which was broken again) 2019-01-08 09:51:58 +01:00
Enrico Turri
159ad1bae1 Fix of #1590 2019-01-07 10:53:48 +01:00
Enrico Turri
21203b4cb2 Fixed object size changes using sidebar 2019-01-04 13:59:41 +01:00
Enrico Turri
ca96189510 Further improvement in objects manipulation using sidebar (multiselection) 2019-01-03 11:24:03 +01:00
Enrico Turri
d24eeedd32 Improved objects manipulation using sidebar 2019-01-02 13:42:29 +01:00
Enrico Turri
31986660a1 Model's volume transform set as default 2019-01-02 10:49:13 +01:00
Enrico Turri
0bc58d6155 Fix for #1549 2019-01-02 10:18:02 +01:00
bubnikv
1b218df8a2 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
ebf2f4e6ff Another fix on volumes translation 2018-12-19 15:03:49 +01:00
Enrico Turri
be943e9d53 Sidebar matrix field behavior for multiple volume selection 2018-12-18 14:08:46 +01:00
Enrico Turri
88f2edb7b4 Sidebar matrix field behavior for single full object selection 2018-12-18 11:50:22 +01:00
Enrico Turri
dbbd2fa9c6 Sidebar matrix field behavior for single full instance selection 2018-12-18 11:11:06 +01:00
Enrico Turri
11cd2428a8 Sidebar matrix fields focus handling 2018-12-18 10:40:53 +01:00
Enrico Turri
888dafac6f Added size fields to sidebar matrix manipulators 2018-12-18 10:10:14 +01:00
Enrico Turri
067dc4414a Removed unneeded methods from ObjectManipulation 2018-12-18 09:34:41 +01:00
YuSanka
f9d6db057a Added template for the handle of the TextCtrl's focus event 2018-12-11 14:05:56 +01:00
YuSanka
5d55b1d612 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
91ac484405 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
933a2475a1 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
25f2cd2450 Position(Displacement)/Rotation/Scale for group selection 2018-11-22 16:09:28 +01:00
Enrico Turri
f94888f606 Small refactoring 2018-11-21 10:36:09 +01:00
Enrico Turri
01ac2fd751 Update transformation values in sidebar for single volume/modifier selection 2018-11-21 09:45:43 +01:00
Enrico Turri
dbb1671801 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
ba941a148e 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
13077f41c8 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
06cd38faf0 Added "change position" from modification pane 2018-11-14 16:24:55 +01:00
YuSanka
76aa15d16f Fixed crashing on reset_settings_value() 2018-11-14 13:40:55 +01:00
YuSanka
4a1d13ae5d 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
4094098081 Fixed typo bug 2018-11-13 08:00:27 +01:00
YuSanka
7117049921 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
76360c9dfa 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
8bd37b6d28 Translation of ModelVolume as transformation component (without modifying the mesh) 2018-11-02 12:11:28 +01:00
YuSanka
71085f85f6 Fixed splitting of the objects with instances 2018-11-01 16:24:20 +01:00
Enrico Turri
fff76c6aae New selection set as default 2018-11-01 10:06:55 +01:00
YuSanka
59d40050e2 Fixed part settings updating 2018-10-31 16:06:32 +01:00
YuSanka
0167087d7d Some code review 2018-10-31 12:58:35 +01:00
YuSanka
833d26b32d Ported show_sliced_info_sizer
+ some code-view changes
2018-10-31 12:58:35 +01:00
YuSanka
95c8295a93 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