Commit Graph

150 Commits

Author SHA1 Message Date
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
YuSanka
56c063546f Merge remote-tracking branch 'origin/ys_msw_dpi' 2019-04-24 23:09:50 +02:00
bubnikv
abed8ed843 WIP: World / local transformations of an object instance from the side panel. 2019-04-24 19:03:05 +02:00
YuSanka
903f22a28a Changed Manipulation panel. (Simple mode)There is exclamation mark icon next for the object name, if it has errors.
+ some code refactoring
2019-04-24 13:33:05 +02:00
bubnikv
fbf6dd5af9 WIP: Transformations of an instance in world coordinate system
from the side panel.
2019-04-24 11:01:59 +02:00
Vojtech Bubnik
2a26666054 Some refactoring and documentation, modified Windows dependencies to compile against patched wxWidgets 2019-04-23 12:35:26 +02:00
YuSanka
70e794f17d Application Scaling for MSW: Added rescale function for DoubleSlider (from Preview), ObjectList, ManipulationPanel and SettingsPanel
+ Set wider default size for Preset Comboboxes from Tabs (#2023)
2019-04-16 10:05:45 +02:00
YuSanka
252381aa38 Application Scaling for MSW: Next big step
- Added rescale() function for the most of controls
 - Created PrusaBitmap and PrusaButton classes like a wrap to wxBitmap and wxButton accordingly
2019-04-13 23:46:52 +02:00
Vojtech Kral
b7a3f8de30 Fix SVG & bitmap scaling on Mac depending on Retina scaling 2019-04-09 15:16:10 +02:00
YuSanka
8dc3dc3d4b Icon updating for all application 2019-04-08 11:10:57 +02:00
YuSanka
40c5bbc0aa Improved Selection from ObjectList side 2019-04-04 18:03:40 +02:00
Enrico Turri
2c51e432e3 Fixed negative values for size shown in the sidebar matrix fields when mirroring is applied 2019-04-03 09:05:52 +02:00
Enrico Turri
64e71aec14 Fixed non-uniform scale of single volumes selection when made using the sidebar matrix fields 2019-03-22 11:51:10 +01:00
Enrico Turri
ae6a6f0e0e Another fix for Linuz and Mac builds 2019-03-19 15:58:18 +01:00
Enrico Turri
604356840d Fixed build on Linux and Mac 2019-03-19 15:33:09 +01:00
Enrico Turri
0bc6614cc6 GLCanvas3D::Selection as a standalone class 2019-03-19 13:30:21 +01:00
bubnikv
7e9c73fbda Fix of instance rotations from the side panel
in regard to instance synchronization.
2019-03-01 15:35:48 +01:00
bubnikv
c6a6f3caf9 Fixed rotation of single instance -> it works now with absolute values.
Added Absolute / relative, World / Local, Rigid body / independent
modifier parameter to the object / group rotation.
2019-03-01 10:20:12 +01:00
YuSanka
fdf2f07445 Fixed OSX-build 2019-02-21 11:44:01 +01:00
bubnikv
ebd11c3f7c Merge remote-tracking branch 'origin/ys_hdpi' 2019-02-20 16:20:30 +01:00
YuSanka
369cda4cd3 Added scaling for more some dialogs
+ Set size for mode buttons
2019-02-11 14:14:35 +01:00
YuSanka
e09a6b7945 Fix of #1771 2019-02-07 16:33:14 +01:00
Enrico Turri
ddc4092869 Fix of #1782 2019-02-07 09:22:04 +01:00
YuSanka
774f4096e2 Fixed scaling of the controls and InfoDialogs (Sys and About) 2019-02-06 10:13:27 +01:00
YuSanka
a412e95a1e Fixed rounding of numbers for the controls width (Try to fix controls flashing on HDPI/linux) 2019-02-04 12:07:15 +01:00
YuSanka
daa450b8aa Merge remote-tracking branch 'origin/master' into ys_hdpi 2019-02-04 10:38:23 +01:00
YuSanka
042b206a2e Fixed "hard_code" setting of the size for the Sidebar and Tabs
+ Fixed assert after config_wizard changing
2019-02-04 10:35:16 +01:00
Enrico Turri
b0a732d2de Emulation of kill focus event on object manipulator fields when changing selection into objects list [WIN+LINUX] 2019-01-31 14:12:07 +01:00
Enrico Turri
a9955a4bc8 Added debug output to test event handling sequence between Objects List and Object Manipulator fields 2019-01-30 12:18:01 +01:00
Enrico Turri
252861aa65 Fix of rotations using sidebar fields 2019-01-29 11:26:35 +01:00
Enrico Turri
362c117ef0 ENABLE_IMPROVED_SIDEBAR_OBJECTS_MANIPULATION set as default 2019-01-28 16:06:44 +01:00
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