From 2f9cf0b9bccf179d6cfb2f9bcf127e5c6ac5c65d 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 1d5efef4008..67ffe2e9835 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 {