diff --git a/src/UI/Components/CommandPanel/CommandList.ts b/src/UI/Components/CommandPanel/CommandList.ts index ebda40bab..0c7881232 100644 --- a/src/UI/Components/CommandPanel/CommandList.ts +++ b/src/UI/Components/CommandPanel/CommandList.ts @@ -323,7 +323,6 @@ export const CommandList: ICommand[] = observable([ chDes: "绘制酒格", customize: "WINERACK", }, - //抽屉 { icon: IconEnum.Lattice, typeId: "hb", @@ -334,6 +333,26 @@ export const CommandList: ICommand[] = observable([ chName: "格子抽", chDes: "绘制格子抽", }, + { + icon: IconEnum.Curve2Rec, + typeId: "hb", + link: "#", + defaultCustom: "CURVE2REC", + command: "CURVE2REC", + type: "画板", + chName: "线条变矩形", + chDes: "将任意线条分析为单个/多个矩形", + }, + { + icon: IconEnum.Rec2Br, + typeId: "hb", + link: "#", + defaultCustom: "R2B", + command: "R2B", + type: "画板", + chName: "矩形变板件", + chDes: "将矩形转换为板件", + }, //板件编辑 { @@ -456,6 +475,26 @@ export const CommandList: ICommand[] = observable([ chName: "批量查看", chDes: "批量查看板件属性", }, + { + icon: IconEnum.ClearRelatedGroove, + typeId: "bjbj", + link: "#", + defaultCustom: "CLEARRELEVANCE", + command: "CLEARRELEVANCE", + type: "板件编辑", + chName: "清除关联拉槽", + chDes: "清除关联拉槽", + }, + { + icon: IconEnum.SunnySideSealing, + typeId: "bjbj", + link: "#", + defaultCustom: "SETSMOOTHEDGE", + command: "SETSMOOTHEDGE", + type: "板件编辑", + chName: "见光面封边", + chDes: "见光面封边", + }, //灯光命令 { @@ -603,6 +642,26 @@ export const CommandList: ICommand[] = observable([ // enName: "Left View", chDes: "切换到左视图", }, + { + icon: IconEnum.BottomView, + typeId: "view", + link: "#", + defaultCustom: "BOTTOMVIEW", + command: "BOTTOMVIEW", + type: "视图", + chName: "仰视图", + chDes: "切换到仰视图", + }, + { + icon: IconEnum.BackView, + typeId: "view", + link: "#", + defaultCustom: "BACKVIEW", + command: "BACKVIEW", + type: "视图", + chName: "后视图", + chDes: "切换到后视图", + }, { icon: IconEnum.SouthWest, typeId: "view", @@ -614,6 +673,16 @@ export const CommandList: ICommand[] = observable([ // enName: "Swiso View", chDes: "切换到西南等轴测", }, + { + icon: IconEnum.ExplosionMap, + typeId: "view", + link: "#", + defaultCustom: "EXPLOSIONMAP", + command: "EXPLOSIONMAP", + type: "视图", + chName: "爆炸图", + chDes: "爆炸图效果", + }, { icon: IconEnum.Camera, typeId: "view", @@ -1223,6 +1292,16 @@ export const CommandList: ICommand[] = observable([ // enName: "Import DXF", chDes: "导入DXF", }, + { + icon: IconEnum.ClearHistoryRecord, + typeId: "file", + link: "#", + defaultCustom: "PU", + command: "PU", + type: "文件", + chName: "清除历史命令", + chDes: "清除所有历史命令 减小图纸所占空间 慎用", + }, //模板 {