mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-19 12:47:50 -06: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
1 changed files with 2 additions and 0 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue