50 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
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
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
08ee5524d5 Modify GUI for searching support generator configuration
Rename config params.
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
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
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
Jan Bařtipán
2b01d14f7b Catch2 updated to v3.8, all tests migrated 2025-02-06 15:55:09 +01:00
tamasmeszaros
d23f9d7674 Refactoring and performance optimization for support trees in SLA 2022-06-29 10:43:46 +02:00
Vojtech Bubnik
8a2a9dba2f Eradicated admesh from TriangleMesh:
TriangleMesh newly only holds indexed_triangle_set and
TriangleMeshStats. TriangleMeshStats contains an excerpt of stl_stats.
TriangleMeshStats are updated when initializing with indexed_triangle_set.

Admesh triangle mesh fixing is newly only used when loading an STL.
AMF / 3MF / OBJ file formats are already indexed triangle sets, thus
they are no more converted to admesh stl_file format, nor fixed
through admesh repair machinery. When importing AMF / 3MF / OBJ files,
volume is calculated and if negative, all faces are flipped. Also
a bounding box and number of open edges is calculated.

Implemented its_number_of_patches(), its_num_open_edges()
Optimized its_split(), its_is_splittable() using a visitor pattern.

Reworked QHull integration into TriangleMesh:
    1) Face normals were not right.
    2) Indexed triangle set is newly emitted instead of duplicating
       vertices for each face.

Fixed cut_mesh(): Orient the triangulated faces correctly.
2021-09-20 17:12:22 +02:00
Vojtech Bubnik
db2d78ff21 Reduction on compiler warnings, mainly on MSVC.
Fix of the new gap_fill_enable flag: Take it into account when comparing
regions.
2021-02-10 17:29:07 +01:00
tamasmeszaros
a21ff4141b Fix failing test due to changes in support point genertion 2020-09-10 13:19:17 +02:00
tamasmeszaros
a9a99de939 Enable all tests for support point generator 2020-09-10 13:19:17 +02:00
tamasmeszaros
4ef52af906 Add dedicated tests for support point generation 2020-08-18 11:41:14 +02:00