Commit Graph

21184 Commits

Author SHA1 Message Date
tamasmeszaros
cf4f07c220 Use shared pointers for SLA preview data
To be able to survive a sudden cancellation and subsequent cleanup in the background thread
2023-01-12 19:38:24 +01:00
tamasmeszaros
bb82ce90c9 Don't allow part type change to modifier type in SLA mode 2023-01-12 19:18:33 +01:00
tamasmeszaros
440df505b4 SLA backend thread-safety improvements
- Put AnyPtr into separate header, it deserves one
- Add means to handle shared pointers inside AnyPtr
- Use shared pointers in sla csg collection for meshes not owned by Model
- Add method to get the last completed step in PrintObjectBase
- Make SLAPrintObject::get_parts_to_slice() safe to call from UI thread against background thread activity.
2023-01-11 18:24:44 +01:00
tamasmeszaros
a4e50f8219 Fix gizmo cut previews
When using legacy hole drilling algorithm
2023-01-11 14:54:09 +01:00
tamasmeszaros
897e5673c9 Export interface for csgparts in SLAPrintObject 2023-01-10 17:44:41 +01:00
tamasmeszaros
0989a6f5df Fix crash 2023-01-10 16:12:54 +01:00
tamasmeszaros
b2ef76f4d0 Resurrect the old hollowing and hole drilling functions.
Apply them if generic cgal fails and there are no negative volumes.
2023-01-10 14:39:03 +01:00
tamasmeszaros
7c834de6ab Fix crash when selecting an object
issue no. 11
2023-01-10 09:42:53 +01:00
tamasmeszaros
39197ecd2d Caching of cgal data instead of voxel grid 2023-01-02 14:36:34 +01:00
tamasmeszaros
159fc4e28e Minor improvements
Fix bad function call exception with empty interrupter (OpenVDB)
2023-01-02 13:40:04 +01:00
tamasmeszaros
bfb1ec073d Comments for CSG stack ops 2023-01-02 11:07:15 +01:00
tamasmeszaros
1efc8191a2 Full support of csg op stack. Preferring cgal in preview if feasible 2022-12-21 18:09:31 +01:00
tamasmeszaros
d75b951c39 FInish csg operation stacking in cgal side
Broken slicing
2022-12-21 13:53:33 +01:00
tamasmeszaros
25ca46e3eb Add support for csg operation stacking 2022-12-20 17:38:46 +01:00
tamasmeszaros
4fabd0b307 Delete hollowing interior grid after the mesh is extracted
It was needed for the triangle trimming but that is gone now
2022-12-20 12:51:55 +01:00
tamasmeszaros
d3a4edd37f Skip voxelization for csg meshes with positive parts only. 2022-12-20 12:51:04 +01:00
tamasmeszaros
495a3f3557 Fix unshifted cut slices in sla gizmos 2022-12-20 11:25:48 +01:00
tamasmeszaros
8470d4594d Fix crash in debug mode with empty preview 2022-12-19 18:50:16 +01:00
tamasmeszaros
faf4d8e6b0 Fix triangle orientation after openvdb mesh generation 2022-12-19 18:49:53 +01:00
tamasmeszaros
f997609db6 Fix stl export of object with unwanted pad 2022-12-19 14:15:38 +01:00
tamasmeszaros
e8faa71fcf Decrease quality of preview meshes to improve processing time 2022-12-19 12:41:45 +01:00
tamasmeszaros
743d431574 Remove redundant bb calculation in AABBTree 2022-12-16 10:49:37 +01:00
tamasmeszaros
9606473c16 Try to fix build on msvc (perl xs) 2022-12-15 16:06:56 +01:00
tamasmeszaros
b8b462df5e Fix trafo for drillholes 2022-12-15 14:07:01 +01:00
tamasmeszaros
fdf51c8a5e Another fix for support points trafo 2022-12-15 13:50:19 +01:00
YuSanka
7832d600ff CutGizmo: Allow to add connectors for SLA 2022-12-15 13:22:22 +01:00
tamasmeszaros
6323e27cdc csg voxelization speedup with additional parallelism 2022-12-15 13:05:02 +01:00
tamasmeszaros
fa2fef9283 Optimize csg slicing with large number of positive parts 2022-12-15 12:27:53 +01:00
YuSanka
473c8a26a4 Suppress to switch to SLA-technology printer, if an object has a modifier(s)
+ WIP: ptSLA : Hide modifiers on 3DScene.
Waiting for @enricoturri1966 review/reworking
2022-12-15 11:46:05 +01:00
tamasmeszaros
999c49c8e8 Remove leftover comments in SLAPrint 2022-12-15 11:43:39 +01:00
tamasmeszaros
45fffed309 Remove leftover commented code 2022-12-15 09:50:11 +01:00
tamasmeszaros
cf63c60c22 Support points trafo seems to be OK now 2022-12-14 18:47:56 +01:00
tamasmeszaros
3f7dcf744b wip on support points elevation bug 2022-12-14 18:19:04 +01:00
YuSanka
a3403c51cf SLA mode: Updated object menu and "Change type" dialog
+ ObjectList: Suppress to add modifiers to the object
2022-12-14 14:57:23 +01:00
tamasmeszaros
f987caa63d Fix build in debug mode 2022-12-14 09:55:09 +01:00
tamasmeszaros
9143d9891a In SLA mode, upon export to stl, export preview mesh, if it exists 2022-12-13 15:13:31 +01:00
tamasmeszaros
5561e21e77 object export to stl will work the same way as in FFF
TODO might make more sense to execute background processing up until the necessary step and then export backend data
2022-12-13 14:53:27 +01:00
tamasmeszaros
9de057ddeb Fix in sla mode: wrong part menu and split submenu 2022-12-13 13:23:59 +01:00
YuSanka
0dadde6ae3 MenuFactory: SLA specific: Fixed adding of the "Edit text" menu item 2022-12-13 10:06:04 +01:00
tamasmeszaros
7b207aaf5c Add "Enforcers only" option into support combo box
And also make it work
2022-12-13 09:49:59 +01:00
tamasmeszaros
3a7af1c1de SLA Backend: skip voxelization if the original mesh is usable as preview 2022-12-13 09:49:54 +01:00
tamasmeszaros
2cf48683de enable split to parts in sla 2022-12-13 09:49:50 +01:00
tamasmeszaros
9dc091d1a8 Fix redundant token after include 2022-12-13 09:49:43 +01:00
tamasmeszaros
a141a4c0bc Improve cancellation of new sla backend 2022-12-13 09:49:37 +01:00
tamasmeszaros
8511a17ad0 Increase fidelity of openvdb previews and log duration of generating it 2022-12-13 09:49:31 +01:00
enricoturri1966
faf20a2650 Fixed crash while reloading scene when using sla printer with multipart objects 2022-12-12 15:37:36 +01:00
enricoturri1966
43c195e227 Fixed conflicts after merge with master 2022-12-07 15:44:27 +01:00
enricoturri1966
b7740743b8 Gizmo measure fixed to work with mirrored objects 2022-12-06 14:07:51 +01:00
enricoturri1966
5351137183 (Win Only) Detection of cursor size, to place tooltips on scene, performed on tooltip text setting instead of being repeated every frame 2022-12-06 13:49:05 +01:00
enricoturri1966
cf37f154ee Tech ENABLE_PROCESS_G2_G3_LINES set as default 2022-12-06 13:21:06 +01:00