修正:对于矩形板的R角,当小于R=3时,判断为矩形的问题

pull/1340/head
ChenX 4 years ago
parent affe975e39
commit e78551dc68

@ -422,7 +422,7 @@ export class ExtrudeSolid extends Entity
this.height = size.y; this.height = size.y;
if (equaln(size.x, 0) || equaln(size.y, 0)) if (equaln(size.x, 0) || equaln(size.y, 0))
Log(`注意!!该板件尺寸为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)) if (!equalv3(box.min, ZeroVec))

Loading…
Cancel
Save