!393 命令面板增加图标&零碎的界面优化

Merge pull request !393 from 肖诗雅/commandPanel_updateAndUI_adjust
pull/393/MERGE
肖诗雅 5 years ago committed by ChenX
parent b546ef78ac
commit 8630cc903f

@ -8,6 +8,7 @@ import { commandReg } from "../../../Common/Utils";
import { CommandServer } from "../../../DatabaseServices/CommandServer";
import { commandMachine } from "../../../Editor/CommandMachine";
import { ICommand, CommandList } from "./CommandList";
import { ICON_CDN } from "../../IconEnum";
enum TipType
{
@ -142,7 +143,7 @@ export class CommandItem extends React.Component<CommandItemProps, {}>{
onClick={this.handleLiClick}
ref={el => this.m_commandItemEl = el}
>
<li></li>
<li>{store.commandData.icon ? <img src={`${ICON_CDN}/${store.commandData.icon}`} /> : <></>}</li>
<li>{store.commandData.chName}</li>
<ul className="ul-unstyle">
<li>{store.commandData.chDes}</li>

@ -1,4 +1,5 @@
import { observable } from "mobx";
import { IconEnum } from "../../IconEnum";
/**
*
* ,,
@ -25,6 +26,7 @@ export interface ICommand
export const CommandList: ICommand[] = observable([
//二维命令
{
icon: IconEnum.Point,
typeId: "i2d",
link: "#",
defaultCustom: "PT",
@ -35,6 +37,7 @@ export const CommandList: ICommand[] = observable([
chDes: "画一个点",
},
{
icon: IconEnum.Line,
typeId: "i2d",
link: "#",
defaultCustom: "L",
@ -45,6 +48,7 @@ export const CommandList: ICommand[] = observable([
chDes: "画一条直线",
},
{
icon: IconEnum.Arc,
typeId: "i2d",
link: "#",
defaultCustom: "ARC",
@ -55,6 +59,7 @@ export const CommandList: ICommand[] = observable([
chDes: "画一条圆弧",
},
{
icon: IconEnum.Circle,
typeId: "i2d",
link: "#",
defaultCustom: "C",
@ -65,6 +70,7 @@ export const CommandList: ICommand[] = observable([
chDes: "画一个圆",
},
{
icon: IconEnum.PolyLine,
typeId: "i2d",
link: "#",
defaultCustom: "PL",
@ -75,6 +81,7 @@ export const CommandList: ICommand[] = observable([
chDes: "画一条多段线",
},
{
icon: IconEnum.Rectangle,
typeId: "i2d",
link: "#",
defaultCustom: "RECTANG",
@ -95,6 +102,7 @@ export const CommandList: ICommand[] = observable([
chDes: "画一个椭圆",
},
{
icon: IconEnum.Text,
typeId: "i2d",
link: "#",
defaultCustom: "TEXT",
@ -105,6 +113,7 @@ export const CommandList: ICommand[] = observable([
chDes: "创建单行文字对象",
},
{
icon: IconEnum.SpLine,
typeId: "i2d",
link: "#",
defaultCustom: "SPL",
@ -115,6 +124,7 @@ export const CommandList: ICommand[] = observable([
chDes: "创建经过或靠近一组拟合点或由控制框的顶点定义的平滑曲线",
},
{
icon: IconEnum.Box,
typeId: "i2d",
link: "#",
defaultCustom: "B",
@ -125,6 +135,7 @@ export const CommandList: ICommand[] = observable([
chDes: "创建三维实体长方体",
},
{
icon: IconEnum.Region,
typeId: "i2d",
link: "#",
defaultCustom: "REG",
@ -135,6 +146,7 @@ export const CommandList: ICommand[] = observable([
chDes: "绘制面域",
},
{
icon: IconEnum.Tangen,
typeId: "i2d",
link: "#",
defaultCustom: "TAN",
@ -145,6 +157,7 @@ export const CommandList: ICommand[] = observable([
chDes: "画切线",
},
{
icon: IconEnum.Circle,
typeId: "i2d",
link: "#",
defaultCustom: "C0",
@ -157,6 +170,7 @@ export const CommandList: ICommand[] = observable([
//三维命令
{
icon: IconEnum.Ball,
typeId: "i3d",
link: "#",
defaultCustom: "SP",
@ -167,6 +181,7 @@ export const CommandList: ICommand[] = observable([
chDes: "创建三维实体球体",
},
{
icon: IconEnum.SkyBox,
typeId: "i3d",
link: "#",
defaultCustom: "SKY",
@ -177,6 +192,7 @@ export const CommandList: ICommand[] = observable([
chDes: "天空盒",
},
{
icon: IconEnum.Cuboid,
typeId: "i3d",
link: "#",
defaultCustom: "BOX",
@ -187,6 +203,7 @@ export const CommandList: ICommand[] = observable([
chDes: "绘制三维长方体实体",
},
{
icon: IconEnum.UCS,
typeId: "i3d",
link: "#",
defaultCustom: "UCS",
@ -197,6 +214,7 @@ export const CommandList: ICommand[] = observable([
chDes: "设置当前用户坐标系 (UCS) 的原点和方向",
},
{
icon: IconEnum.Cylinder,
typeId: "i3d",
link: "#",
defaultCustom: "CYL",
@ -219,6 +237,7 @@ export const CommandList: ICommand[] = observable([
//画板命令
{
icon: IconEnum.DB,
typeId: "hb",
link: "#",
defaultCustom: "BR",
@ -229,6 +248,7 @@ export const CommandList: ICommand[] = observable([
chDes: "画板",
},
{
icon: IconEnum.ZYC,
typeId: "hb",
link: "#",
defaultCustom: "ZYC",
@ -239,6 +259,7 @@ export const CommandList: ICommand[] = observable([
chDes: "画左右侧板",
},
{
icon: IconEnum.DDB,
typeId: "hb",
link: "#",
defaultCustom: "DD",
@ -249,6 +270,7 @@ export const CommandList: ICommand[] = observable([
chDes: "画顶底板",
},
{
icon: IconEnum.CB,
typeId: "hb",
link: "#",
defaultCustom: "CB",
@ -259,6 +281,7 @@ export const CommandList: ICommand[] = observable([
chDes: "画层板",
},
{
icon: IconEnum.BB,
typeId: "hb",
link: "#",
defaultCustom: "BB",
@ -269,6 +292,7 @@ export const CommandList: ICommand[] = observable([
chDes: "画背板",
},
{
icon: IconEnum.LB,
typeId: "hb",
link: "#",
defaultCustom: "LB",
@ -279,6 +303,7 @@ export const CommandList: ICommand[] = observable([
chDes: "画立板",
},
{
icon: IconEnum.DB,
typeId: "hb",
link: "#",
defaultCustom: "DB",
@ -289,6 +314,7 @@ export const CommandList: ICommand[] = observable([
chDes: "画单板",
},
{
icon: IconEnum.Floor,
typeId: "hb",
link: "#",
defaultCustom: "FL",
@ -299,16 +325,18 @@ export const CommandList: ICommand[] = observable([
chDes: "画地板",
},
{
icon: IconEnum.Door,
typeId: "hb",
link: "#",
defaultCustom: "MB",
command: "MB",
defaultCustom: "DOOR",
command: "DOOR",
type: "画板",
chName: "门板",
// enName: "Door",
chDes: "画门板",
},
{
icon: IconEnum.YX,
typeId: "hb",
link: "#",
defaultCustom: "YX",
@ -319,6 +347,7 @@ export const CommandList: ICommand[] = observable([
chDes: "画异形板",
},
{
icon: IconEnum.YXLK,
typeId: "hb",
link: "#",
defaultCustom: "YXLK",
@ -329,6 +358,18 @@ export const CommandList: ICommand[] = observable([
chDes: "根据轮廓画异形板",
},
{
icon: IconEnum.TopLine,
typeId: "hb",
link: "#",
defaultCustom: "TOPLINE",
command: "TOPLINE",
type: "画板",
chName: "线条",
// enName: "TopLine",
chDes: "线条",
},
{
icon: IconEnum.SKT,
typeId: "hb",
link: "#",
defaultCustom: "SKT",
@ -339,6 +380,7 @@ export const CommandList: ICommand[] = observable([
chDes: "收口条",
},
{
icon: IconEnum.ObliqueCB,
typeId: "hb",
link: "#",
defaultCustom: "ROTATELYBR",
@ -348,6 +390,7 @@ export const CommandList: ICommand[] = observable([
chDes: "绘制斜层板",
},
{
icon: IconEnum.WineRack,
typeId: "hb",
link: "#",
defaultCustom: "WINERACK",
@ -358,6 +401,7 @@ export const CommandList: ICommand[] = observable([
customize: "WINERACK",
},
{
icon: IconEnum.WineRack,
typeId: "hb",
link: "#",
defaultCustom: "DRAWWINERACK",
@ -367,6 +411,7 @@ export const CommandList: ICommand[] = observable([
chDes: "绘制正酒格",
},
{
icon: IconEnum.WineRack,
typeId: "hb",
link: "#",
defaultCustom: "DRAWWINERACK2",
@ -376,6 +421,7 @@ export const CommandList: ICommand[] = observable([
chDes: "绘制斜酒格",
},
{
icon: IconEnum.WineRack,
typeId: "hb",
link: "#",
defaultCustom: "LATTICE",
@ -393,8 +439,70 @@ export const CommandList: ICommand[] = observable([
chName: "批量修改",
chDes: "批量修改排钻封边",
},
//板件编辑
{
icon: IconEnum.QG,
typeId: "bjbj",
link: "#",
defaultCustom: "QG",
command: "QG",
type: "板件编辑",
chName: "线性切割",
chDes: "根据所绘线条切割板件",
},
{
icon: IconEnum.QG2,
typeId: "bjbj",
link: "#",
defaultCustom: "QG2",
command: "QG2",
type: "板件编辑",
chName: "板件相切",
chDes: "以一个板件切割其他板件",
},
{
icon: IconEnum.QG4,
typeId: "bjbj",
link: "#",
defaultCustom: "QG4",
command: "QG4",
type: "板件编辑",
chName: "参照切割",
chDes: "以一个板件为参照切割其他板件",
},
{
icon: IconEnum.JoinBoard,
typeId: "bjbj",
link: "#",
defaultCustom: "JOIN",
command: "JOIN",
type: "板件编辑",
chName: "板件合并",
chDes: "合并板件",
},
{
icon: IconEnum.Retraction,
typeId: "bjbj",
link: "#",
defaultCustom: "BOARDBATCHCURTAIL",
command: "BOARDBATCHCURTAIL",
type: "板件编辑",
chName: "批量内缩",
chDes: "批量内缩板件",
},
{
icon: IconEnum.BoardFindModify,
typeId: "bjbj",
link: "#",
defaultCustom: "BOARDFINDMODIFY",
command: "BOARDFINDMODIFY",
type: "板件编辑",
chName: "查找修改",
chDes: "在当前所有板件属性中进行查找修改",
},
//灯光命令
{
icon: IconEnum.SpotLamp,
typeId: "dg",
link: "#",
defaultCustom: "SL",
@ -405,6 +513,7 @@ export const CommandList: ICommand[] = observable([
chDes: "光源自照射点做局部照射和自由散射",
},
{
icon: IconEnum.DownLamp,
typeId: "dg",
link: "#",
defaultCustom: "SL1",
@ -415,6 +524,7 @@ export const CommandList: ICommand[] = observable([
chDes: "光源自上而下垂直做局部照射和自由散射",
},
{
icon: IconEnum.SunLight,
typeId: "dg",
link: "#",
defaultCustom: "PTL",
@ -425,6 +535,7 @@ export const CommandList: ICommand[] = observable([
chDes: "从所在点向空间各个方向均匀发光,无需输入参数",
},
{
icon: IconEnum.ParamPtLight,
typeId: "dg",
link: "#",
defaultCustom: "PTL2",
@ -435,6 +546,7 @@ export const CommandList: ICommand[] = observable([
chDes: "从所在点向空间各个方向均匀发光,需要输入参数",
},
{
icon: IconEnum.RectLight,
typeId: "dg",
link: "#",
defaultCustom: "RL",
@ -447,6 +559,7 @@ export const CommandList: ICommand[] = observable([
//排钻命令
{
icon: IconEnum.Drill,
typeId: "pz",
link: "#",
defaultCustom: "PZ",
@ -457,6 +570,7 @@ export const CommandList: ICommand[] = observable([
chDes: "排钻",
},
{
icon: IconEnum.DrillConfig,
typeId: "pz",
link: "#",
defaultCustom: "DRILLCONFIG",
@ -467,6 +581,7 @@ export const CommandList: ICommand[] = observable([
chDes: "排钻配置",
},
{
icon: IconEnum.DeleteDrill,
typeId: "pz",
link: "#",
defaultCustom: "DELETEDRILL",
@ -478,6 +593,7 @@ export const CommandList: ICommand[] = observable([
//视图命令
{
icon: IconEnum.TopView,
typeId: "view",
link: "#",
defaultCustom: "FS",
@ -488,6 +604,7 @@ export const CommandList: ICommand[] = observable([
chDes: "切换到俯视图",
},
{
icon: IconEnum.FrontView,
typeId: "view",
link: "#",
defaultCustom: "QS",
@ -498,6 +615,7 @@ export const CommandList: ICommand[] = observable([
chDes: "切换到前视图",
},
{
icon: IconEnum.RightView,
typeId: "view",
link: "#",
defaultCustom: "YS",
@ -508,6 +626,7 @@ export const CommandList: ICommand[] = observable([
chDes: "切换到右视图",
},
{
icon: IconEnum.LeftView,
typeId: "view",
link: "#",
defaultCustom: "ZS",
@ -518,6 +637,18 @@ export const CommandList: ICommand[] = observable([
chDes: "切换到左视图",
},
{
icon: IconEnum.Swiso,
typeId: "view",
link: "#",
defaultCustom: "SWISO",
command: "SWISO",
type: "视图",
chName: "西南等轴测",
// enName: "Swiso View",
chDes: "切换到西南等轴测",
},
{
icon: IconEnum.Camera,
typeId: "view",
link: "#",
defaultCustom: "CC",
@ -530,6 +661,7 @@ export const CommandList: ICommand[] = observable([
//操作实体
{
icon: IconEnum.CSGunion,
typeId: "czst",
link: "#",
defaultCustom: "CSGUNION",
@ -540,18 +672,20 @@ export const CommandList: ICommand[] = observable([
chDes: "实体并集",
},
{
icon: IconEnum.CSGintersect,
typeId: "czst",
link: "#",
defaultCustom: "CSGSUB",
command: "CSGSUB",
type: "实体",
chName: "实体集",
chName: "实体集",
// enName: "CSGsub",
chDes: "实体集",
chDes: "实体集",
},
//尺寸标注命令
{
icon: IconEnum.DimALigned,
typeId: "dim",
link: "#",
defaultCustom: "DAL",
@ -562,6 +696,7 @@ export const CommandList: ICommand[] = observable([
chDes: "创建与尺寸界线的原点对齐的线性标注",
},
{
icon: IconEnum.DimLinear,
typeId: "dim",
link: "#",
defaultCustom: "DLI",
@ -572,6 +707,7 @@ export const CommandList: ICommand[] = observable([
chDes: "从上一个标注或选定标注的基线处创建线性标注、角度标注或坐标标注",
},
{
icon: IconEnum.DimAngle,
typeId: "dim",
link: "#",
defaultCustom: "DAN",
@ -582,6 +718,7 @@ export const CommandList: ICommand[] = observable([
chDes: "测量选定的几何对象或 3 个点之间的角度",
},
{
icon: IconEnum.DimContinued,
typeId: "dim",
link: "#",
defaultCustom: "DCO",
@ -592,6 +729,7 @@ export const CommandList: ICommand[] = observable([
chDes: "创建从上一个标注或选定标注的尺寸界线开始的标注",
},
{
icon: IconEnum.Circle,
typeId: "dim",
link: "#",
defaultCustom: "DIMRAD",
@ -602,6 +740,7 @@ export const CommandList: ICommand[] = observable([
chDes: "标注半径",
},
{
icon: IconEnum.Diameter,
typeId: "dim",
link: "#",
defaultCustom: "DIMDIA",
@ -611,9 +750,21 @@ export const CommandList: ICommand[] = observable([
// enName: "Continue Dimension",
chDes: "标注直径",
},
{
icon: IconEnum.AutoDim,
typeId: "dim",
link: "#",
defaultCustom: "AUTODIMBRS",
command: "AUTODIMBRS",
type: "标注",
chName: "标注柜体",
// enName: "Cabinet Dimension",
chDes: "标注柜体",
},
//#region 视觉样式
{
icon: IconEnum.WireframeView,
typeId: "VisualStyle",
link: "#",
defaultCustom: "XK",
@ -623,6 +774,7 @@ export const CommandList: ICommand[] = observable([
chDes: "切换视觉样式到二维线框",
},
{
icon: IconEnum.ConceptView,
typeId: "VisualStyle",
link: "#",
defaultCustom: "GN",
@ -631,10 +783,21 @@ export const CommandList: ICommand[] = observable([
chName: "概念",
chDes: "切换视觉样式到概念模式",
},
{
icon: IconEnum.Reality,
typeId: "VisualStyle",
link: "#",
defaultCustom: "PHYSICAL",
command: "PHYSICAL",
type: "视觉样式",
chName: "真实",
chDes: "切换视觉样式到真实模式",
},
//#endregion
//#region 其他命令
{
icon: IconEnum.Copy,
typeId: "util",
link: "#",
defaultCustom: "COPY",
@ -645,6 +808,7 @@ export const CommandList: ICommand[] = observable([
chDes: "在指定方向上按指定距离复制对象",
},
{
icon: IconEnum.CopyClip,
typeId: "util",
link: "#",
defaultCustom: "COPYCLIP",
@ -655,6 +819,7 @@ export const CommandList: ICommand[] = observable([
chDes: "将所选对象复制到剪贴板",
},
{
icon: IconEnum.PasteClip,
typeId: "util",
link: "#",
defaultCustom: "PASTECLIP",
@ -665,6 +830,7 @@ export const CommandList: ICommand[] = observable([
chDes: "将剪贴板中的对象粘贴到当前图形中",
},
{
icon: IconEnum.Delete,
typeId: "util",
link: "#",
defaultCustom: "E",
@ -675,6 +841,7 @@ export const CommandList: ICommand[] = observable([
chDes: "删除已经绘制的图元",
},
{
icon: IconEnum.Redo,
typeId: "util",
link: "#",
defaultCustom: "REDO",
@ -685,6 +852,7 @@ export const CommandList: ICommand[] = observable([
chDes: "重做上一步操作",
},
{
icon: IconEnum.Undo,
typeId: "util",
link: "#",
defaultCustom: "U",
@ -695,6 +863,7 @@ export const CommandList: ICommand[] = observable([
chDes: "放弃上一步操作",
},
{
icon: IconEnum.Move,
typeId: "util",
link: "#",
defaultCustom: "M",
@ -705,6 +874,7 @@ export const CommandList: ICommand[] = observable([
chDes: "在指定方向上按指定距离移动对象",
},
{
icon: IconEnum.Rotate,
typeId: "util",
link: "#",
defaultCustom: "RO",
@ -715,6 +885,7 @@ export const CommandList: ICommand[] = observable([
chDes: "绕基点旋转对象",
},
{
icon: IconEnum.Break,
typeId: "util",
link: "#",
defaultCustom: "BREAK",
@ -725,6 +896,7 @@ export const CommandList: ICommand[] = observable([
chDes: "在两点之间打断选定对象",
},
{
icon: IconEnum.Extend,
typeId: "util",
link: "#",
defaultCustom: "TR",
@ -735,6 +907,7 @@ export const CommandList: ICommand[] = observable([
chDes: "修剪对象以与其他对象的边相接",
},
{
icon: IconEnum.Array,
typeId: "util",
link: "#",
defaultCustom: "ARRAY",
@ -745,6 +918,7 @@ export const CommandList: ICommand[] = observable([
chDes: "创建按指定方式排列的对象副本",
},
{
icon: IconEnum.Extend,
typeId: "util",
link: "#",
defaultCustom: "EX",
@ -755,6 +929,7 @@ export const CommandList: ICommand[] = observable([
chDes: "扩展对象以与其他对象的边相接",
},
{
icon: IconEnum.Zoom,
typeId: "util",
link: "#",
defaultCustom: "SC",
@ -765,6 +940,7 @@ export const CommandList: ICommand[] = observable([
chDes: "放大或缩小选定对象,使缩放后对象的比例保持不变",
},
{
icon: IconEnum.Divide,
typeId: "util",
link: "#",
defaultCustom: "DIV",
@ -775,6 +951,7 @@ export const CommandList: ICommand[] = observable([
chDes: "创建沿对象的长度或周长等间隔排列的点对象或块",
},
{
icon: IconEnum.Fillet,
typeId: "util",
link: "#",
defaultCustom: "F",
@ -785,6 +962,7 @@ export const CommandList: ICommand[] = observable([
chDes: "放大或缩小选定对象,使缩放后对象的比例保持不变",
},
{
icon: IconEnum.Reverse,
typeId: "util",
link: "#",
defaultCustom: "REV",
@ -795,6 +973,7 @@ export const CommandList: ICommand[] = observable([
chDes: "翻转曲线",
},
{
icon: IconEnum.Stretch,
typeId: "util",
link: "#",
defaultCustom: "S",
@ -805,6 +984,7 @@ export const CommandList: ICommand[] = observable([
chDes: "拉伸与选择窗口或多边形交叉的对象",
},
{
icon: IconEnum.Stretch,
typeId: "util",
link: "#",
defaultCustom: "GRIP",
@ -815,6 +995,7 @@ export const CommandList: ICommand[] = observable([
chDes: "拉伸夹点",
},
{
icon: IconEnum.Offset,
typeId: "util",
link: "#",
defaultCustom: "OO",
@ -825,6 +1006,7 @@ export const CommandList: ICommand[] = observable([
chDes: "X偏移",
},
{
icon: IconEnum.Offset,
typeId: "util",
link: "#",
defaultCustom: "O",
@ -835,6 +1017,7 @@ export const CommandList: ICommand[] = observable([
chDes: "创建同心圆、平行线和平行曲线",
},
{
icon: IconEnum.Length,
typeId: "util",
link: "#",
defaultCustom: "LENGTH",
@ -845,6 +1028,7 @@ export const CommandList: ICommand[] = observable([
chDes: "测量长度",
},
{
icon: IconEnum.Pedit,
typeId: "util",
link: "#",
defaultCustom: "PE",
@ -855,6 +1039,7 @@ export const CommandList: ICommand[] = observable([
chDes: "编辑多段线、要合并到多段线的对象以及相关对象",
},
{
icon: IconEnum.Join,
typeId: "util",
link: "#",
defaultCustom: "J",
@ -865,6 +1050,7 @@ export const CommandList: ICommand[] = observable([
chDes: "合并线性和弯曲对象的端点,以便创建单个对象",
},
{
icon: IconEnum.FBX,
typeId: "util",
link: "#",
defaultCustom: "FBX",
@ -875,6 +1061,7 @@ export const CommandList: ICommand[] = observable([
chDes: "导入FBX",
},
{
icon: IconEnum.DXF,
typeId: "util",
link: "#",
defaultCustom: "DXF",
@ -885,6 +1072,7 @@ export const CommandList: ICommand[] = observable([
chDes: "导入DXF",
},
{
icon: IconEnum.Save,
typeId: "util",
link: "#",
defaultCustom: "SAVE",
@ -895,6 +1083,7 @@ export const CommandList: ICommand[] = observable([
chDes: "保存当前图纸",
},
{
icon: IconEnum.Open,
typeId: "util",
link: "#",
defaultCustom: "OPEN",
@ -905,6 +1094,7 @@ export const CommandList: ICommand[] = observable([
chDes: "打开图纸",
},
{
icon: IconEnum.Entsel,
typeId: "util",
link: "#",
defaultCustom: "ENT",
@ -925,6 +1115,7 @@ export const CommandList: ICommand[] = observable([
chDes: "从所选对象创建选择集",
},
{
icon: IconEnum.RegionUnion,
typeId: "util",
link: "#",
defaultCustom: "INT",
@ -935,6 +1126,7 @@ export const CommandList: ICommand[] = observable([
chDes: "面域并集",
},
{
icon: IconEnum.RegionIntersect,
typeId: "util",
link: "#",
defaultCustom: "UNION",
@ -945,6 +1137,7 @@ export const CommandList: ICommand[] = observable([
chDes: "面域交集",
},
{
icon: IconEnum.RegionSub,
typeId: "util",
link: "#",
defaultCustom: "SUB",
@ -955,6 +1148,7 @@ export const CommandList: ICommand[] = observable([
chDes: "差集",
},
{
icon: IconEnum.Sweep,
typeId: "util",
link: "#",
defaultCustom: "SW",
@ -965,6 +1159,7 @@ export const CommandList: ICommand[] = observable([
chDes: "通过沿开放或闭合路径扫掠二维对象或子对象来创建三维实体或三维曲面",
},
{
icon: IconEnum.Mirror,
typeId: "util",
link: "#",
defaultCustom: "MI",
@ -975,6 +1170,7 @@ export const CommandList: ICommand[] = observable([
chDes: "创建所选对象的镜像副本",
},
{
icon: IconEnum.Explode,
typeId: "util",
link: "#",
defaultCustom: "X",

@ -32,6 +32,7 @@ export class CommandPanel extends React.Component<{}, CommandPanelState>
["二维", "i2d", 0],
["三维", "i3d", 0],
["画板", "hb", 0],
["板件编辑", "bjbj", 0],
["灯光", "dg", 0],
["排钻", "pz", 0],
["视图", "view", 0],

@ -64,7 +64,7 @@
}
#commandPanel .bp3-card>ul>li>li:first-child,#commandPanel .bp3-card>ul>ul>li>li:first-child
{
width:0%;
width:4%;
}
#commandPanel .bp3-card>ul>li>li:nth-child(2),#commandPanel .bp3-card>ul>ul>li>li:nth-child(2)
{

@ -57,7 +57,7 @@ export class TopToolBar extends React.Component<{}, {}>
{ svg: IconEnum.LB, title: "立板", command: "LB" },
{ svg: IconEnum.CB, title: "层板", command: "CB" },
{ svg: IconEnum.SKT, title: "收口条", command: "SKT" },
{ svg: IconEnum.TopLine, title: "线", command: "TOPLINE" },
{ svg: IconEnum.TopLine, title: "线", command: "TOPLINE" },
{ svg: IconEnum.YX, title: "异形板", command: "YX" },
{ svg: IconEnum.YXLK, title: "异形轮廓", command: "YXLK" },
{ svg: IconEnum.WineRack, title: "酒格", command: "WINERACK" },

@ -347,6 +347,11 @@ input[type=radio] {
#TopToolBar img{
width: auto;
}
#TopToolBar .bp3-tab-list{
>div{
font-size: 14px;
}
}
//分类工具块
#TopToolBar .tool-block{
display: flex;

Loading…
Cancel
Save