From df84229adb7f75dcad6e73e2c1a98c3193b1c2d2 Mon Sep 17 00:00:00 2001 From: "salt.wei" Date: Wed, 28 Dec 2022 17:38:33 +0800 Subject: [PATCH] ENH: promote the precision when transfer step to mesh Previous precision is not enough, and some mesh is not of good quality. This is handling for github issue #825 Signed-off-by: salt.wei Change-Id: I68901b41c1a3279c61678dbbcc93c887020f18a7 --- src/libslic3r/Format/STEP.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libslic3r/Format/STEP.cpp b/src/libslic3r/Format/STEP.cpp index 1d5efef400..67ffe2e983 100644 --- a/src/libslic3r/Format/STEP.cpp +++ b/src/libslic3r/Format/STEP.cpp @@ -28,8 +28,8 @@ #include "TopExp_Explorer.hxx" #include "BRep_Tool.hxx" -const double STEP_TRANS_CHORD_ERROR = 0.005; -const double STEP_TRANS_ANGLE_RES = 1; +const double STEP_TRANS_CHORD_ERROR = 0.0025; +const double STEP_TRANS_ANGLE_RES = 0.5; namespace Slic3r {