|
|
|
@ -20,6 +20,7 @@ import { BoardConfigOption, BoardProcessOption, FaceDirection, IGrooveOption } f
|
|
|
|
|
import { RightPanelStore } from "../../Store/RightPanelStore";
|
|
|
|
|
import { BoardTypeComponent, ItemName, SetBoardDataBlock } from "./BoardCommon";
|
|
|
|
|
import { RightTabId } from "../RightPanel/RightPanel";
|
|
|
|
|
import { Region } from "../../../DatabaseServices/Region";
|
|
|
|
|
|
|
|
|
|
interface BoardConfigProps
|
|
|
|
|
{
|
|
|
|
@ -66,11 +67,14 @@ export class BoardConfigModal extends React.Component<BoardConfigProps, {}>{
|
|
|
|
|
let br = this.props.br;
|
|
|
|
|
let applyMatrix = ExtrudeApplyContour(br, contour);
|
|
|
|
|
|
|
|
|
|
if (contour instanceof Region)
|
|
|
|
|
br.GrooveCheckAll([]);//校验造型
|
|
|
|
|
else
|
|
|
|
|
br.ClearBoardModeling();//清除造型
|
|
|
|
|
|
|
|
|
|
//更新高级排钻数据
|
|
|
|
|
this.props.boardProcess.highDrill = br.BoardProcessOption.highDrill;
|
|
|
|
|
|
|
|
|
|
br.ClearBoardModeling();
|
|
|
|
|
|
|
|
|
|
//删除应用的轮廓
|
|
|
|
|
if (useCurves)
|
|
|
|
|
for (let c of useCurves)
|
|
|
|
|