31 Commits

Author SHA1 Message Date
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
Filip Sykala - NTB T15p
84dd902ca8 Fix of build 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
7a375abddb Autogenerate supportPoints by surface angle 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
Martin Šach
0bf8a9b1c5 Fix includes 2024-08-14 00:04:11 +02:00
Martin Šach
919740fb3e Apply fix includes. 2024-07-08 15:37:02 +02:00
ps_copyright
f32859c302 final copyright headers 2023-09-01 14:49:07 +02:00
Vojtech Bubnik
db3f696888 Fixed ExPolygon::overlaps(), which was not commutative.
Wrote unit tests for Clipper polyline clipping operations.
Rewrote ExPolygon unit tests from Perl to C++.
2022-11-15 15:32:16 +01:00
tamasmeszaros
d23f9d7674 Refactoring and performance optimization for support trees in SLA 2022-06-29 10:43:46 +02:00
Vojtech Bubnik
7d4b3f2992 Fix of safety_offset() after ClipperUtils refactoring.
Fixes Solid infill where there should be none #6482
Also the safety offsetting was revised to be enabled only where needed,
the "do safety offset" is now easy to discover by
a new ApplySafetyOffset::Yes enum, and safety offset over union, which
is better done by offset() / offset_ex() has been replaced with
new union_safety_offset() / union_safety_offset_ex() functions, which
better convey their meaning and which could be better optimized than
union() with the safety offset applied.
2021-05-05 12:16:47 +02:00
Vojtech Bubnik
09a80d954c Further rework of ClipperUtils: Replaced many to_polygons() /
to_expolygons() calls with templated ClipperUtils variants to avoid
memory allocation and copying.
2021-05-03 11:39:53 +02:00
Vojtech Bubnik
eef800b5c4 FIXME on ExPolygon::overlaps(), which should be commutative. 2021-01-22 15:32:45 +01:00
tamasmeszaros
edb8b9f46d Cover various overhang types cumulatively 2020-10-16 11:14:57 +02:00
tamasmeszaros
50836914fc Calibration changes to address new algorithm behavior. 2020-09-10 13:37:58 +02:00
tamasmeszaros
26d5c30366 Improvements to support point generator
- Separate the 3 bands -- dangling, sloping and full overhanging -- regions and handle them with different support force deficits.

- Use a heuristic for overhanging edges to increase the number of support points generated for them


- Try to make overhangs and slopes deficit depend on stable area.
2020-09-10 13:19:17 +02:00
tamasmeszaros
1eec6c473c Rename EigenMesh3D to IndexedMesh and SupportConfig to SupportTreeConfig 2020-08-03 19:05:30 +02:00
tamasmeszaros
184f64f828 Separate support tree routing and meshing, remove Common.hpp/.cpp .
* Remove Common.hpp and Common.cpp, move things into their respective modules in sla.
2020-08-03 19:05:30 +02:00
tamasmeszaros
38239f09e3 Fix remove_bottom_points function 2020-08-03 19:03:02 +02:00
Lukas Matena
9224a6a3e6 Removed some unused code
- removed define USE_AABB_INDIRECT (which switched between old and new AABB implementation)
- removed define SLIC3R_SLA_NEEDS_WINDTREE (relied on igl and was not used anyway)
- new define SLIC3R_HOLE_RAYCASTER (hides currently unused code)
- slight include cleanup
- removed obsolete source file SupportTreeIGL.cpp
2020-05-27 00:51:11 +02:00
Lukas Matena
02838eaa30 Slight include cleanup 2020-05-26 13:45:36 +02:00
tamasmeszaros
e6bdec4aa5 Remove wrapper around std::mt19937 2020-01-15 17:44:15 +01:00
tamasmeszaros
e6244f7bdb Eliminate use of uninitialized variable. 2020-01-14 10:48:22 +01:00
tamasmeszaros
ce49f0a294 Test sla support point generation determinism with seed parameter 2020-01-14 10:48:22 +01:00
tamasmeszaros
6205524d75 Make support point generator deterministic. 2020-01-14 10:48:22 +01:00
tamasmeszaros
c22423a219 Merge branch 'tm_openvdb_integration' into lm_tm_hollowing
* Refactor file names in SLA dir
2019-11-11 12:55:22 +01:00