mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-09-20 01:03:14 +08:00
FIX: apply xy_expansion after support blocker
jira: STUDIO-9040 Change-Id: I30e09a67047f651a547082bff737524aba940f19
This commit is contained in:
parent
a0669137ec
commit
5e476a1385
@ -1457,7 +1457,6 @@ static inline ExPolygons detect_overhangs(
|
||||
// This is done to increase size of the supporting columns below, as they are calculated by
|
||||
// propagating these contact surfaces downwards.
|
||||
diff_polygons = diff(intersection(expand(diff_polygons, lower_layer_offset, SUPPORT_SURFACES_OFFSET_PARAMETERS), layerm_polygons), lower_layer_polygons);
|
||||
if (xy_expansion != 0) { diff_polygons = expand(diff_polygons, xy_expansion, SUPPORT_SURFACES_OFFSET_PARAMETERS); }
|
||||
}
|
||||
//FIXME add user defined filtering here based on minimal area or minimum radius or whatever.
|
||||
|
||||
@ -1509,6 +1508,8 @@ static inline ExPolygons detect_overhangs(
|
||||
if (diff_polygons.empty() || offset(diff_polygons, -0.1 * fw).empty())
|
||||
continue;
|
||||
|
||||
if (xy_expansion != 0) { diff_polygons = expand(diff_polygons, xy_expansion, SUPPORT_SURFACES_OFFSET_PARAMETERS); }
|
||||
|
||||
polygons_append(overhang_polygons, diff_polygons);
|
||||
} // for each layer.region
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user