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 <salt.wei@bambulab.com>
Change-Id: I68901b41c1a3279c61678dbbcc93c887020f18a7
This commit is contained in:
salt.wei 2022-12-28 17:38:33 +08:00 committed by Lane.Wei
parent d708f5d521
commit df84229adb
1 changed files with 2 additions and 2 deletions

View File

@ -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 {