|
|
@ -754,6 +754,12 @@ export class DrawDrillingTool extends Singleton
|
|
|
|
}
|
|
|
|
}
|
|
|
|
private CheckModelingCollision(localBoxs: Box3[], intBox3s: Box3[], dist: number)
|
|
|
|
private CheckModelingCollision(localBoxs: Box3[], intBox3s: Box3[], dist: number)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
if (this.m_Face.InterBoard.IsArcBoard || this.m_Face.LocalBoard.IsArcBoard)
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
//TODO:圆弧板先不判断排钻和造型碰撞
|
|
|
|
|
|
|
|
return false;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
const IsBrIntBoxes = (localBr: Board, boxes: Box3[]) =>
|
|
|
|
const IsBrIntBoxes = (localBr: Board, boxes: Box3[]) =>
|
|
|
|
{
|
|
|
|
{
|
|
|
|
let localMtx = localBr.OCSInv.multiply(this.m_Face.OCS).multiply(MoveMatrix(new Vector3(dist)));
|
|
|
|
let localMtx = localBr.OCSInv.multiply(this.m_Face.OCS).multiply(MoveMatrix(new Vector3(dist)));
|
|
|
|