Commit Graph

1408 Commits

Author SHA1 Message Date
bubnikv
672cf5d45f Parallelization of large part of the SLA support point calculation.
New 3D grid to check, whether two support points are not too close.
2019-02-18 11:46:06 +01:00
bubnikv
388f2aac71 Fix of a merge error. 2019-02-17 13:26:17 +01:00
bubnikv
09cce95181 Merge branch 'lm_sla_supports_auto2' of https://github.com/prusa3d/Slic3r into lm_sla_supports_auto2 2019-02-17 13:09:16 +01:00
bubnikv
fcc1b2ad69 Reworked polygon sampling for SLA auto support generation.
Conditional compilation of an igl winding number tree for SLA support generator, as it is not used as of now and initialization of the tree is expensive.
Fixed issue with passing the new SLA point definition to the back end and back to the UI.
2019-02-17 13:05:22 +01:00
Lukas Matena
d1529296c6 Added a wxMessageDialog as an alternative to the ImGui modal, in case it turns out not good enough 2019-02-11 17:09:15 +01:00
Lukas Matena
ac8f9ab3dc SLA gizmo improvements
- point can be selected
- selection can be deleted, head diameter changed
- dragging of objects is not allowed with the gizmo being on
- added a modal dialog when automatic support generator is triggered
2019-02-11 16:29:03 +01:00
Lukas Matena
0453caf266 SLA gizmo - shift-up and ctrl+a event passing 2019-02-11 08:21:37 +01:00
Lukas Matena
fd4054be7e First steps on the rectangular selection for the SLA gizmo 2019-02-09 07:19:01 +01:00
bubnikv
d0553ece0e Extended tesselation wrapper for other 3d and 2d point types. 2019-02-08 09:26:48 +01:00
Lukas Matena
4357c80793 SLA gizmo - fixed hiding of objects and instances 2019-02-06 17:27:02 +01:00
Lukas Matena
9fc75d7b34 SLA support points (better backend->frontend synchronization and more)
- backend to frontend data synchronization to inform the gizmo that new points have been generated
- fixed the inadvertent cancellation of background processing caused by the SLA gizmo touching frontend data during the process
- inactive instances of the object are hidden when the SLA gizmo is active
- fix of imgui combobox rendering
2019-02-06 15:16:25 +01:00
bubnikv
fb6f3d8431 Send EVT_SLICING_UPDATE with RELOAD_SLA_SUPPORT_POINTS
once object's support points are calculated by the backend.
2019-02-06 14:18:04 +01:00
bubnikv
d31cb98fe9 Merge remote-tracking branch 'remotes/origin/master' into lm_sla_supports_auto2 2019-02-06 11:11:51 +01:00
bubnikv
6ef9c23d19 Merge branch 'master' into lm_sla_supports_auto2 2019-02-06 11:10:18 +01:00
Lukas Matena
906e66ea80 Tiny fix of previous commit 2019-02-06 11:09:00 +01:00
bubnikv
0e8b526af3 Vojtech's optimizations 2019-02-06 10:57:45 +01:00
Vojtech Kral
6ab6829b8d doc: Add SLIC3R_WX_STABLE to Linux build doc #1779 2019-02-06 09:23:20 +01:00
bubnikv
72d85261fb Fix of mouse wheel scrolling over the variable layer height bar
with OSX Retina rendering.
2019-02-06 08:44:06 +01:00
bubnikv
7719173f89 Fixed compilation on OSX 2019-02-05 21:26:52 +01:00
bubnikv
0b90e5177c Fixed missing include 2019-02-05 21:05:31 +01:00
bubnikv
5fedb5f232 Fixed last buggy commit. 2019-02-05 20:54:01 +01:00
bubnikv
f22926649c Polished up the tesselator. 2019-02-05 20:49:09 +01:00
bubnikv
e3ed05491e Added the new Tesselate.cpp/hpp 2019-02-05 20:24:25 +01:00
bubnikv
8982664551 Improved stability (fixed crashes) of the Cut by plane function by
replacing the cut triangulation with freeglu tesselator.
Added performance tracing output of the Cut by plane function.
Added wait cursor to split to parts / objects, object cut, save to AMF/3MF.
2019-02-05 20:23:24 +01:00
bubnikv
3dc6e266ed Updated GLCanvas3D to use the tesselator through libslic3r 2019-02-05 19:45:52 +01:00
bubnikv
2a7e5bc0ae Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-05 18:14:27 +01:00
bubnikv
f797083ca2 WIP Added libtess library extracted from
https://cgit.freedesktop.org/mesa/glu/
The library is stable (it should be, since it is in use since 1994),
but it is not thread safe: Its callbacks do not receive any pointer
to a context.
2019-02-05 18:14:07 +01:00
Vojtech Kral
c3ea735bc8 Fix usage of CallAfter vs modal dialogs in slic3r.cpp, fix #1778 2019-02-05 18:13:48 +01:00
tamasmeszaros
4fc73965d3 Merge branch 'tm_pad_speedup' 2019-02-05 16:37:31 +01:00
tamasmeszaros
1501b2003e Simplifying individual slices in base_plate 2019-02-05 16:14:04 +01:00
Enrico Turri
ee64ad8d1f Fixed OpenGL assert on MESA OpenGL driver due to anisotropic texture filtering not supported 2019-02-05 14:02:48 +01:00
tamasmeszaros
c3e1be7531 Added parameter "support_buildplate_only" for SLA supports. 2019-02-05 11:16:03 +01:00
Enrico Turri
a35b1a1850 Fix of #1772 2019-02-05 10:18:40 +01:00
tamasmeszaros
edd5f768a9 Fix for issue #1765 : no end info in SLA png files. 2019-02-05 09:54:21 +01:00
bubnikv
5207d31df1 WIP: HiDPI support - 3D scene on Windows / Linux
HiDPI support on Windows - enabled in manifest.
2019-02-04 21:41:10 +01:00
Vojtech Kral
87ae061061 Fix build: Stray semicolon 2019-02-04 16:57:11 +01:00
Enrico Turri
b3c3881282 Calls to GLCanvas3D::_set_current() made only after the canvas has been initialized 2019-02-04 16:05:54 +01:00
bubnikv
b8d6c6bbb2 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-04 15:46:20 +01:00
bubnikv
ac007d4173 Platform independent delete menus 2019-02-04 15:46:12 +01:00
Enrico Turri
e43e89d495 Code cleanup 2019-02-04 15:25:22 +01:00
bubnikv
f42ce8c84a Ctrl+A is handled differently on OSX than on Windows / Linux by wxWidgets 2019-02-04 15:12:24 +01:00
Enrico Turri
e0a97ce019 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_bug_fixes 2019-02-04 13:03:38 +01:00
YuSanka
b1af538d72 Fixed assert from update_changed_tree_ui() 2019-02-04 12:57:39 +01:00
Lukas Matena
9dff44a8ad SLA support gizmo does not use Grabber class anymore 2019-02-04 12:33:59 +01:00
Enrico Turri
5136ffa94b 2nd attempt to fix SPE-807 2019-02-04 12:27:44 +01:00
Enrico Turri
f3efbe05b1 Merge branch 'master' of https://github.com/prusa3d/Slic3r into et_bug_fixes 2019-02-04 12:27:17 +01:00
bubnikv
f626f69e90 Fixed typo. 2019-02-04 12:08:48 +01:00
bubnikv
af0e9370fb Handle Del, Ctrl+Del, Ctrl+A hot keys in the 3D scene only,
do not bind it through the menu accelerators.
This time the implementation is the same on all platforms.
2019-02-04 12:04:42 +01:00
Lukas Matena
fab3025107 SLA support points - minor adjustments 2019-02-04 10:56:49 +01:00
Enrico Turri
c31a648bf7 1st attempt to fix SPE-807 2019-02-04 10:06:15 +01:00