|
|
|
@ -4,10 +4,8 @@ import { lookOverBoardInfosTool } from "../Add-on/LookOverBoardInfos/LookOverBoa
|
|
|
|
|
import { HostApplicationServices } from "../ApplicationServices/HostApplicationServices";
|
|
|
|
|
import { EBoardKeyList } from "../Common/BoardKeyList";
|
|
|
|
|
import { MergeCurvelist } from "../Common/CurveUtils";
|
|
|
|
|
import { IsDev } from "../Common/Deving";
|
|
|
|
|
import { ParseExpr, safeEval } from "../Common/eval";
|
|
|
|
|
import { Log } from "../Common/Log";
|
|
|
|
|
import { SendReport } from "../Common/Report";
|
|
|
|
|
import { ShowSelectObjects } from "../Common/ShowSelectObjects";
|
|
|
|
|
import { Intent, Toaster } from "../Common/Toaster";
|
|
|
|
|
import { FixedNotZero, LINK_FUZZ } from "../Common/Utils";
|
|
|
|
@ -167,7 +165,7 @@ export namespace Production
|
|
|
|
|
timeout: 8000,
|
|
|
|
|
intent: Intent.DANGER,
|
|
|
|
|
});
|
|
|
|
|
Report([br.__OriginalEnt__ ?? br], br.Name + " 轮廓错误");
|
|
|
|
|
ShowSelectObjects([br.__OriginalEnt__ ?? br]);
|
|
|
|
|
return undefined;
|
|
|
|
|
}
|
|
|
|
|
let sealedOutline = GetSealedBoardContour(br, false);
|
|
|
|
@ -179,7 +177,7 @@ export namespace Production
|
|
|
|
|
timeout: 8000,
|
|
|
|
|
intent: Intent.DANGER,
|
|
|
|
|
});
|
|
|
|
|
Report([br.__OriginalEnt__ ?? br], br.Name + "扣除封边轮廓有误");
|
|
|
|
|
ShowSelectObjects([br.__OriginalEnt__ ?? br]);
|
|
|
|
|
return;
|
|
|
|
|
}
|
|
|
|
|
let offsetTanslation = sealedOutline.BoundingBox.min;
|
|
|
|
@ -918,13 +916,6 @@ export namespace Production
|
|
|
|
|
return pl;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function Report(ens: Entity[], msg: string)
|
|
|
|
|
{
|
|
|
|
|
if (IsDev()) return;
|
|
|
|
|
ShowSelectObjects(ens);
|
|
|
|
|
SendReport(msg);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
export function Get2DModeing(br: Board, offset: Vector3)
|
|
|
|
|
{
|
|
|
|
|
let res: I2DModeling[] = [];
|
|
|
|
|