|
|
@ -543,11 +543,10 @@ export class Board extends ExtureSolid
|
|
|
|
this.m_BoardProcessOption.highDrill = Array(cu.EndParam).fill(defaultType);
|
|
|
|
this.m_BoardProcessOption.highDrill = Array(cu.EndParam).fill(defaultType);
|
|
|
|
super.ContourCurve = cu;
|
|
|
|
super.ContourCurve = cu;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
GetBoardBoxInMat(mat: Matrix4)
|
|
|
|
GetBoardBoxInMat(mtx: Matrix4)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
let min = new Vector3(0, 0, 0).applyMatrix4(this.OCS).applyMatrix4(mat);
|
|
|
|
let mtxC = mtx.clone().multiply(this.OCS);
|
|
|
|
let max = new Vector3(this.width, this.height, this.thickness).applyMatrix4(this.OCS).applyMatrix4(mat);
|
|
|
|
return this.BoundingBoxInOCS.applyMatrix4(mtxC);
|
|
|
|
return new Box3Ext().setFromPoints([min, max]);
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Explode()
|
|
|
|
Explode()
|
|
|
|
{
|
|
|
|
{
|
|
|
|