781 Commits

Author SHA1 Message Date
Filip Sykala - NTB T15p
c41d4997e5 SPE-2714 fixed
bad merging of island parts(UniformSupportIsland.cpp:1853-56) + multi insertation of same change for part(UniformSupportIsland.cpp:2167-191)
+ add test case
+ add gui to set current head diameter and density to configurable GUI
+ add visualization of Parts
+ add check for uniqness of change in part
2025-03-20 15:21:00 +01:00
Filip Sykala - NTB T15p
faa778d349 SPE-2709: Fix precision of calculation line cross for thick field creation purpose:
Fixes freezing of SLA support point generator in certain cases
2025-03-07 09:06:36 +01:00
Lukáš Hejl
a3f75133c8 SPE-2698: Fix crash during regions expansion. 2025-02-25 16:55:01 +01:00
Filip Sykala - NTB T15p
63ea165f00 Use support headDiameter from config
(generate support config when diameter is known)
+ overhangs sample curve is static inside of code(do not use svg config file more)
+ Move island configuration behinde macro
2025-02-25 16:41:17 +01:00
Filip Sykala - NTB T15p
cb20051e03 Fix for creating wide tiny change.
+ unify runtime by selecting position with smallest source index
2025-02-25 16:41:17 +01:00
Filip Sykala - NTB T15p
f4e61ffddd FIX SPE-2674_symphysis.3mf 2/2
Island which can't create Voronoi Diagram are supported by one point in center of bounding box
2025-02-25 16:41:17 +01:00
Filip Sykala - NTB T15p
409900a4c9 Fix for SPE-2674 1/2
issue in file SPE-2674_mini13-armor-runner-v8.3mf
2025-02-25 16:41:17 +01:00
Filip Sykala - NTB T15p
eec3b8e7d6 Fix for build test with new dependency 2025-02-25 16:41:17 +01:00
Filip Sykala - NTB T15p
f0d3578952 SPE-2671 fix
Change way of sampling inner outline of Field (thick part of island & peninsulas)
NOTE: Inner part(after offset border) could contain multiple ExPolygons and need to transfer from border information which line is outline
2025-02-25 16:41:17 +01:00
Filip Sykala - NTB T15p
33f878e5bd Add support permanent points for island and peninsulas 2025-02-25 16:41:17 +01:00
Filip Sykala - NTB T15p
c66df2ce99 Fix KDTree search for closest points for coord_t
NOTE: Store squared distance into double
2025-02-25 16:41:16 +01:00
Filip Sykala - NTB T15p
e9011e100d Add support for peninsulas 2025-02-25 16:41:16 +01:00
Filip Sykala - NTB T15p
08ee5524d5 Modify GUI for searching support generator configuration
Rename config params.
2025-02-25 16:41:16 +01:00
Filip Sykala - NTB T15p
7c2132bdc8 Comment changes which could lead to crash of tests in build enviroment 2025-02-25 16:41:16 +01:00
Filip Sykala - NTB T15p
cd4d75fa7d Fix duplicit point after alignment
+ fix detection if first_neighbor exist in process queue
2025-02-25 16:41:16 +01:00
Filip Sykala - NTB T15p
3daed2f02d Continue cleaning code
After thin&thic must be at least 2 support points
2025-02-25 16:41:16 +01:00
Filip Sykala - NTB T15p
5e0b351f71 Fix for island 40 from "Uniform sample test islands"
Last outline of Fieald is change back into first line
2025-02-25 16:41:16 +01:00
Filip Sykala - NTB T15p
73f8583e18 Advanced visualization to store island 2025-02-25 16:41:16 +01:00
Filip Sykala - NTB T15p
8794099682 Add option to store islands (some could make an issue this is tool to collect problematic islands) 2025-02-25 16:41:16 +01:00
Filip Sykala - NTB T15p
d3d32c6d7d Fix tests 2025-02-25 16:41:16 +01:00
Filip Sykala - NTB T15p
74db5d1ed2 Add support settings into GUI 2025-02-25 16:41:16 +01:00
LAPTOP-R2AR8CRT\filip
54bc516da6 Fixes of bad merges during rebase
Add missing includes into CMakeLists
IndexMesh change to AABBMesh
construct_voronoi become class function
2025-02-25 16:41:15 +01:00
Filip Sykala
209bebc82e Fix build 2025-02-25 16:41:15 +01:00
Filip Sykala
5d2b3cfc1e Add outline angle rule to decide when support centre line 2025-02-25 16:41:15 +01:00
Filip Sykala
a3d17119f6 Fix aligning
- function belong
- Calculation of move distance on outline

