优化:翻转纹路进入F1设置

pull/1446/head
ChenX 4 years ago
parent 2b966de4eb
commit a6e60ee895

@ -101,6 +101,7 @@ export enum CommandNames
Drawer = "DRAWER", Drawer = "DRAWER",
DeleteHole = "DELETEHOLE", DeleteHole = "DELETEHOLE",
ReverseDrillFace = "REVERSEDRILLFACE", ReverseDrillFace = "REVERSEDRILLFACE",
FZWL = "FZWL",
ActicityLayerBoard = "ACTICITYLAYERBOARD", ActicityLayerBoard = "ACTICITYLAYERBOARD",
TestFb = "TESTFENGBIAN", TestFb = "TESTFENGBIAN",
TestModeling = "TESTMODELING", TestModeling = "TESTMODELING",

@ -408,7 +408,7 @@ export function registerCommand()
commandMachine.RegisterCommand(CommandNames.Drawer, new DrawDrawrer()); commandMachine.RegisterCommand(CommandNames.Drawer, new DrawDrawrer());
commandMachine.RegisterCommand(CommandNames.DeleteHole, new DeleteDrill()); commandMachine.RegisterCommand(CommandNames.DeleteHole, new DeleteDrill());
commandMachine.RegisterCommand(CommandNames.ReverseDrillFace, new ReverseDrillFace()); commandMachine.RegisterCommand(CommandNames.ReverseDrillFace, new ReverseDrillFace());
commandMachine.RegisterCommand("FZWL", new Command_FZWL()); commandMachine.RegisterCommand(CommandNames.FZWL, new Command_FZWL());
commandMachine.RegisterCommand("editorboardTemplate", new EditorBoardTemplate()); commandMachine.RegisterCommand("editorboardTemplate", new EditorBoardTemplate());
commandMachine.RegisterCommand(CommandNames.ActicityLayerBoard, new ActicityLayerBoard()); commandMachine.RegisterCommand(CommandNames.ActicityLayerBoard, new ActicityLayerBoard());

@ -516,6 +516,16 @@ export const CommandList: ICommand[] = [
chName: "翻转排孔面", chName: "翻转排孔面",
chDes: "", chDes: "",
}, },
{
icon: IconEnum.ModifyHoleFace,
typeId: "bjbj",
link: "#",
defaultCustom: "FZWL",
command: CommandNames.FZWL,
type: "板件编辑",
chName: "翻转纹路(正纹变反纹,反纹边正纹)",
chDes: "",
},
{ {
icon: IconEnum.BatchModifyDrillAndSeal, icon: IconEnum.BatchModifyDrillAndSeal,
typeId: "bjbj", typeId: "bjbj",

@ -94,6 +94,7 @@ export class TopToolBar extends React.Component<{}, {}>
{ svg: IconEnum.ClearRelatedGroove, title: "清除关联切割", command: CommandNames.ClearRef }, { svg: IconEnum.ClearRelatedGroove, title: "清除关联切割", command: CommandNames.ClearRef },
{ svg: IconEnum.SunnySideSealing, title: "见光面封边", command: CommandNames.SetSmoothEdge }, { svg: IconEnum.SunnySideSealing, title: "见光面封边", command: CommandNames.SetSmoothEdge },
{ svg: IconEnum.ModifyHoleFace, title: "翻转排孔面", command: CommandNames.ReverseDrillFace }, { svg: IconEnum.ModifyHoleFace, title: "翻转排孔面", command: CommandNames.ReverseDrillFace },
// { svg: IconEnum.ModifyHoleFace, title: "翻转纹路", command: CommandNames.FZWL }, //等待新图标
{ svg: IconEnum.EditorBBS, title: "编辑批量查看项", command: CommandNames.EditorBBS }, { svg: IconEnum.EditorBBS, title: "编辑批量查看项", command: CommandNames.EditorBBS },
{ svg: IconEnum.ShowHSPanel, title: "显示隐藏", command: CommandNames.ShowHSPanel }, { svg: IconEnum.ShowHSPanel, title: "显示隐藏", command: CommandNames.ShowHSPanel },
]; ];

Loading…
Cancel
Save