Commit Graph

141 Commits

Author SHA1 Message Date
YuSanka
8b5864a5fa Rewrote UI for ObjectManipulation without using of OptionsGrope 2019-09-18 15:10:36 +02:00
YuSanka
4d4b95995e Fixed re-scaling under MSW for Layers editing
+ Clean code in GUI_ObjectManipulation.cpp
2019-09-17 13:41:44 +02:00
Lukas Matena
32f79f143b Fixed several warnings (Config.hpp and few other files) 2019-09-06 15:55:07 +02:00
YuSanka
9662417488 Fixed sidebar layouts for selected "Object" and "Layers" items in ObjectList 2019-09-04 09:24:44 +02:00
bubnikv
039e4bbcff Improved wording of some UI texts and tooltips. 2019-08-27 11:39:51 +02:00
bubnikv
cd0137c9ab Merge remote-tracking branch 'remotes/origin/ys_bf_msw_scale' 2019-08-20 16:53:23 +02:00
YuSanka
a9728c4cbc Mirroring buttons: Fixed scaling issues and ensured proper hiding on Win 2019-08-01 14:39:23 +02:00
Lukas Matena
f497adf464 Changed snapshot names for reset scale/reset rotation/drop to bed functions (it's done a bit simpler this time) 2019-08-01 12:41:31 +02:00
Lukas Matena
70a475d8f6 Revert "Changed snapshot names for reset rotation/reset scale/drop to bed functions"
This reverts commit 1ca8ff1285.
2019-08-01 12:23:39 +02:00
Lukas Matena
1ec055cbd8 Changed snapshot names for reset rotation/reset scale/drop to bed functions 2019-08-01 10:58:52 +02:00
Lukas Matena
985bba497a Added new icons for mirroring buttons and 'drop modifier to bed' function 2019-07-30 08:39:38 +02:00
Vojtech Kral
3a30c45348 Fix a memory access bug in ObjectManipulation 2019-07-19 17:58:46 +02:00
bubnikv
e103460386 Storing the active printer technology onto the Undo / Redo stack,
remembering the last selected Printer profile for the SLA and FDM
technologies separately, and activating them on Undo / Redo.

When switching the technologies, user is asked whether to discard
the modified profiles or not.
2019-07-18 17:41:47 +02:00
Enrico Turri
459dd8f1af Fixed use of translate macros 2019-07-17 14:13:50 +02:00
bubnikv
e8e35579dd Merge remote-tracking branch 'remotes/origin/vb_undo_redo' 2019-07-15 11:34:18 +02:00
Lukas Matena
33065e5a82 Merge branch 'lm_drop_to_bed' 2019-07-12 13:38:18 +02:00
Enrico Turri
3bd9bb360e Modified logic to add snapshots to undo/redo stack using GLCanvas::do_xxxxxx() methods 2019-07-09 10:18:57 +02:00
bubnikv
bc46cd3036 Fix of the Undo / Redo for Cut.
Added some more operations (for example Rotation) to the Undo / Redo.
2019-07-05 19:46:48 +02:00
bubnikv
445cd20919 Undo / Redo fixes 2019-07-05 19:06:19 +02:00
Enrico Turri
e22181e2c1 Added member BoundingBoxf3 m_bounding_box to GLIndexedVertexArray and removed member BoundingBoxf3 bounding_box from GLVolume 2019-07-01 13:26:06 +02:00
YuSanka
8e9df09e72 Added "info" tooltip for a LockButton on Manipulation panel (#2539) 2019-06-20 12:56:23 +02:00
Lukas Matena
c66cc356ab Drop to bed function now accounts for instance transformation 2019-06-19 11:53:08 +02:00
Lukas Matena
7993ffa1e5 Added 'drop to bed' button into object manipulation panel 2019-06-19 11:04:12 +02:00
Lukas Matena
7dbb1801e2 GUI_ObjectManipulation.cpp - Removed implicit capture by value in some of the lambdas 2019-06-19 11:04:12 +02:00
YuSanka
98c11164b8 Experiments with msw_rescale fixing 2019-06-18 18:02:40 +02:00
bubnikv
06de3c0d6e A bit of documentation of the mirroring and reset buttons at the side panel. 2019-06-18 09:57:07 +02:00
Lukas Matena
4b8ab92630 Reset buttons: synchronization of instances/volumes 2019-06-14 15:28:09 +02:00
Lukas Matena
0610d209ed Reset buttons - fixed rotation of instances with multiple volumes
Mirroring buttons now hide where appropriate
2019-06-14 15:28:09 +02:00
Lukas Matena
e9b7479a7b Added mirroring buttons into object manipulation panel 2019-06-14 15:03:42 +02:00
Lukas Matena
a4d0632a05 Added transformation reset buttons in object manipulation panel 2019-06-14 15:03:42 +02:00
Enrico Turri
9734c7e1d9 Merge branch 'master' of https://github.com/prusa3d/Slic3r 2019-05-09 11:49:23 +02:00
YuSanka
fd79dce088 Implemented msw_rescale_word_local_combo()
for scaling of the coordinate system combobox
2019-05-09 11:44:14 +02:00
Enrico Turri
611a77d0e3 Fixed disappearing visual hints when the user presses the ENTER key while editing one of the object manipulators fields 2019-05-09 11:43:28 +02:00
bubnikv
3169baae09 Switch the side panel to World Coordinates in the Simple Mode. 2019-05-07 16:16:35 +02:00
bubnikv
21bc798fd6 World / local coordinates: Fixed wrong scaling of a group selection,
changed the "anisotropic scaling" - "embed vertices" message,
fixed scaling in the world coordinate system, so it does not count
the modifiers into the bounding box size.
2019-05-07 15:43:53 +02:00
bubnikv
09673970f7 Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation 2019-05-03 19:13:47 +02:00
bubnikv
6ae851ff90 Implemented the "Support for support enforcers only" quick selection.
Reduced some memory leaks due to the ConfigDef::default_value pointer.
2019-05-03 18:01:39 +02:00
YuSanka
f7c475bbb0 Fixed full statistics calculation
(calculate sum of volume and part_count only for solid parts)
2019-05-03 13:09:42 +02:00
bubnikv
50758c4cd0 Changed the "non-uniform scaling is not possible" message. 2019-05-03 12:36:26 +02:00
YuSanka
ac117b2e32 Fixed typo 2019-05-02 09:54:18 +02:00
YuSanka
8d6dc63c2f Changed update_warning_icon_state() signature
(next try to fix OSX compilation)
2019-05-02 08:33:38 +02:00
bubnikv
9fd6b76437 Implemented scaling of instances through the object manipulation box
for rotated, but still axis aligned coordinate systems.
2019-05-01 11:33:41 +02:00
YuSanka
2691bebf0c Next try 2019-04-30 09:38:23 +02:00
bubnikv
008f004b48 Fixed a bug, where std::string and wxString were mixed up. 2019-04-29 18:10:08 +02:00
YuSanka
22f170e29e ObjectList improvements: Added warning icon for Parts with a repaired errors 2019-04-29 15:27:59 +02:00
bubnikv
d60a5c53f8 Merge remote-tracking branch 'remotes/origin/master' into vb_wold_object_manipulation 2019-04-26 17:42:51 +02:00
bubnikv
b0830d062b WIP: Transformation of instances in world coordinate space:
Ulocking the "anisotropic" scaling checkbox will bake the transformation
into meshes to allow for scaling in world axes.

Optimized and templated the stl_transform functions, now also available for 3x3 matrices.
The Canvas3D::reload_scene() now maintains selection even if all volumes of an instance changed their IDs.
2019-04-26 17:28:31 +02:00
bubnikv
a3e64e456c WIP, non-uniform scaling in the world coordinate system:
Disable non-uniform scaling when switching to the World coordinate system
and the rotation is not multiples of ninety degrees.
Ask user whether to bake in the transformations into the meshes if
enabling the non-uniform scaling in that case.
2019-04-25 09:24:33 +02:00
YuSanka
7625bf118b Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-25 08:12:19 +02:00
YuSanka
0da12d08fd Big Refactoring: - deleted/renamed all _Prusa_ prefixes,
- cleaned code from commented parts
 - rescale() -> msw_rescale()
2019-04-25 01:45:00 +02:00