Separate utils tests
2025-02-25 16:41:15 +01:00
Filip Sykala
12b320624b Add filter for end center line support instead of minimal distance. 2025-02-25 16:41:15 +01:00
Filip Sykala
0c9dedcffa Add allignable inner support island point 2025-02-25 16:41:15 +01:00
Filip Sykala
3c4f68fa3f Fix: change .value() connected with optional to dereferece by *
Os X do NOT support std::optional::value()
PrusaSlicer_OsX_Mojave:
../src/libslic3r/SLA/SupportIslands/ExpandNeighbor.cpp:23:50: error: 'value' is unavailable: introduced in macOS 10.14
2025-02-25 16:41:15 +01:00
Filip Sykala
381c9d8fb4 Fix: Linux Warnings 2025-02-25 16:41:15 +01:00
Filip Sykala
ea1e6c0e8f visualization inside of test with macro 2025-02-25 16:41:15 +01:00
Filip Sykala
69c58505cd Center support point contain configuration 2025-02-25 16:41:15 +01:00
Filip Sykala
1c489806ff Compare of Sampling method 2025-02-25 16:41:15 +01:00
Filip Sykala
b6ee9f4368 Add uniform sampling of ExPolygon 2025-02-25 16:41:15 +01:00
Filip Sykala
f44b0d51f1 add minimal width to edge
Fix creation of Field and sampling outline
2025-02-25 16:41:15 +01:00
Filip Sykala
0033deb1d4 Fix for sample between Tiny and Wide part of island 2025-02-25 16:41:14 +01:00
Filip Sykala
fd2193eb77 Successfull creation of field with indexes
Add visualization of Field
2025-02-25 16:41:14 +01:00
Filip Sykala
214f1acea6 Fix calculation of width on VD 2025-02-25 16:41:14 +01:00
Filip Sykala
51ce8fbd62 Create ExPolygon from wide part of island 2025-02-25 16:41:14 +01:00
Filip Sykala
85984ca189 Support island points are generated as unique ptr for option to move with them
+ add fix for cell 2 polygon transformation
2025-02-25 16:41:14 +01:00
Filip Sykala
60a0ac46c2 Align of SP 2025-02-25 16:41:14 +01:00
Filip Sykala
9c9880aba8 Cell from over limit points 2025-02-25 16:41:14 +01:00
Filip Sykala
81f0ad8f63 convert Voronoi cell to polygon 2025-02-25 16:41:14 +01:00
Filip Sykala
51dfdd8f38 Position of Support Point is connected with voronoi graph 2025-02-25 16:41:14 +01:00
Filip Sykala
dd61478fd6 add sample center circles 2025-02-25 16:41:14 +01:00
Filip Sykala
1ab293eb75 Parabola length calculation. 2025-02-25 16:41:14 +01:00
Filip Sykala
18d58da6ea Node data constructor deosnt have own logic
Calculation of Parabola length by sum of line segments
2025-02-25 16:41:14 +01:00
Filip Sykala
dd505eab82 Clean up voronoi test 2025-02-25 16:41:14 +01:00
Filip Sykala
7c4b711aeb separate Voronoi graf and searching longest path into own files 2025-02-25 16:41:14 +01:00
Filip Sykala - NTB T15p
f8058049ac Partialy commented out SLA support point generator tests 2025-02-25 16:41:14 +01:00
Filip Sykala - NTB T15p
2ce4998b39 Remove tear preasure. 2025-02-25 16:41:14 +01:00