Commit Graph

13712 Commits

Author SHA1 Message Date
23f8bebcd1 Rotate Gizmo -> added rotations using arrow keys:
Left arrow = 90 degrees around Z axis CCW

Right arrow = 90 degrees around Z axis CW

Up arrow = 45 degrees around Z axis CCW

Down arrow = 45 degrees around Z axis CW
2020-02-03 14:51:25 +01:00
3d80934c9e Move Gizmo -> added movements using arrow keys:
Left arrow = decrease X by 1mm

Right arrow = increase X by 1mm

Up arrow = increase Y by 1mm

Down arrow = decrease Y by 1mm
2020-02-03 14:39:16 +01:00
cae4e5bcca Speed up of libigl SelfIntersectMesh:
The test for intersection of two triangles sharing a common edge
has been optimized to reject non-overlaping triangles with
the least amount of exact arithmetics predicates.

Cherry pick of
d367762468
2020-02-03 14:01:35 +01:00
30c1ca3b58 3D scene labels transparent to mouse click 2020-02-03 13:24:11 +01:00
3423e05248 Added sequential print order id to 3D scene labels 2020-02-03 11:44:26 +01:00
651f6db83b Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_labels 2020-02-03 11:43:37 +01:00
b65893025a remove duplicate string_printf
#3594, #3592
2020-02-03 11:19:11 +01:00
937ade7379 string_printf Wformat-security hack #
#3594, #3592
2020-02-03 11:09:54 +01:00
5cb61dc789 missing includes 2020-02-03 10:13:15 +01:00
cb49940662 Added missed include under OSX 2020-02-03 09:24:58 +01:00
d344e3e2b4 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_labels 2020-02-03 08:23:55 +01:00
530c586277 ObjectDataViewModel is extracted from wxExtentions to the separated file
+ parse_color function is moved to BitmapCache from PresetBundle
2020-02-02 22:22:40 +01:00
1a6c8d786e Mark a tick as a conflict, if it has a ToolChange to the same extruder 2020-02-02 21:20:48 +01:00
737715c317 Fixed build under OSX 2020-02-02 19:40:00 +01:00
1278f0a93b Added missed include for OSX 2020-01-31 21:03:17 +01:00
82bb5be1f6 To fix blurred icons under OSX there is implemented PresetBitmapComboBox, derived from wxBitmapComboBox,
which now will be used for preset choosers on sidebar a preset tabs.

+ for BitmapCache class added m_scale used for correct scaling of SVG images on Retina displays

+ some code clearing from unused functions or function's parameters
2020-01-31 16:57:45 +01:00
9e0614f416 Fix of tripping glAssert after switching to Preview on Linux/GTK2
(fix suggested and thus approved by @enricoturri1966)
2020-01-31 14:50:37 +01:00
43520a50fa Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-01-31 12:15:14 +01:00
30c2e0145d #3580 - Added menu item 'Edit/Reload from disk' and F5 key acceleration to reload the entire plater 2020-01-31 12:15:04 +01:00
9c68f20898 Put hole drilling into separate step 2020-01-31 08:58:21 +01:00
fd65628807 [refactor] Move remaining utility functions into sla_test_utils 2020-01-31 08:56:46 +01:00
fed51de77f Fixed a crash during cut (typo introduced in 645f13a) 2020-01-31 08:54:41 +01:00
b4d20a1198 Implemented loading of hollowed SLA mesh into the scene
in place of the normal mesh.

WIP: The code is inefficient (it does not store the timestamp
of the hollowed mesh, therefore it refreshes the hollowed mesh on each
scene update) and if the hollowing gets invalidated, the original mesh
is currently not being reloaded and the hollowed mesh is still visible.
2020-01-30 17:58:49 +01:00
5ba0e67c35 Gizmo updates - forget everything about the loaded mesh when an object is deselected 2020-01-30 15:26:23 +01:00
4bb45f01cc Implemented DnD for objects inside ObjectList 2020-01-30 15:01:47 +01:00
021944dde7 SlaSupports gizmo - most of updating now assumes that common data struct is updated properly 2020-01-30 14:31:52 +01:00
80842be583 Hollowing gizmo - most of updating now assumes that common data struct is updated properly 2020-01-30 14:31:39 +01:00
d575b662d3 Fixed some compiler warnings. 2020-01-30 13:00:51 +01:00
53f316ef04 Created Creality.idx
bumped up the version number for Creality.ini
2020-01-30 13:00:26 +01:00
6687c029e8 Fixed regression of 71fa411100
where the PrintObject bounding box was not invalidated correctly
when the transformation matrices of instances changed.

Also refactored PrintObject::size() for const correctness.
2020-01-30 12:22:30 +01:00
5ef96b1216 Trying to improve drilling stability by handling CGAL exceptions 2020-01-29 15:57:49 +01:00
084be76425 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_labels 2020-01-29 15:46:48 +01:00
0218baf66d Follow-up of 17a6b696e7 -> Fixed missing imgui window size initialization 2020-01-29 15:40:56 +01:00
0b5d0cfe38 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_labels 2020-01-29 14:46:09 +01:00
2f2fc2f17b Follow-up of 17a6b696e7 -> Fixed build when tech ENABLE_6DOF_CAMERA is disabled 2020-01-29 14:44:03 +01:00
2aa3b9c0a6 Remove redundant code 2020-01-29 14:13:21 +01:00
0f62f0a010 Refuse to drill a broken mesh
Hole parameters defaults and limits changed a bit
2020-01-29 14:07:12 +01:00
b9562e8754 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer into et_labels 2020-01-29 12:31:50 +01:00
61d4fe5c35 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-01-29 12:09:34 +01:00
763d0ee01a Workaround to fix SPE-1082 + refactoring of 6 dof camera 2020-01-29 12:08:38 +01:00
370255ac6a Fixed transformation of the hollowed mesh to be used at frontend
Common gizmos data update is called from GLGizmoManager
2020-01-29 10:08:26 +01:00
3155e844bb SLA gizmos can now fetch hollowed and drilled mesh from the backend 2020-01-29 10:08:26 +01:00
5da2825f6f REVERT LATER: TEMPORARILY MANGLED reload_scene FUNCTION
This commit horribly cripples reload_scene function just to update volumes in scene so that Hollowing and SLASupport gizmos can be updated to the new logic
    It should be later reverted and the same be achieved in a better way
2020-01-29 10:07:59 +01:00
5984ecaff2 Function sla_trafo made accessible from outside SLAPrint.cpp unit 2020-01-29 10:07:10 +01:00
b3982d2973 Typo fix for a38735b4ae 2020-01-28 16:40:31 +01:00
940c31df5f Typo fix for a38735b4ae 2020-01-28 16:23:55 +01:00
85b1b56eac More fix of svg icons scaling under OSX (to avoid icon's blurring)
+ some code cleaning from unused text
2020-01-28 16:17:51 +01:00
d4b957f86a Added extra frame renders to let labels grow to their final size 2020-01-28 15:57:02 +01:00
97fe1c42d3 Re-apply fix for Win32 2020-01-28 15:24:23 +01:00
e016942b35 Fix broken build on non-linux platforms 2020-01-28 15:08:07 +01:00