变更:镜像,设置板类型时,总是设置板的上下左右封边

pull/1963/MERGE
ChenX 2 years ago
parent 37a67a4911
commit c1247214c7

@ -807,8 +807,8 @@ export class Board extends ExtrudeSolid
this.WriteAllObjectRecord();
let highSeals: IHighSealedItem[];
if (this.isRect)
highSeals = GetBoardHighSeal(this, GetBoardSealingCurves(this));
// if (this.isRect)
highSeals = GetBoardHighSeal(this, GetBoardSealingCurves(this));
let a = Math.atan2(x.y, x.x);
@ -832,8 +832,8 @@ export class Board extends ExtrudeSolid
if (this.contourCurve instanceof Polyline)
this.contourCurve.UpdateOCSTo(IdentityMtx4);
if (this.isRect)
HandleRectBoardSealingData(this, highSeals);//这里不可以用缓存的曲线 否则分析错误,必须重新开始分析曲线
// if (this.isRect)
HandleRectBoardSealingData(this, highSeals);//这里不可以用缓存的曲线 否则分析错误,必须重新开始分析曲线
this.Update();
return this;
@ -914,7 +914,7 @@ export class Board extends ExtrudeSolid
this.BoardProcessOption.highSealed = highSeals;
if (!hasSplitSize && this.isRect)
if (!hasSplitSize)//&& this.isRect
HandleRectBoardSealingData(this, highSeals);
//重新构建SpaceOCS
this._SpaceOCS.multiplyMatrices(this._Matrix, new Matrix4().getInverse(this.RotateMat));

Loading…
Cancel
Save