From 7a38f83695ef3a880d090f6c692dddfccaac9d82 Mon Sep 17 00:00:00 2001 From: ChenX Date: Fri, 12 Jan 2024 10:48:23 +0800 Subject: [PATCH] =?UTF-8?q?=E5=8F=98=E6=9B=B4:=E6=9C=80=E4=BD=8E=E5=9C=86?= =?UTF-8?q?=E5=BC=A7=E5=88=86=E6=AE=B5=E6=95=B0=E4=BB=8E36=E6=94=B9?= =?UTF-8?q?=E6=88=9012?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- __test__/Geometry/__snapshots__/EdgeGeometry.test.ts.snap | 4 ++-- src/Geometry/ExtrudeMeshGeomBuilder/SplitCurveParams.ts | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/__test__/Geometry/__snapshots__/EdgeGeometry.test.ts.snap b/__test__/Geometry/__snapshots__/EdgeGeometry.test.ts.snap index 2fcbf95c7..6761447e9 100644 --- a/__test__/Geometry/__snapshots__/EdgeGeometry.test.ts.snap +++ b/__test__/Geometry/__snapshots__/EdgeGeometry.test.ts.snap @@ -52,9 +52,9 @@ exports[`无法构造盖子轮廓导致的丢面 1`] = `9423`; exports[`无法构造盖子轮廓导致的丢面 2`] = `6336`; -exports[`有全深槽时,构建的Mesh错误 1`] = `2736`; +exports[`有全深槽时,构建的Mesh错误 1`] = `1008`; -exports[`有全深槽时,构建的Mesh错误 2`] = `966`; +exports[`有全深槽时,构建的Mesh错误 2`] = `390`; exports[`极限共线 1`] = `432`; diff --git a/src/Geometry/ExtrudeMeshGeomBuilder/SplitCurveParams.ts b/src/Geometry/ExtrudeMeshGeomBuilder/SplitCurveParams.ts index 4f61da4dd..fa4656145 100644 --- a/src/Geometry/ExtrudeMeshGeomBuilder/SplitCurveParams.ts +++ b/src/Geometry/ExtrudeMeshGeomBuilder/SplitCurveParams.ts @@ -11,7 +11,7 @@ import { AsVector3, equaln } from "../GeUtils"; export const ARC_DRAW_CONFIG = { ARC_SplitLength: 4,//圆的分段长度 ARC_RADIUS_MIN: 25,//大于半径25的自动优化成36等分圆 保证绘制光滑 - Arc_MinSplitCount: 36,//圆的最小分段个数 + Arc_MinSplitCount: 12,//圆的最小分段个数 ARC_MaxSplitCount: 180,//圆的最大分段个数 }; //del_exp_end