FIX: auto-arranging result may fail clearance check

We add 0.001mm tolerance.

Change-Id: I630cc680db0a3a65a6a44e177de686fbac1e1f15
(cherry picked from commit 170f9c2a89d03060f9a9aa43952c0759ffbe7c1f)
This commit is contained in:
Arthur 2023-04-14 15:37:43 +08:00 committed by Lane.Wei
parent 1cf688725a
commit 1a7b12fa38
2 changed files with 3 additions and 3 deletions

View file

@ -27,7 +27,7 @@
// #define SUPPORT_TREE_DEBUG_TO_SVG
#if SUPPORT_TREE_DEBUG_TO_SVG
#ifdef SUPPORT_TREE_DEBUG_TO_SVG
#include "nlohmann/json.hpp"
#endif
namespace Slic3r
@ -3036,7 +3036,7 @@ void TreeSupport::smooth_nodes(std::vector<std::vector<Node *>> &contact_nodes)
}
}
}
#if SUPPORT_TREE_DEBUG_TO_SVG
#ifdef SUPPORT_TREE_DEBUG_TO_SVG
// save tree structure for viewing in python
struct TreeNode {
Vec3f pos;