Commit Graph

8365 Commits

Author SHA1 Message Date
Vojtech Kral
7923dde152 Imgui: Implement keyboard input, fix #1797 2019-02-20 16:12:41 +01:00
bubnikv
cca476ce46 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-20 15:54:25 +01:00
bubnikv
4654c1d2ed Merge fixes 2019-02-20 15:54:12 +01:00
Lukas Matena
1a76b353e6 SLA gizmo - clicking on object does not add new points if any point is selected
Remove selected points button is greyed out unless something is selected
2019-02-20 15:42:03 +01:00
Lukas Matena
683f263562 Place on bed fix (incorrect usage of sla z-shift) 2019-02-20 15:15:00 +01:00
bubnikv
748fa0b854 Merge remote-tracking branch 'remotes/origin/tm_pad_speedup' 2019-02-20 15:07:43 +01:00
Lukas Matena
f07a897a9a Merge branch 'lm_sla_supports_auto2' 2019-02-20 13:17:29 +01:00
Lukas Matena
1b3a3a99b0 Revert "Fixed a missing include problem in SLASupportAuto.hpp"
This is already solved in master branch by including the header

This reverts commit b7465e935e.
2019-02-20 13:16:09 +01:00
Lukas Matena
8cc2d7d98b Fixed a missing include problem in SLASupportAuto.hpp 2019-02-20 12:28:57 +01:00
bubnikv
8cb13624f5 Fix of the SLA situation where an object was sliced even after being
moved out of the print bed.

Added an event.Skip() when processing OnActivate event.
2019-02-20 12:21:22 +01:00
Lukas Matena
e17d655218 WarningTexture class in GLCanvas3D modified so it can be used more universally
Added a warning to notify that some objects are not rendered with SLA gizmo active
2019-02-20 12:09:45 +01:00
bubnikv
3c5272d67f Reordered SLA background processing:
Calculate the SLA supports first before continuing with slicing
the SLA supports, which is time consuming.
2019-02-20 11:58:09 +01:00
bubnikv
06c2acf014 Fixed a missing include. 2019-02-20 11:16:31 +01:00
bubnikv
c43dcc1249 Merge branch 'lm_sla_supports_auto2' 2019-02-20 10:58:34 +01:00
bubnikv
715d796a23 Merge branch 'lm_sla_supports_auto2' of https://github.com/prusa3d/Slic3r into lm_sla_supports_auto2 2019-02-20 10:47:44 +01:00
bubnikv
caaa7620fd SLA auto supports: Improved distribution of the support forces
in the up direction by taking into account island overlap areas.
2019-02-20 10:46:49 +01:00
Lukas Matena
6af7bcf329 SLA gizmo can be deselected by clicking in canvas area (unless in editing mode) 2019-02-20 09:59:59 +01:00
Lukas Matena
2d12cbbc1d SLA supports - added parameters for the automatic generation (relative density measure and minimal distance of the points) 2019-02-19 16:34:52 +01:00
Lukas Matena
ff4e18d7d9 Ensuring that GLCanvas gets focus when it should (Linux only fix) 2019-02-19 15:54:43 +01:00
bubnikv
643a0db8c7 Merge branch 'master' of https://github.com/Prusa3d/Slic3r 2019-02-19 14:58:22 +01:00
bubnikv
ebb077032e OnActivate handler to:
1) Process delayed error messages from background processing
2) Set keyboard focus to the 3D scene if no wx window has keyboard focus.
2019-02-19 14:57:59 +01:00
Vojtech Kral
8b86eb0e4c Printhost: Persist upload path & start print checkbox (re-add lost code)
Fixes #1219
Fixes #1004
Fixes #1106
Fixes #1678
2019-02-19 14:49:17 +01:00
Lukas Matena
e7bddf8649 SLA gizmo asks about saving changes, right button click removes points 2019-02-19 13:47:28 +01:00
bubnikv
d3b12ccec4 Removed the NotoSans hinted fonts as they are too large, they are
currently not used and they only increase installation size
significantly.
2019-02-19 13:28:05 +01:00
bubnikv
d462a8e34f Basic localization of the ImGUI texts. 2019-02-19 13:26:26 +01:00
Lukas Matena
093d628f4a SLA gizmo cannot be activated for objects outside the bed 2019-02-19 10:47:15 +01:00
Lukas Matena
f25c10e02e Merge branch 'master' into lm_sla_supports_auto2 2019-02-19 10:15:16 +01:00
bubnikv
461645b5ca SLA auto supports: Work with support force deficit to sprinkle support points.
Use OpenGL emissive material to render support points.
2019-02-19 10:09:41 +01:00
Enrico Turri
7b6321e5e8 Code cleanup 2019-02-18 15:41:12 +01:00
Enrico Turri
d205abe9ed Added debug output to investigate further #1788 2019-02-18 15:41:04 +01:00
Enrico Turri
d5ca1b4930 2nd attempt to fix #1788 2019-02-18 15:40:58 +01:00
Enrico Turri
c0427aa3b8 1st attempt to fix #1788 2019-02-18 15:40:51 +01:00
Lukas Matena
bb0799bb4b SLA gizmo - combobox items are now rendered immediately on mouse click, not after next mouse move 2019-02-18 14:56:19 +01:00
Lukas Matena
3bb3e4aabd SLA gizmo selection rectangle now checks for obscured points 2019-02-18 14:07:45 +01:00
Vojtech Kral
ebf0aa2866 Fix build: Missing include 2019-02-18 13:54:20 +01:00
Lukas Matena
c894d2101c Small formal fixes on the new 3d grid algorithm 2019-02-18 12:47:15 +01:00
Vojtech Kral
68427ced36 Fix build: Missing include 2019-02-18 12:33:32 +01:00
Lukas Matena
d22d545e88 SLA gizmo - fixed support points rendering (depth is now correctly accounted for) 2019-02-18 11:59:47 +01:00
bubnikv
f6409a7a1b 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
Enrico Turri
03d9ebf47c Partial fix of #1786 - Fixed synchronization of Configuration/Mode menu 2019-02-18 11:40:33 +01:00
bubnikv
4bc1acf650 Fix of a merge error. 2019-02-17 13:26:17 +01:00
bubnikv
f097d24c56 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
db58e83a1f 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
Vojtech Kral
c0b9ada76c Update profiles 2019-02-15 15:38:41 +01:00
Vojtech Kral
7c18b063f5 PresetUpdater: Fix a race condition 2019-02-15 15:38:26 +01:00
Vojtech Kral
9763bb2ec3 PresetUpdater: Don't fail as hard if version not found in index #1821
GUI_App: Add OnExceptionInMainLoop handler
2019-02-15 15:38:13 +01:00
Vojtech Kral
04209134a2 Http: Fix logging 2019-02-15 15:35:13 +01:00
tamasmeszaros
eb9f3f1306 Further refactoring 2019-02-15 10:09:59 +01:00
tamasmeszaros
da856ad4ae Incorporate new tessellation into pad creation. 2019-02-14 16:04:34 +01:00
tamasmeszaros
7ef787381f Simplifying pad wall triangulation. Removing iterators. 2019-02-14 15:00:59 +01:00