Commit Graph

145 Commits

Author SHA1 Message Date
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
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
7625bf118b Merge remote-tracking branch 'origin/master' into ys_ftn_improvements 2019-04-25 08:12:19 +02:00
0da12d08fd Big Refactoring: - deleted/renamed all _Prusa_ prefixes,
- cleaned code from commented parts
 - rescale() -> msw_rescale()
2019-04-25 01:45:00 +02:00
56c063546f Merge remote-tracking branch 'origin/ys_msw_dpi' 2019-04-24 23:09:50 +02:00
abed8ed843 WIP: World / local transformations of an object instance from the side panel. 2019-04-24 19:03:05 +02:00
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
fbf6dd5af9 WIP: Transformations of an instance in world coordinate system
from the side panel.
2019-04-24 11:01:59 +02:00
2a26666054 Some refactoring and documentation, modified Windows dependencies to compile against patched wxWidgets 2019-04-23 12:35:26 +02:00
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
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
b7a3f8de30 Fix SVG & bitmap scaling on Mac depending on Retina scaling 2019-04-09 15:16:10 +02:00
8dc3dc3d4b Icon updating for all application 2019-04-08 11:10:57 +02:00
40c5bbc0aa Improved Selection from ObjectList side 2019-04-04 18:03:40 +02:00
2c51e432e3 Fixed negative values for size shown in the sidebar matrix fields when mirroring is applied 2019-04-03 09:05:52 +02:00
64e71aec14 Fixed non-uniform scale of single volumes selection when made using the sidebar matrix fields 2019-03-22 11:51:10 +01:00
ae6a6f0e0e Another fix for Linuz and Mac builds 2019-03-19 15:58:18 +01:00
604356840d Fixed build on Linux and Mac 2019-03-19 15:33:09 +01:00
0bc6614cc6 GLCanvas3D::Selection as a standalone class 2019-03-19 13:30:21 +01:00
7e9c73fbda Fix of instance rotations from the side panel
in regard to instance synchronization.
2019-03-01 15:35:48 +01:00
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
fdf2f07445 Fixed OSX-build 2019-02-21 11:44:01 +01:00
ebd11c3f7c Merge remote-tracking branch 'origin/ys_hdpi' 2019-02-20 16:20:30 +01:00
369cda4cd3 Added scaling for more some dialogs
+ Set size for mode buttons
2019-02-11 14:14:35 +01:00
e09a6b7945 Fix of #1771 2019-02-07 16:33:14 +01:00
ddc4092869 Fix of #1782 2019-02-07 09:22:04 +01:00
774f4096e2 Fixed scaling of the controls and InfoDialogs (Sys and About) 2019-02-06 10:13:27 +01:00
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
daa450b8aa Merge remote-tracking branch 'origin/master' into ys_hdpi 2019-02-04 10:38:23 +01:00
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
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
a9955a4bc8 Added debug output to test event handling sequence between Objects List and Object Manipulator fields 2019-01-30 12:18:01 +01:00
252861aa65 Fix of rotations using sidebar fields 2019-01-29 11:26:35 +01:00
362c117ef0 ENABLE_IMPROVED_SIDEBAR_OBJECTS_MANIPULATION set as default 2019-01-28 16:06:44 +01:00
d1a1d5f723 Fixed synchronization between Objects List and Object manipulator table 2019-01-28 15:50:02 +01:00
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
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
69d860389b Sidebar object manipulation fields updated on idle event 2019-01-24 11:37:58 +01:00
ee1e590858 L10n improvements 2019-01-21 12:34:28 +01:00
38f8c899f0 Fixed rotation of single volumes using rotate gizmo 2019-01-15 09:30:12 +01:00
ebdad12ace Fix of #1619 2019-01-11 17:19:09 +01:00
393c72aa8e Implemented ModeSizer with ModeButtons for the mode view changing from the settings tabs and plater 2019-01-10 11:09:31 +01:00
e75ea49559 Completed uniform scale in sidebar 2019-01-09 09:47:05 +01:00
392f6595fa Added SetLock() function for PrusaLockButton 2019-01-09 08:52:08 +01:00
3590ac425b Uniform scale is sidebar 2019-01-08 15:16:40 +01:00
5f13491906 Added "uniform scaling" button 2019-01-08 13:34:47 +01:00
7b832c76d5 Fixed sidebar size fields update (which was broken again) 2019-01-08 09:51:58 +01:00
159ad1bae1 Fix of #1590 2019-01-07 10:53:48 +01:00
21203b4cb2 Fixed object size changes using sidebar 2019-01-04 13:59:41 +01:00
ca96189510 Further improvement in objects manipulation using sidebar (multiselection) 2019-01-03 11:24:03 +01:00