From e78551dc6839a95af8fdaa38e5214867cbf95d35 Mon Sep 17 00:00:00 2001 From: ChenX Date: Mon, 23 Nov 2020 13:46:56 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3:=E5=AF=B9=E4=BA=8E=E7=9F=A9?= =?UTF-8?q?=E5=BD=A2=E6=9D=BF=E7=9A=84R=E8=A7=92,=E5=BD=93=E5=B0=8F?= =?UTF-8?q?=E4=BA=8ER=3D3=E6=97=B6,=E5=88=A4=E6=96=AD=E4=B8=BA=E7=9F=A9?= =?UTF-8?q?=E5=BD=A2=E7=9A=84=E9=97=AE=E9=A2=98?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/DatabaseServices/Entity/Extrude.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DatabaseServices/Entity/Extrude.ts b/src/DatabaseServices/Entity/Extrude.ts index fa49324be..a0b99d805 100644 --- a/src/DatabaseServices/Entity/Extrude.ts +++ b/src/DatabaseServices/Entity/Extrude.ts @@ -422,7 +422,7 @@ export class ExtrudeSolid extends Entity this.height = size.y; if (equaln(size.x, 0) || equaln(size.y, 0)) Log(`注意!!该板件尺寸为0!`); - this.isRect = equaln(this.width * this.height, this.ContourCurve.Area, 1); + this.isRect = equaln(this.width * this.height, this.ContourCurve.Area, 0.1); //修正轮廓基点 if (!equalv3(box.min, ZeroVec))