mirror of
https://github.com/FULU-Foundation/OrcaSlicer-bambulab.git
synced 2026-10-11 14:22:54 +02:00
Fix endless loop in pinhead creation.
* Headless stick penetration value from global cfg * eliminate warnings
This commit is contained in:
1 parent
4569a6026a
commit
2edd5abf06
4 files changed
+14
-5
No files matched your search
@@ -260,7 +260,7 @@ void test_support_model_collision(
|
||||
|
||||
// Set head penetration to a small negative value which should ensure that
|
||||
// the supports will not touch the model body.
|
||||
supportcfg.head_penetration_mm = -1.; // 1 mm should be more than enough
|
||||
supportcfg.head_penetration_mm = -0.1;
|
||||
|
||||
test_supports(obj_filename, supportcfg, byproducts);
|
||||
|
||||
@@ -277,6 +277,7 @@ void test_support_model_collision(
|
||||
const ExPolygons &mod_slice = byproducts.model_slices[n];
|
||||
|
||||
Polygons intersections = intersection(sup_slice, mod_slice);
|
||||
|
||||
notouch = notouch && intersections.empty();
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user