Filip Sykala
26ec836c12
remove magic enum
2025-02-25 16:41:15 +01:00
Filip Sykala
74ab00eff5
FIX: Slicer point now cast to boost point type by full constructor in parabola utils
2025-02-25 16:41:15 +01:00
Filip Sykala
9c8681f452
Fix: data type for OsX
...
../src/libslic3r/SLA/SupportIslands/ParabolaUtils.cpp:38:48: error: no matching constructor for initialization of 'std::vector<Voronoi::Internal::point_type>' (aka 'vector<point_data<double> >')
std::vector<Voronoi::Internal::point_type> parabola_samples(
2025-02-25 16:41:15 +01:00
Filip Sykala
72f0a6e4a7
Fix: revert typedef
...
PrusaSlicer_With_Asan_Linux/248:
../src/libslic3r/SLA/SupportIslands/VectorUtils.hpp:76:25: error: need 'typename' before 'std::iterator_traits<_II>::value_type' because 'std::iterator_traits<_II>' is a dependent scope
../src/libslic3r/SLA/SupportIslands/VectorUtils.hpp:77:25: error: need 'typename' before 'std::iterator_traits<_Iter>::value_type' because 'std::iterator_traits<_Iter>' is a dependent scope
../src/libslic3r/SLA/SupportIslands/VectorUtils.hpp:78:24: error: need 'typename' before 'std::iterator_traits<_Iter>::difference_type' because 'std::iterator_traits<_Iter>' is a dependent scope
...
2025-02-25 16:41:15 +01:00
Filip Sykala
381c9d8fb4
Fix: Linux Warnings
2025-02-25 16:41:15 +01:00
Filip Sykala
2362532675
Fix: include from parent directory (linux build)
2025-02-25 16:41:15 +01:00
Filip Sykala
3dc205c7bc
Fix data conversion warning
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
24208b4daa
Fix. Now correct check when 2 vector have same direction
2025-02-25 16:41:15 +01:00
Filip Sykala
d6616be202
FIX> infinite loop because intersection is out of line
...
place on line mast be perpendicular to source line
but NOT to edge
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
942443429e
Separate draw function
2025-02-25 16:41:14 +01:00
Filip Sykala
60a0ac46c2
Align of SP
2025-02-25 16:41:14 +01:00
Filip Sykala
e27734266f
use geometry orientation
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
fb050136ef
add Magic enum
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
fb083cc610
Add default value for curve loaded from SVG file for fix test at this moment
2025-02-25 16:41:14 +01:00
Filip Sykala - NTB T15p
84dd902ca8
Fix of build
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
88a1ddeb91
Remove points out of extended part.
...
Allow multiple sample of the same 2d part of object in multiple heights
2025-02-25 16:41:14 +01:00
Filip Sykala - NTB T15p
d69177f910
Change grid to KD tree for fast search of support points in max radius
2025-02-25 16:41:14 +01:00
Filip Sykala - NTB T15p
9f97d9252c
squared distance for KD Tree can't be in CoordType when using coord_t as template parametre (because of overflow of value range)
2025-02-25 16:41:14 +01:00
Filip Sykala - NTB T15p
40d52994db
Distance of support point are modified by svg file.
...
- Support points are stored in separate list(no need to collect from grid + no duplicit support points)
- Grid contain only indices into result vector of support points
- Each layer is made update of radiuses for existing support points
- Each support point knows support radius for current processed layer
- Layers knows z coordinate soo heights in preparation are copied into layer.
2025-02-25 16:41:14 +01:00
Filip Sykala - NTB T15p
3906b7dafc
Sample only overhanging part of layer.
2025-02-25 16:41:14 +01:00
Filip Sykala - NTB T15p
a3febc3b3d
Do not generate support tree when edit support points
2025-02-25 16:41:14 +01:00
Filip Sykala - NTB T15p
452473c370
correction key to grid around zero
2025-02-25 16:41:14 +01:00
Filip Sykala - NTB T15p
7a375abddb
Autogenerate supportPoints by surface angle
2025-02-25 16:41:14 +01:00
Filip Sykala - NTB T15p
63f6b293bf
Supported point are created by distance(xy + z) to previous one
2025-02-25 16:41:14 +01:00
Filip Sykala - NTB T15p
f1f0fbc9ad
Add new implementation of samling
2025-02-25 16:41:14 +01:00
Filip Sykala - NTB T15p
2ce4998b39
Remove tear preasure.
2025-02-25 16:41:14 +01:00
Filip Sykala - NTB T15p
728adb99d0
Move minimal area into configuration to be able modify it from UI (in my opinion it is necessary)
2025-02-25 16:41:14 +01:00
Filip Sykala - NTB T15p
f2df4793af
island centroid is not used soo I delete it
2025-02-25 16:41:13 +01:00
Filip Sykala - NTB T15p
d752200345
Remove weird Z level for structure - points are mapped on surface of model.
...
It moves with support point by 3* layers ... 0.05*3 = 0.15 mm (invisible so mistake was ignored)
Head radius is 0.4 mm
2025-02-25 16:41:13 +01:00
Filip Sykala - NTB T15p
b39df3e6fe
Add comments
2025-02-25 16:41:13 +01:00
Roman Tyr
6c94f5609b
Sync with github.
2025-02-25 13:39:10 +01:00