Commit Graph

237 Commits

Author SHA1 Message Date
tamasmeszaros
450f817c09 Replacing old model routing with more advanced algorithm.
Interconnection still missing.
2019-02-28 19:05:11 +01:00
Lukas Matena
4eb4e40746 SLA gizmo keeps track of current status of the points, enables the user to erase all points 2019-02-27 16:23:10 +01:00
tamasmeszaros
93c57612bf Grouping support generation algorithm into a separate class 2019-02-27 11:44:42 +01:00
bubnikv
878ef5eee0 Improvement of automatic SLA supports: Don't put support points
on vertical walls.
2019-02-27 08:49:09 +01:00
tamasmeszaros
359de84a05 Fixing issues from code cleanup 2019-02-26 18:09:33 +01:00
tamasmeszaros
43f03b8032 Incorporate individual support point radius. 2019-02-26 17:13:33 +01:00
tamasmeszaros
61f8e4f6f7 Merge branch 'tm_colldetection_upgr'
This branch is unfinished but it is better compared to current state.
2019-02-25 16:46:23 +01:00
tamasmeszaros
2b03c25bc6 Pad "tilt" changed to "slope" 2019-02-25 16:04:46 +01:00
tamasmeszaros
03079381e1 Merge branch 'master' into tm_colldetection_upgr 2019-02-25 13:24:43 +01:00
tamasmeszaros
e38522b3c1 Tiny cosmetics 2019-02-25 13:24:01 +01:00
tamasmeszaros
01c9b13ade Disabling pad edge radius and adding the "wall tilt" parameter. 2019-02-25 12:06:38 +01:00
bubnikv
4e9372c58b Merge fixes 2019-02-20 15:54:12 +01:00
bubnikv
32ce0b91dc Merge remote-tracking branch 'remotes/origin/tm_pad_speedup' 2019-02-20 15:07:43 +01:00
bubnikv
74eb903054 Fixed a missing include. 2019-02-20 11:16:31 +01:00
bubnikv
9a8a9bac28 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
5499bbd1da 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
eb0fd03861 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
1bb0af1588 SLA gizmo asks about saving changes, right button click removes points 2019-02-19 13:47:28 +01:00
bubnikv
8b4bd7177b 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
Lukas Matena
dbfcb8b76e Small formal fixes on the new 3d grid algorithm 2019-02-18 12:47:15 +01:00
Lukas Matena
5966dcb78e SLA gizmo - fixed support points rendering (depth is now correctly accounted for) 2019-02-18 11:59:47 +01:00
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
tamasmeszaros
c8bda6c13b Fix for a few comment typos 2019-02-18 10:52:16 +01:00
tamasmeszaros
a50ffd0791 Fix for uninitialized value in an edge case. 2019-02-18 10:16:04 +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
tamasmeszaros
01091152be Optimization for bad head angles. 2019-02-15 16:55:15 +01:00
tamasmeszaros
71480d7c53 Further refactoring 2019-02-15 10:09:59 +01:00
tamasmeszaros
3574fa00af Incorporate new tessellation into pad creation. 2019-02-14 16:04:34 +01:00
tamasmeszaros
9bd2f0cf53 Simplifying pad wall triangulation. Removing iterators. 2019-02-14 15:00:59 +01:00
tamasmeszaros
40e6980db1 Fixing issue with sharp concave pad edges. 2019-02-14 13:52:40 +01:00
tamasmeszaros
1e9b64b971 Commented and integrated new pad wall triangulation 2019-02-14 11:23:43 +01:00
tamasmeszaros
daa8f7ef1b Refactored version of the wall triangulation algorithm, initial integration. 2019-02-13 18:22:00 +01:00
tamasmeszaros
0d13ecdce8 Working proof-of-concept for manual triangulation of pad walls. 2019-02-13 16:44:48 +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
bubnikv
d31cb98fe9 Merge remote-tracking branch 'remotes/origin/master' into lm_sla_supports_auto2 2019-02-06 11:11:51 +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
tamasmeszaros
1501b2003e Simplifying individual slices in base_plate 2019-02-05 16:14:04 +01:00
tamasmeszaros
c3e1be7531 Added parameter "support_buildplate_only" for SLA supports. 2019-02-05 11:16:03 +01:00
Lukas Matena
9dff44a8ad SLA support gizmo does not use Grabber class anymore 2019-02-04 12:33:59 +01:00
Lukas Matena
fab3025107 SLA support points - minor adjustments 2019-02-04 10:56:49 +01:00
Lukas Matena
24a0fdb844 SLA support points generator now uses precalculated aabb tree 2019-02-04 09:50:25 +01:00
Lukas Matena
d154e75ad7 Merge branch 'master' into lm_sla_supports_auto2 2019-02-04 08:40:20 +01:00
Lukas Matena
f568f93f08 More SLA support points improvements
- unselected objects are hidden when SLA gizmo is active
- support volumes are hidden when editing mode is active
- 3mf support points format versioning
2019-02-01 23:09:02 +01:00
Lukas Matena
21026ec9a8 SLA support points improvements
- semi-intelligent algorithm to place support points
- enhanced ImGui dialog with editing/non-editing mode
- support points can have different head diameter (only implemented in GUI so far)
- autogenerated points supporting emerging islands are annotated and the info is kept
2019-02-01 07:13:08 +01:00
tamasmeszaros
095dfcad9e Getting rid of signed distance from collision detection. 2019-01-31 10:11:37 +01:00
tamasmeszaros
3f10b2f7f8 Getting around signed_distance in pinhead_mesh_intersect 2019-01-30 17:35:39 +01:00
tamasmeszaros
4e82e32a27 Trying to speed up collision detection with tbb 2019-01-30 13:51:34 +01:00
tamasmeszaros
7c839b8469 Many major issues solved. Performance may be degraded. 2019-01-29 15:10:07 +01:00
tamasmeszaros
3999ffe713 Merge branch 'master' into tm_colldetection_upgr 2019-01-28 16:52:50 +01:00
tamasmeszaros
814f663c79 Fix for SPE-797 2019-01-28 16:30:15 +01:00
tamasmeszaros
a32839260f Remove duplicate code from support generation. 2019-01-28 14:20:42 +01:00
tamasmeszaros
61d59a7a2e Fix for erroneous support slicing.
Adding upper and lower closure for pillars and bridges.
2019-01-28 11:58:25 +01:00
bubnikv
5ed475a730 Little optimization when creating a SLA support mesh for preview. 2019-01-23 14:22:33 +01:00
tamasmeszaros
6c0b65208f Introducing signed_distance into the collision detection.
Everything is broken O.o
2019-01-18 16:21:44 +01:00
tamasmeszaros
4f83703232 A lot of comments added. 2019-01-18 12:09:53 +01:00
tamasmeszaros
83f75f25bd Further improvements for headless sticks. 2019-01-17 17:46:29 +01:00
tamasmeszaros
e160cf3ffb EigenMesh upgraded with inside check capability. 2019-01-17 16:44:26 +01:00
tamasmeszaros
7a677a673f WIP 2019-01-16 16:50:43 +01:00
tamasmeszaros
1e1d405d70 Multiple rays for the pinhead collision detection.
Seems to help a lot.
2019-01-16 15:35:01 +01:00
tamasmeszaros
05861dcacd Merge branch 'master' into tm_colldetection_upgr 2019-01-15 15:32:35 +01:00
tamasmeszaros
bb8866ca37 Quick fix for visible bridges under the pillar base. 2019-01-15 14:41:45 +01:00
tamasmeszaros
831de96a81 Solving issue with first empty layer. 2019-01-15 14:25:28 +01:00
tamasmeszaros
8391e73416 WIP 2019-01-15 11:09:00 +01:00
tamasmeszaros
7fa430c56d Adding an AABB tree to EigenMesh3D.
Yet to be used.
2019-01-14 17:28:02 +01:00
tamasmeszaros
3ccb2ce275 Fix for hanging sla pipeline at routing non-ground points. 2019-01-14 15:37:59 +01:00
tamasmeszaros
1947925263 Added parameter for pillar connection mode 2019-01-09 12:21:43 +01:00
tamasmeszaros
e269758df7 Don't generate the pad cavity if the depth is zero. 2019-01-08 14:42:29 +01:00
tamasmeszaros
f26ec7feb3 pad wall smoothing only for the top of the wall. 2019-01-08 14:03:41 +01:00
tamasmeszaros
0c7fbe0a93 Comments and cosmetics for the new pad code. 2019-01-07 10:07:49 +01:00
tamasmeszaros
fa5c96dfb9 Recover outer top radius for the new pad.
Inner top, bottom and outer bottom radius still missing.
2019-01-04 16:57:27 +01:00
tamasmeszaros
f761691b7d Pad now has adjustable wall tilt and maintains wall thickness properly.
Edges are not rounded yet.
2019-01-04 16:24:10 +01:00
tamasmeszaros
8a3d2f385f Fix for bad arrange with mirrored objects 2019-01-03 14:20:01 +01:00
tamasmeszaros
760b1cd9bc Fix for normal averaging and hidden parameter for max normal Z angle. 2019-01-02 15:48:38 +01:00
tamasmeszaros
d88f3adce9 Fix for invalid support geometry when connecting to model surface 2019-01-02 14:26:25 +01:00
tamasmeszaros
abf34c3b6d Debug logs during SLA processing 2019-01-02 11:52:15 +01:00
bubnikv
0a3758d785 SLA automatic support points: Added cancellation points. 2018-12-22 11:21:21 +01:00
bubnikv
18beb10ae0 Automatic SLA support points: Disable debug outputs by default. 2018-12-22 10:55:15 +01:00
tamasmeszaros
6680aaaf16 small fix for headless supports when they have no space to manifest 2018-12-21 14:33:10 +01:00
Lukas Matena
f288af0b5e Fixed an out-of-bound situation in SLA support generator 2018-12-21 13:55:14 +01:00
tamasmeszaros
72e9a2615f Small fix for double bridging issue with very close pillars 2018-12-21 13:10:37 +01:00
Lukas Matena
f3cb54d91f An attempt to fix aa OSX compilation issue 2018-12-21 12:57:26 +01:00
Lukas Matena
7617b10d6e SLA autosupports including islands 2018-12-21 12:35:20 +01:00
Lukas Matena
9571e7c209 Merge branch 'master' into lm_sla_supports_auto 2018-12-20 22:35:47 +01:00
tamasmeszaros
70bfa4202f Fix for SPE-700 (Corrupted slice data) 2018-12-20 15:24:02 +01:00
tamasmeszaros
a5b846f7fc Improved edge normal detection. Also removed some warnings. 2018-12-20 12:08:06 +01:00
Lukas Matena
75ef3431b3 Merge branch 'master' into lm_sla_supports_auto 2018-12-19 12:25:58 +01:00
tamasmeszaros
b613334b81 Considering multiple neighboring triangles for support point normals 2018-12-17 15:58:15 +01:00
Lukas Matena
27ad859d4d SLA supports - first attempt at supporting islands 2018-12-14 16:15:59 +01:00
Lukas Matena
6cc8ae3729 Merge branch 'master' into lm_sla_supports_auto 2018-12-14 10:56:07 +01:00
tamasmeszaros
2d29b7d6cd Fix msvc build 2018-12-14 10:07:35 +01:00
Lukas Matena
054c1ca3ae Merge branch 'master' into lm_sla_supports_auto 2018-12-14 09:19:18 +01:00
tamasmeszaros
310adc18c6 Removed display_flip_xy and added display_orientation instead.
When starting Slic3r and the profile is FDM type than it yields an assertion failure for wx. See Tab::update_page_tree_visibility() line 2371
2018-12-13 12:42:45 +01:00
tamasmeszaros
623b2cec5c Another fix for crashing support generation. 2018-12-12 15:51:39 +01:00
tamasmeszaros
68de2d9813 Added cancellation points. Added new flip xy option. Refactor and waring removal. 2018-12-12 11:36:02 +01:00
tamasmeszaros
0f8658154b Fixing the crash with large model. 2018-12-11 17:55:15 +01:00
tamasmeszaros
856d983863 removing global variable for cancel checking 2018-12-11 17:48:17 +01:00
tamasmeszaros
b31c62e044 Added cancellation points to pad creation step. 2018-12-11 15:54:54 +01:00
tamasmeszaros
92ace1c97a fix for missing top ring in the raster. SPE-669 2018-12-10 14:38:49 +01:00
Lukas Matena
8a9a2ac964 Merge branch 'master' into lm_sla_supports_auto 2018-12-07 18:37:15 +01:00
bubnikv
10cf82774b Fixed OSX build. 2018-12-07 15:24:50 +01:00
bubnikv
7743a27325 Fix of a visual studio compilation issue. 2018-12-07 14:53:24 +01:00
Lukas Matena
705ad7fb69 First version of SLA support points generation 2018-12-07 14:21:33 +01:00
Lukas Matena
0afe2aec1e First version of SLA support points generation 2018-12-07 14:11:21 +01:00
tamasmeszaros
1a8d98302e fixing support head disapperance on linux 2018-11-28 11:59:39 +01:00
bubnikv
52c9dd3252 Enabled compilation of SLA libigl dependent code to see what errors
will come out of the build server.
2018-11-26 15:44:13 +01:00
tamasmeszaros
a05bda5347 Removed head_back_radius and added pillar widening factor to the parameter layers 2018-11-23 11:51:45 +01:00
tamasmeszaros
7fe7f33b80 Fix for crash when generating supports with empty input points 2018-11-23 10:28:26 +01:00
tamasmeszaros
d28b61f8a3 Adding checkbox for disabling support generation (still having pad generation) 2018-11-22 18:02:05 +01:00
tamasmeszaros
c7434a492b Available object menu item: optimize orientation 2018-11-22 16:04:21 +01:00
tamasmeszaros
5c141d9f10 Fixed race condition when no pad is generated. Progress indication for SLA is broken. 2018-11-21 17:40:18 +01:00
tamasmeszaros
3667fc7894 Change to return const references for TriangleMesh return values in SLAPrintObject's methods 2018-11-21 15:21:57 +01:00
tamasmeszaros
d27e22c2c3 height level mismatches seems to be fixed. 2018-11-20 16:12:04 +01:00
tamasmeszaros
7482b619b5 Working on proper merging and leveling of the support layers. 2018-11-20 11:59:40 +01:00
tamasmeszaros
87d49cf82f Adding object elevation param.
Quick attempt to build with MinGW 7.3. Successful compile, failed linking
2018-11-19 17:58:08 +01:00
tamasmeszaros
fd5841dd2e Cleanup: removing obsolete methods from support tree generation interface 2018-11-19 12:51:02 +01:00
tamasmeszaros
1f546de59a Fix for elevation and added functionality for head penetration. 2018-11-19 11:42:36 +01:00
tamasmeszaros
6430fb2ec2 Connecting UI parameters to the calculation input.
* I also added temporary default values in PrintConfig to not get random values.
2018-11-19 11:17:51 +01:00
tamasmeszaros
4c007a410c Corrected height levels at rasterization. 2018-11-16 16:44:44 +01:00
tamasmeszaros
1e0d8b245c Base plate creation improvements. Added sla parameter for support elevation. 2018-11-16 15:01:31 +01:00
tamasmeszaros
c5ccfeae3e Account handle the z levels with and without the pad.
New method in support tree to query the needed elevation for the model and its supports.
2018-11-16 11:34:19 +01:00
tamasmeszaros
810fcc2221 wip: reorganizing things to support accurate pad creation. Also more accurate progress indication. 2018-11-15 18:05:47 +01:00
tamasmeszaros
f3d02a5cdf Slicing the supports seems to work fine with the merged mesh. 2018-11-15 15:14:14 +01:00
tamasmeszaros
88648c8214 a small cleanup 2018-11-15 10:47:20 +01:00
tamasmeszaros
95abba5b96 Fix for build error and perhaps the grayed out arrange button 2018-11-15 09:46:55 +01:00
tamasmeszaros
e98c83a025 WIP:
* slicing supports
* adding the pad geometry
* rasterizing the support and pad slices
2018-11-14 18:04:43 +01:00
tamasmeszaros
ffe6862626 Slicing object and rasterization generates output zip. Needs testing. 2018-11-13 17:33:03 +01:00
tamasmeszaros
33eade5300 SLA backround processing pipeline invisible but runs. 2018-11-12 11:46:38 +01:00
tamasmeszaros
dbf6ddd344 Trying to bypass igl in 32 bit MSVC 2018-11-08 17:15:10 +01:00
tamasmeszaros
4a2da3d443 Trying to fix compilation of IGL AABB tree on 32 bit platform.
Removing alignment constraints from Eigen Matrix aliases.
2018-11-08 16:43:33 +01:00
tamasmeszaros
91a79e0343 Support tree interface extended with mouse event handling and refresh callback. 2018-11-08 10:21:13 +01:00
tamasmeszaros
f6591f000e slicing the supports WIP 2018-11-07 17:57:02 +01:00
tamasmeszaros
19b1aa081d SLAPrint concept under its way. 2018-11-07 15:29:13 +01:00
tamasmeszaros
22c9c5ae95 Trying to engage support creation when the gizmo gets disabled. 2018-11-06 18:01:18 +01:00
tamasmeszaros
a49b506121 Trying to fix compilation on linux and mac. 2018-11-06 14:34:20 +01:00
tamasmeszaros
48bc166d6d Importing the SLA computing module into the native source tree. 2018-11-02 11:57:57 +01:00