reduce curling

This commit is contained in:
PavelMikus 2022-07-07 16:56:07 +02:00 committed by Pavel Mikus
parent c65e22e6bb
commit 768bfd5c7f
2 changed files with 2 additions and 2 deletions

View File

@ -1249,7 +1249,7 @@ std::vector<std::pair<size_t, size_t>> SeamPlacer::find_seam_string(const PrintO
prev_point_index = seam_string.back();
//String added, prev_point_index updated
Vec3f dir = (next_seam.position - prev_position);
straightening_dir = Vec3f(-dir.x()* 0.5f , -dir.y() * 0.5f, dir.z());
straightening_dir = Vec3f(-dir.x()*0.7, -dir.y()*0.7, dir.z());
} else {
if (step == 1) {
reverse_lookup_direction();

View File

@ -150,7 +150,7 @@ public:
// minimum number of seams needed in cluster to make alignment happen
static constexpr size_t seam_align_minimum_string_seams = 6;
// millimeters covered by spline; determines number of splines for the given string
static constexpr size_t seam_align_mm_per_segment = 3.0f;
static constexpr size_t seam_align_mm_per_segment = 8.0f;
//The following data structures hold all perimeter points for all PrintObject.
std::unordered_map<const PrintObject*, PrintObjectSeamData> m_seam_per_object;