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