Commit Graph

16 Commits

Author SHA1 Message Date
e9aaea38eb 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
f191b4611d 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
0ce4f989de FIXME on ExPolygon::overlaps(), which should be commutative. 2021-01-22 15:32:45 +01:00
eabc09ca36 Cover various overhang types cumulatively 2020-10-16 11:14:57 +02:00
1091049d0b Calibration changes to address new algorithm behavior. 2020-09-10 13:37:58 +02:00
7917b63089 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
6a9eccf673 Rename EigenMesh3D to IndexedMesh and SupportConfig to SupportTreeConfig 2020-08-03 19:05:30 +02:00
d46d86ba4b 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
00cd2acf2d Fix remove_bottom_points function 2020-08-03 19:03:02 +02:00
5de468a01a 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
4fa702c570 Slight include cleanup 2020-05-26 13:45:36 +02:00
0ba462a0a2 Remove wrapper around std::mt19937 2020-01-15 17:44:15 +01:00
5b87763619 Eliminate use of uninitialized variable. 2020-01-14 10:48:22 +01:00
4183f9b29a Test sla support point generation determinism with seed parameter 2020-01-14 10:48:22 +01:00
a8e31290a5 Make support point generator deterministic. 2020-01-14 10:48:22 +01:00
10f2d23ff6 Merge branch 'tm_openvdb_integration' into lm_tm_hollowing
* Refactor file names in SLA dir
2019-11-11 12:55:22 +01:00