|
|
|
@ -1,13 +1,14 @@
|
|
|
|
|
import { Intent } from "@blueprintjs/core";
|
|
|
|
|
import { observable } from "mobx";
|
|
|
|
|
import { log } from "util";
|
|
|
|
|
import { CommandNames } from "../../../Common/CommandNames";
|
|
|
|
|
import { safeEval } from "../../../Common/eval";
|
|
|
|
|
import { Board } from "../../../DatabaseServices/Entity/Board";
|
|
|
|
|
import { CommandWrap } from "../../../Editor/CommandMachine";
|
|
|
|
|
import { GetBoardSealingCurves, HandleRectBoardSealingData, GetBoardHighSeal } from "../../../GraphicsSystem/CalcEdgeSealing";
|
|
|
|
|
import { GetBoardHighSeal, GetBoardSealingCurves, HandleRectBoardSealingData } from "../../../GraphicsSystem/CalcEdgeSealing";
|
|
|
|
|
import { ShowLinesToaster } from "../../Components/Toaster";
|
|
|
|
|
import { IHighSealedItem } from "../BoardInterface";
|
|
|
|
|
import { BoardEdgesEditor, Board_Editor_Key } from "./BoardEdgesEditor";
|
|
|
|
|
import { Intent } from "@blueprintjs/core";
|
|
|
|
|
|
|
|
|
|
export class SealingStore extends BoardEdgesEditor
|
|
|
|
|
{
|
|
|
|
@ -89,11 +90,12 @@ export class SealingStore extends BoardEdgesEditor
|
|
|
|
|
for (let [b, cus] of this._brMap)
|
|
|
|
|
{
|
|
|
|
|
let data = this._dataMap.get(b);
|
|
|
|
|
HandleRectBoardSealingData(b, data, cus.map(c => c.ApplyMatrix(b.OCSInv)));
|
|
|
|
|
let ocsInv = b.OCSInv;
|
|
|
|
|
HandleRectBoardSealingData(b, data, cus.map(c => c.ApplyMatrix(ocsInv)));
|
|
|
|
|
b.BoardProcessOption.highSealed = data;
|
|
|
|
|
}
|
|
|
|
|
this._dataMap.clear();
|
|
|
|
|
}, "封边属性编辑");
|
|
|
|
|
}, CommandNames.封边属性编辑);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|