Commit Graph

12123 Commits

Author SHA1 Message Date
bubnikv
9ef65b23d8 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
Lukas Matena
a6f7fc93f4 Gizmo updates - forget everything about the loaded mesh when an object is deselected 2020-01-30 15:26:23 +01:00
YuSanka
570f77cbdc Implemented DnD for objects inside ObjectList 2020-01-30 15:01:47 +01:00
Lukas Matena
4f43c6d3f8 SlaSupports gizmo - most of updating now assumes that common data struct is updated properly 2020-01-30 14:31:52 +01:00
Lukas Matena
08dcbd0271 Hollowing gizmo - most of updating now assumes that common data struct is updated properly 2020-01-30 14:31:39 +01:00
bubnikv
1278aabf3e Fixed some compiler warnings. 2020-01-30 13:00:51 +01:00
bubnikv
d590d5cad8 Created Creality.idx
bumped up the version number for Creality.ini
2020-01-30 13:00:26 +01:00
bubnikv
c5fa400208 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
Lukas Matena
b0aa937215 Trying to improve drilling stability by handling CGAL exceptions 2020-01-29 15:57:49 +01:00
Enrico Turri
e679bcced6 Follow-up of 17a6b696e7 -> Fixed missing imgui window size initialization 2020-01-29 15:40:56 +01:00
Enrico Turri
da3cb30b7c Follow-up of 17a6b696e7 -> Fixed build when tech ENABLE_6DOF_CAMERA is disabled 2020-01-29 14:44:03 +01:00
tamasmeszaros
7156ed9987 Remove redundant code 2020-01-29 14:13:21 +01:00
Lukas Matena
b41c6d7d64 Refuse to drill a broken mesh
Hole parameters defaults and limits changed a bit
2020-01-29 14:07:12 +01:00
Enrico Turri
f7f1e2ce42 Merge branch 'master' of https://github.com/prusa3d/PrusaSlicer 2020-01-29 12:09:34 +01:00
Enrico Turri
17a6b696e7 Workaround to fix SPE-1082 + refactoring of 6 dof camera 2020-01-29 12:08:38 +01:00
Lukas Matena
3f73261fdb 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
Lukas Matena
46fdce1169 SLA gizmos can now fetch hollowed and drilled mesh from the backend 2020-01-29 10:08:26 +01:00
Lukas Matena
76927ce399 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
Lukas Matena
5ae2f8a467 Function sla_trafo made accessible from outside SLAPrint.cpp unit 2020-01-29 10:07:10 +01:00
YuSanka
d45744b7bb Typo fix for a38735b4ae 2020-01-28 16:40:31 +01:00
YuSanka
cd2973fad3 Typo fix for a38735b4ae 2020-01-28 16:23:55 +01:00
YuSanka
a38735b4ae 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
tamasmeszaros
6988752d05 Re-apply fix for Win32 2020-01-28 15:24:23 +01:00
tamasmeszaros
9d0d0cde21 Fix broken build on non-linux platforms 2020-01-28 15:08:07 +01:00
tamasmeszaros
3e8ef6819a Merge branch 'tm_cgal_fix_SPE-1087' 2020-01-28 14:50:50 +01:00
tamasmeszaros
04a58e41c4 Fix cgal when used from distro package
fix CMake -frounding-math propagation from CGAL.
2020-01-28 14:49:39 +01:00
Enrico Turri
69549af9ac Invalidate object bounding box after arrange 2020-01-28 11:11:45 +01:00
Enrico Turri
15cb8ec653 Another refactoring into class Camera 2020-01-28 09:13:54 +01:00
YuSanka
635def1648 Fixed an icon scaling in the ObjectList under OSX 2020-01-27 16:30:09 +01:00
YuSanka
cf7d7bd40f Fixed menu icons scaling under OSX 2020-01-27 14:58:11 +01:00
YuSanka
d8b1d074a1 Implemented upgrade_text_entry_dialog() fuction to avoid a getting an empty string from wxTextEntryDialog (disable OK button, if TextCtrl is empty)
All mode conflicting or meaningless ticks are marked by "exclamation" icon and described in tooltip.
2020-01-27 14:36:32 +01:00
tamasmeszaros
be8f464bf8 Remove some gtk warnings on application start. 2020-01-27 14:31:49 +01:00
tamasmeszaros
71574b2dd4 Merge branch 'tm_fix_mac_build' 2020-01-27 13:56:28 +01:00
tamasmeszaros
3e5dce771f Set OpenVDB_FOUND if no debug but release is there and not on MSVC 2020-01-27 13:51:57 +01:00
Enrico Turri
83e8cfa206 Small refactoring into class Camera 2020-01-27 13:39:44 +01:00
tamasmeszaros
9f085c133a Try to fix cmake - openvdb on mac 2020-01-27 12:45:20 +01:00
bubnikv
dced3ce783 Fix of 2.2.0-A3: Sequential Printing: Wrong location after slicing #3570
This is a regression from 71fa411
2020-01-24 17:11:14 +01:00
tamasmeszaros
6945a20e9a Merge branch 'tm_sla_full_config' 2020-01-24 15:25:18 +01:00
tamasmeszaros
848fe4750f Add prusaslicer.ini to sl1 output zip 2020-01-24 15:23:59 +01:00
bubnikv
d937ac1ed3 Forcing a print bed update after config or config bundle is loaded.
The solution is hackish, but a major refactoring would be needed
to avoid multiple refreshes of the print bed, and to avoid
expensive checks at Plater::on_config_change() every time
a config value changes at a parameter tab.
2020-01-24 15:16:36 +01:00
tamasmeszaros
743a03a8c2 append full config to sla zipped ini
SPE-1081
2020-01-24 14:31:31 +01:00
tamasmeszaros
fd11dcd44b Merge branch 'tm_hollowing' 2020-01-24 14:27:23 +01:00
tamasmeszaros
7591637c89 Bugfixes and refactoring for SLA backend
remove duplicate code


Mark conversion constructors of EigenMesh3D `explicit`


Working on mesh simplification for hollowed interior


Fix bug SPE-1074: crash with empty supports and disabled pad.


fix regression after refactor


Remove unfinished code


Fix missing includes and dumb comments
2020-01-24 14:26:19 +01:00
tamasmeszaros
9f6ad70f0b Merge branch 'lm_tm_hollowing' 2020-01-24 13:51:49 +01:00
tamasmeszaros
c6a2b69419 32 bit MSVC workaround for CGAL 2020-01-24 13:41:37 +01:00
Enrico Turri
71ebb0f2c6 Removed duplicate definition in Preset::sla_printer_options() 2020-01-24 12:59:26 +01:00
tamasmeszaros
e05d38bdd0 Fix the previous fix 2020-01-24 12:35:50 +01:00
YuSanka
cb3ad0a422 Updated tooltips for DoubleSlider
*partially related to #3543
2020-01-24 11:51:37 +01:00
Lukas Matena
cf391383a8 Merge branch 'lm_drilling_backend' 2020-01-24 10:56:40 +01:00
Lukas Matena
1c0aedbbe5 Hollowing gizmo can now trigger the backend calculation 2020-01-24 10:53:40 +01:00