mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-08 07:27:41 -06:00
Support threshold overlap (#6606)
* Support threshold overlap * Update tooltip
This commit is contained in:
parent
1b1288c435
commit
7a5746b1ae
9 changed files with 23 additions and 8 deletions
|
@ -1517,8 +1517,8 @@ static inline ExPolygons detect_overhangs(
|
|||
(threshold_rad > 0. ?
|
||||
// Overhang defined by an angle.
|
||||
float(scale_(lower_layer.height / tan(threshold_rad))) :
|
||||
// Overhang defined by half the extrusion width.
|
||||
0.5f * fw);
|
||||
// Overhang defined by overlap.
|
||||
fw - float(scale_(object_config.support_threshold_overlap.get_abs_value(unscale_(fw)))));
|
||||
// Overhang polygons for this layer and region.
|
||||
Polygons diff_polygons;
|
||||
Polygons layerm_polygons = to_polygons(layerm->slices.surfaces);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue