mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-14 17:12:07 +00:00
ENH: put the seam on invisible line of modifier
Signed-off-by: qing.zhang <qing.zhang@bambulab.com> Change-Id: Ib16de93b26e96902ce2e0d844b78d0cc680638a4
This commit is contained in:
@@ -467,6 +467,8 @@ void process_perimeter_polygon(
|
||||
if (orig_point) {
|
||||
Vec3f pos_of_next = orig_polygon_points.empty() ? first : orig_polygon_points.front();
|
||||
float distance_to_next = (position - pos_of_next).norm();
|
||||
if (distance_to_next > perimeter.flow_width * perimeter.flow_width * 4)
|
||||
oversampled_points.push((position + pos_of_next) / 2);
|
||||
if (global_model_info.is_enforced(position, distance_to_next)) {
|
||||
Vec3f vec_to_next = (pos_of_next - position).normalized();
|
||||
float step_size = SeamPlacer::enforcer_oversampling_distance;
|
||||
|
||||
Reference in New Issue
Block a user