mirror of
https://git.mirrors.martin98.com/https://github.com/bambulab/BambuStudio.git
synced 2025-08-06 08:26:04 +08: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:
parent
ff49a854b2
commit
c4ec0ddae9
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user