!2809 修复:圆弧板暂时不考虑排钻与造型碰撞检测

pull/2807/MERGE
林三 4 months ago committed by ChenX
parent 329bf1db06
commit 2ef0152036

@ -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)));

Loading…
Cancel
Save