mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-16 06:45:58 +08:00
improve snapping of drawn seams to smaller angles (now bigger than 0.3*PI)
This commit is contained in:
parent
18c4fc69e3
commit
e42448d31b
@ -484,7 +484,7 @@ void process_perimeter_polygon(const Polygon &orig_polygon, float z_coord, const
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
viable_points_indices.push_back(last_enforced_idx);
|
viable_points_indices.push_back(last_enforced_idx);
|
||||||
if (abs(result.points[last_enforced_idx].local_ccw_angle) > 0.4 * PI) {
|
if (abs(result.points[last_enforced_idx].local_ccw_angle) > 0.3 * PI) {
|
||||||
orig_large_angle_points_indices.push_back(last_enforced_idx);
|
orig_large_angle_points_indices.push_back(last_enforced_idx);
|
||||||
}
|
}
|
||||||
last_enforced_idx = next_index(last_enforced_idx);
|
last_enforced_idx = next_index(last_enforced_idx);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user