mxcadUiConfig.json 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659
  1. {
  2. "?title浏览器标签页标题": "",
  3. "title": "CAD梦想在线画图",
  4. "?headerTitle设置UI界面Header<version>自动替换为当前版本号": "",
  5. "headerTitle": "CAD梦想在线画图<version>",
  6. "isShowHeader": false,
  7. "?logoImg:logo图标": "布尔值false表示不显示, 也可以自行设置网络图片地址",
  8. "logoImg": false,
  9. "isShowHeaderTopBar": true,
  10. "?mTitleButtonBarData:标题按钮栏数据": "标题按钮栏数据",
  11. "isShowTitleButtonBar": true,
  12. "mTitleButtonBarData": [
  13. {
  14. "icon": "dakaidwg",
  15. "cmd": "OpenDwg",
  16. "prompt": "打开文件"
  17. },
  18. {
  19. "prompt": "保存mxweb文件",
  20. "icon": "baocun",
  21. "cmd": "Mx_QSave"
  22. }
  23. ],
  24. "?mTopButtonBarData:顶部按钮栏": "",
  25. "isShowTopButtonBar": true,
  26. "mTopButtonBarData": [
  27. {
  28. "icon": "zhonghua",
  29. "prompt": "重画命令",
  30. "cmd": "Mx_Regen"
  31. },
  32. {
  33. "icon": "chuangkousuofang",
  34. "prompt": "窗口缩放命令",
  35. "cmd": "Mx_WindowZoom"
  36. },
  37. {
  38. "icon": "fanweisuofang",
  39. "prompt": "显示全部",
  40. "cmd": "Mx_ZoomE"
  41. },
  42. {
  43. "icon": "houtui",
  44. "prompt": "回退",
  45. "cmd": "Mx_Undo"
  46. },
  47. {
  48. "icon": "qianjin",
  49. "prompt": "重做",
  50. "cmd": "Mx_Redo"
  51. }
  52. ],
  53. "?mLeftButtonBarData:左侧按钮栏": "左侧按钮栏",
  54. "mLeftButtonBarData": {
  55. "isShow": true,
  56. "buttonBarData": [
  57. {
  58. "icon": "zhixian",
  59. "prompt": "绘线命令",
  60. "cmd": "Mx_Line"
  61. },
  62. {
  63. "icon": "duoxianduan",
  64. "prompt": "绘多线段命令",
  65. "cmd": "Mx_Pline"
  66. },
  67. {
  68. "icon": "zhengduobianxing",
  69. "cmd": "Mx_Polygon",
  70. "prompt": "绘正多边形命令"
  71. },
  72. {
  73. "icon": "juxing",
  74. "cmd": "Mx_Rectang",
  75. "prompt": "绘矩形框命令"
  76. },
  77. {
  78. "icon": "yuanhu",
  79. "cmd": "Mx_Arc",
  80. "prompt": "绘圆弧命令"
  81. },
  82. {
  83. "icon": "yuan",
  84. "prompt": "圆",
  85. "cmd": "Mx_Circle"
  86. },
  87. {
  88. "icon": "yangtiaoxian",
  89. "cmd": "Mx_Spline",
  90. "prompt": "绘样条线命令"
  91. },
  92. {
  93. "icon": "tuoyuan",
  94. "cmd": "Mx_Ellipse",
  95. "prompt": "绘椭圆命令"
  96. },
  97. {
  98. "icon": "tuoyuanhu",
  99. "cmd": "Mx_EllipseArc",
  100. "prompt": "绘椭圆弧命令"
  101. },
  102. {
  103. "prompt": "插入图块命令",
  104. "icon": "charukuai1",
  105. "cmd": "Mx_Insert"
  106. },
  107. {
  108. "icon": "dian",
  109. "cmd": "Mx_Point",
  110. "prompt": "绘点命令"
  111. },
  112. {
  113. "icon": "danhangwenzi",
  114. "cmd": "_DrawText",
  115. "prompt": "写文字命令"
  116. },
  117. {
  118. "icon": "charutupian",
  119. "cmd": "_InsertImage",
  120. "prompt": "插入图片命令"
  121. },
  122. {
  123. "icon": "duohangwenben",
  124. "cmd": "MxPE_DrawMText",
  125. "prompt": "绘多行文本"
  126. },
  127. {
  128. "icon": "tianchong",
  129. "cmd": "Mx_Hatch",
  130. "prompt": "绘填充命令"
  131. },
  132. {
  133. "icon": "yunxianpizhu",
  134. "cmd": "_Revcloud",
  135. "prompt": "云线"
  136. },
  137. {
  138. "icon": "dashujukeshihuaico-",
  139. "cmd": "Mx_InsertTable",
  140. "prompt": "表格"
  141. }
  142. ]
  143. },
  144. "?mRightButtonBarData:右侧按钮栏": "右侧按钮栏",
  145. "mRightButtonBarData": {
  146. "isShow": true,
  147. "buttonBarData": [
  148. {
  149. "icon": "shanchu",
  150. "cmd": "Mx_Erase",
  151. "prompt": "删除命令"
  152. },
  153. {
  154. "icon": "fuzhi",
  155. "cmd": "Mx_Copy",
  156. "prompt": "复制命令"
  157. },
  158. {
  159. "icon": "yidong",
  160. "cmd": "Mx_Move",
  161. "prompt": "移动命令"
  162. },
  163. {
  164. "icon": "xuanzhuan",
  165. "cmd": "Mx_Rotate",
  166. "prompt": "旋转命令"
  167. },
  168. {
  169. "icon": "suofang",
  170. "cmd": "Mx_Scale",
  171. "prompt": "缩放命令"
  172. },
  173. {
  174. "icon": "pianyi",
  175. "cmd": "Mx_Offset",
  176. "prompt": "偏移"
  177. },
  178. {
  179. "icon": "zhenlie",
  180. "cmd": "Mx_Array",
  181. "prompt": "阵列..."
  182. },
  183. {
  184. "icon": "jingxiang",
  185. "cmd": "Mx_Mirror",
  186. "prompt": "镜像命令"
  187. },
  188. {
  189. "icon": "lisanquxian",
  190. "cmd": "_SampleCurve",
  191. "prompt": "离散曲线命令"
  192. },
  193. {
  194. "icon": "daojiao",
  195. "cmd": "Mx_Chamfer",
  196. "prompt": "导角命令"
  197. },
  198. {
  199. "icon": "yuanjiao",
  200. "cmd": "Mx_Fillet",
  201. "prompt": "导圆角命令"
  202. },
  203. {
  204. "icon": "jianqie",
  205. "cmd": "Mx_Trim",
  206. "prompt": "剪切命令"
  207. },
  208. {
  209. "icon": "yanshen",
  210. "cmd": "Mx_Extend",
  211. "prompt": "延伸命令"
  212. },
  213. {
  214. "icon": "fenjie",
  215. "cmd": "Mx_Explode",
  216. "prompt": "分解命令"
  217. },
  218. {
  219. "icon": "daduan",
  220. "cmd": "Mx_Break",
  221. "prompt": "打断命令"
  222. },
  223. {
  224. "icon": "hebing",
  225. "cmd": "Mx_Join",
  226. "prompt": "合并命令"
  227. },
  228. {
  229. "icon": "xianxingbiaozhu",
  230. "cmd": "_DrawRotatedDimension",
  231. "prompt": "线性标注"
  232. },
  233. {
  234. "icon": "duiqibiaozhu",
  235. "cmd": "_DrawAlignedDimension",
  236. "prompt": "对齐标注"
  237. },
  238. {
  239. "icon": "qianzhi",
  240. "cmd": "Mx_DrawOrderTopmost",
  241. "prompt": "前置"
  242. },
  243. {
  244. "icon": "houzhi",
  245. "cmd": "Mx_DrawOrderButtomost",
  246. "prompt": "后置"
  247. },
  248. {
  249. "icon": "zhiyuduixiangzhishang",
  250. "cmd": "Mx_DrawOrderTop",
  251. "prompt": "置于对象之上"
  252. },
  253. {
  254. "icon": "zhiyuduixiangzhixia",
  255. "cmd": "Mx_DrawOrderButtom",
  256. "prompt": "置于对象之下"
  257. }
  258. ]
  259. },
  260. "?mMenuBarData:菜单栏数据": "",
  261. "isShowMenuBar": true,
  262. "mMenuBarData": [
  263. {
  264. "tab": "文件(F)",
  265. "cmd": "Mx_open_file_options",
  266. "isResponsive": true,
  267. "list": [
  268. {
  269. "tab": "新建(N)",
  270. "icon": "xinjian",
  271. "cmd": "Mx_NewFile"
  272. },
  273. {
  274. "tab": "打开文件(M)",
  275. "icon": "dakaidwg",
  276. "cmd": "OpenDwg"
  277. },
  278. {
  279. "tab": "打开文件(不使用缓存)(C)",
  280. "icon": "dakaidwg",
  281. "cmd": "OpenDwg_DoNotUseCache"
  282. },
  283. {
  284. "tab": "保存mxweb文件",
  285. "icon": "baocun",
  286. "cmd": "Mx_QSave"
  287. },
  288. {
  289. "tab": "另存为mxweb文件",
  290. "icon": "lingcunweimxwebwenjian",
  291. "cmd": "Mx_SaveAs"
  292. },
  293. {
  294. "tab": "导出dwg文件",
  295. "icon": "lingcunweiDWG",
  296. "cmd": "Mx_Export_DWG"
  297. },
  298. {
  299. "type": "divider"
  300. },
  301. {
  302. "tab": "打印",
  303. "icon": "dayin1",
  304. "cmd": "Plot"
  305. },
  306. {
  307. "type": "divider"
  308. }
  309. ]
  310. },
  311. {
  312. "tab": "视图(V)",
  313. "list": [
  314. {
  315. "tab": "重画(R)",
  316. "icon": "zhonghua",
  317. "cmd": "Mx_Regen"
  318. },
  319. {
  320. "tab": "窗口缩放(W)",
  321. "icon": "chuangkousuofang",
  322. "cmd": "Mx_WindowZoom"
  323. },
  324. {
  325. "tab": "显示全部(E)",
  326. "icon": "fanweisuofang",
  327. "cmd": "Mx_ZoomE"
  328. },
  329. {
  330. "tab": "视区平移(P)",
  331. "icon": "a-5pingyi",
  332. "cmd": "Mx_Pan"
  333. },
  334. {
  335. "tab": "视区旋转(L)",
  336. "list": [
  337. {
  338. "tab": "顺时针旋转90度",
  339. "cmd": "Mx_Plan90CW"
  340. },
  341. {
  342. "tab": "逆时针旋转90度",
  343. "cmd": "Mx_Plan90CCW"
  344. },
  345. {
  346. "tab": "自定义旋转角度(L)",
  347. "cmd": "Mx_Plan"
  348. }
  349. ]
  350. },
  351. {
  352. "tab": "视区背景色",
  353. "icon": "shiqubeijingse",
  354. "cmd": "_ViewColor"
  355. }
  356. ]
  357. },
  358. {
  359. "tab": "格式(O)",
  360. "list": [{
  361. "tab": "图层...(L)",
  362. "icon": "tuceng",
  363. "cmd": "MxLayerManager"
  364. },
  365. {
  366. "tab": "打开所有图层(A)",
  367. "icon": "dakaiquanbutuceng",
  368. "cmd": "_OpenAllLayer"
  369. },
  370. {
  371. "tab": "选择关闭图层(S)",
  372. "icon": "xuanzeguanbituceng",
  373. "cmd": "_SelOffLayer"
  374. },
  375. {
  376. "tab": "颜色(C)",
  377. "icon": "yanse",
  378. "cmd": "Mx_Color"
  379. },
  380. {
  381. "tab": "线型(N)",
  382. "cmd": "Mx_Linetype"
  383. },
  384. {
  385. "tab": "文字样式(S)",
  386. "icon": "wenziyangshi",
  387. "cmd": "Mx_Style"
  388. },
  389. {
  390. "tab": "点样式(P)",
  391. "icon": "dianyangshi",
  392. "cmd": "Mx_ddptype"
  393. }
  394. ]
  395. },
  396. {
  397. "tab": "功能(A)",
  398. "list": [
  399. {
  400. "tab": "测量(L)",
  401. "icon": "xianxingbiaozhu",
  402. "cmd": "Mx_Linear"
  403. },
  404. {
  405. "tab": "面积测量",
  406. "icon": "celiangmianji",
  407. "cmd": "BR_Area"
  408. },
  409. {
  410. "tab": "角度测量",
  411. "icon": "celiangjiaodu",
  412. "cmd": "BR_AngleMeasure"
  413. },
  414. {
  415. "tab": "坐标测量",
  416. "icon": "zuobiaoceliang",
  417. "cmd": "BR_CoordMeasure"
  418. },
  419. {
  420. "tab": "编辑文字",
  421. "icon": "bianjiwenzi",
  422. "cmd": "Mx_EditText"
  423. },
  424. {
  425. "tab": "查找替换文字",
  426. "icon": "",
  427. "cmd": "Mx_FindText"
  428. },
  429. {
  430. "tab": "快速选择",
  431. "icon": "",
  432. "cmd": "Mx_QuickSelect"
  433. },
  434. {
  435. "tab": "对象特性",
  436. "icon": "",
  437. "cmd": "Mx_Properties"
  438. }
  439. ]
  440. },
  441. {
  442. "tab": "绘图(D)",
  443. "list": [
  444. {
  445. "tab": "直线(L)",
  446. "icon": "zhixian",
  447. "cmd": "Mx_Line"
  448. },
  449. {
  450. "tab": "多线段(P)",
  451. "icon": "duoxianduan",
  452. "cmd": "Mx_Pline"
  453. },
  454. {
  455. "tab": "正多边形(Y)",
  456. "icon": "zhengduobianxing",
  457. "cmd": "Mx_Polygon"
  458. },
  459. {
  460. "tab": "矩形(G)",
  461. "icon": "juxing",
  462. "cmd": "Mx_Rectang"
  463. },
  464. {
  465. "tab": "圆弧(A)",
  466. "icon": "yuanhu",
  467. "cmd": "Mx_Arc"
  468. },
  469. {
  470. "tab": "圆(C)",
  471. "icon": "yuan",
  472. "cmd": "Mx_Circle"
  473. },
  474. {
  475. "tab": "样条线(S)",
  476. "cmd": "Mx_Spline",
  477. "icon": "yangtiaoxian"
  478. },
  479. {
  480. "tab": "椭圆(E)",
  481. "icon": "tuoyuan",
  482. "cmd": "Mx_Ellipse"
  483. },
  484. {
  485. "tab": "椭圆弧(O)",
  486. "icon": "tuoyuanhu",
  487. "cmd": "Mx_EllipseArc"
  488. },
  489. {
  490. "tab": "点(N)",
  491. "icon": "dian",
  492. "cmd": "_DrawPoint"
  493. },
  494. {
  495. "tab": "插入图块",
  496. "icon": "charukuai1",
  497. "cmd": "Mx_Insert"
  498. },
  499. {
  500. "tab": "文字(T)",
  501. "icon": "danhangwenzi",
  502. "cmd": "_DrawText"
  503. },
  504. {
  505. "tab": "填充(H)",
  506. "icon": "tianchong",
  507. "cmd": "Mx_Hatch"
  508. },
  509. {
  510. "tab": "图片(E)",
  511. "icon": "charutupian",
  512. "cmd": "_InsertImage"
  513. },
  514. {
  515. "tab": "铅笔命令",
  516. "icon": "",
  517. "cmd": "MxET_Pencil"
  518. }
  519. ]
  520. },
  521. {
  522. "tab": "编辑(E)",
  523. "list": [
  524. {
  525. "tab": "回退(U)",
  526. "cmd": "Mx_Undo",
  527. "icon": "houtui"
  528. },
  529. {
  530. "tab": "重做(A)",
  531. "icon": "qianjin",
  532. "cmd": "Mx_Redo"
  533. },
  534. {
  535. "type": "divider"
  536. },
  537. {
  538. "tab": "复制(C)",
  539. "cmd": "Mx_Copy",
  540. "icon": "fuzhi"
  541. },
  542. {
  543. "tab": "删除(A)",
  544. "icon": "shanchu",
  545. "cmd": "Mx_Erase"
  546. },
  547. {
  548. "icon": "yidong",
  549. "cmd": "Mx_Move",
  550. "tab": "移动命令"
  551. },
  552. {
  553. "icon": "xuanzhuan",
  554. "cmd": "Mx_Rotate",
  555. "tab": "旋转命令"
  556. },
  557. {
  558. "icon": "suofang",
  559. "cmd": "Mx_Scale",
  560. "tab": "缩放命令"
  561. },
  562. {
  563. "icon": "pianyi",
  564. "cmd": "Mx_Offset",
  565. "tab": "偏移"
  566. },
  567. {
  568. "icon": "zhenlie",
  569. "cmd": "Mx_Array",
  570. "tab": "阵列..."
  571. },
  572. {
  573. "icon": "jingxiang",
  574. "cmd": "Mx_Mirror",
  575. "tab": "镜像命令"
  576. },
  577. {
  578. "icon": "daojiao",
  579. "cmd": "Mx_Chamfer",
  580. "tab": "导角命令"
  581. },
  582. {
  583. "icon": "yuanjiao",
  584. "cmd": "Mx_Fillet",
  585. "tab": "导圆角命令"
  586. },
  587. {
  588. "icon": "jianqie",
  589. "cmd": "Mx_Trim",
  590. "tab": "剪切命令"
  591. },
  592. {
  593. "icon": "yanshen",
  594. "cmd": "Mx_Extend",
  595. "tab": "延伸命令"
  596. },
  597. {
  598. "icon": "fenjie",
  599. "cmd": "Mx_Explode",
  600. "tab": "分解命令"
  601. },
  602. {
  603. "icon": "daduan",
  604. "cmd": "Mx_Break",
  605. "tab": "打断命令"
  606. },
  607. {
  608. "icon": "hebing",
  609. "cmd": "Mx_Join",
  610. "tab": "合并命令"
  611. }
  612. ]
  613. },
  614. {
  615. "tab": "测试(T)",
  616. "list": [
  617. {
  618. "tab": "插件测试",
  619. "icon": "chajianceshi1",
  620. "cmd": "My_PluginTest"
  621. }
  622. ]
  623. },
  624. {
  625. "tab": "帮助(H)",
  626. "list": [
  627. {
  628. "tab": "设置",
  629. "icon": "shezhi",
  630. "cmd": "Mx_SetAppDialog"
  631. },
  632. {
  633. "tab": "关于(A)",
  634. "icon": "guanyu",
  635. "cmd": "MxCAD_About"
  636. }
  637. ]
  638. }
  639. ],
  640. "isShowFooter": true,
  641. "?footerRightBtnSwitchData:底部左下角按钮,数组中存在对应的名称才会生成对应的开关按钮": "",
  642. "footerRightBtnSwitchData": ["栅格", "正交", "极轴","对象捕捉", "对象追踪", "DYN"],
  643. "?isShowModelNav": "模块导航栏显示",
  644. "isShowModelNav": true,
  645. "?isShowCommandLinePanel": "命令面板显示",
  646. "isShowCommandLinePanel": true,
  647. "?isShowCommandInput": "命令输入框显示",
  648. "isShowCommandInput": true,
  649. "?isShowFooterStatusBar": "底部状态栏显示",
  650. "isShowFooterStatusBar": true,
  651. "?isShowLeftDrawer": "左侧抽屉显示",
  652. "isShowLeftDrawer": true,
  653. "?leftDrawerComponents": "左侧组件, 右侧同理一并说明 所有可以选择组件: DrawingComparison TextSearch EntityAttribute",
  654. "leftDrawerComponents": ["DrawingComparison", "TextSearch"],
  655. "?isShowRightDrawer": "右侧抽屉显示",
  656. "isShowRightDrawer": true,
  657. "rightDrawerComponents": ["EntityAttribute"]
  658. }