pull/869/head
ChenX 5 years ago
parent 86e166a486
commit aa7ab6fcd5

@ -16,6 +16,6 @@ export function CuttingBoard(orgBoard: ExtrudeSolid, knifBoards: ExtrudeSolid[])
orgBoard.GrooveCheckAll(splitBoard);
let sum2 = orgBoard.GrooveVolume;
if (!equaln(sum1, sum2) && orgBoard instanceof Board)
Log(`${orgBoard.Name}(${orgBoard?.Id?.Index ?? ""})}被切割成功!`);
Log(`${orgBoard.Name}(${orgBoard?.Id?.Index ?? ""})被切割成功!`);
return splitBoard;
}

@ -517,7 +517,7 @@ export class ExtrudeSolid extends Entity
if (!equaln(sum1, sum2) || !equaln(area1, area2))
{
if (this instanceof Board)
Log(`${this.Name}(${this?.Id?.Index ?? ""})}被切割成功!`);
Log(`${this.Name}(${this?.Id?.Index ?? ""})被切割成功!`);
}
}

Loading…
Cancel
Save