reduce curling
This commit is contained in:
parent
c65e22e6bb
commit
768bfd5c7f
@ -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();
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user