!1397 优化:板件之间干涉检查

pull/1397/MERGE
ZoeLeeFZ 4 years ago committed by ChenX
parent bfe48c2517
commit dcc00ae5b9

File diff suppressed because one or more lines are too long

@ -118,6 +118,14 @@ export class CheckInterfereTool
if (!obb1.intersectsOBB(this.GetOBB(e2)))
continue;
//#I2DXNO
if (e1 instanceof Board && e2 instanceof Board)
{
let temp = e1.Clone();
if (!temp.Subtract([e2], [temp]))
continue;
}
let csg1 = this.GetCSG(e1);
let csg2 = this.GetCSG(e2);
if (!csg1 || !csg2)

Loading…
Cancel
Save