ss-component-new 1.2.77 → 1.2.79

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/dist/{MTLLoader-BruI0iCV.js → MTLLoader-DHOpgWoh.js} +5 -5
  2. package/dist/{MTLLoader-Bseg1sor.cjs → MTLLoader-DcCqSeA-.cjs} +1 -1
  3. package/dist/{OrbitControls-Bxqvo8Mr.js → OrbitControls-Bwv0Wdfk.js} +1 -1
  4. package/dist/{OrbitControls-BiNnC97N.cjs → OrbitControls-DlWvN12h.cjs} +1 -1
  5. package/dist/{URDFLoader-DexIn4xU.cjs → URDFLoader-DykmnnHW.cjs} +1 -1
  6. package/dist/{URDFLoader-DWo3pDBH.js → URDFLoader-o5u_BjJ_.js} +174 -174
  7. package/dist/{animationData-BDkjPdQf.js → animationData-DS8Fzn6Q.js} +18 -18
  8. package/dist/{animationData-BVpXOZwe.cjs → animationData-I6_-ND6R.cjs} +1 -1
  9. package/dist/{array-D5Rc5rM9.js → array-Bhgw4Iyf.js} +27 -27
  10. package/dist/{array-6LpFOZ5o.cjs → array-ZC8P-Rx9.cjs} +1 -1
  11. package/dist/{iconfont-14del5d2.js → iconfont-CDf_oBPo.js} +27 -27
  12. package/dist/{iconfont-Bnhc7fLw.cjs → iconfont-DX6dC3Hu.cjs} +1 -1
  13. package/dist/{index-PkJYBcS-.js → index-9pgjgz-5.js} +25 -22
  14. package/dist/{index-CTfB2BO7.cjs → index-AjZKp-AZ.cjs} +1 -1
  15. package/dist/{index-D_coIVx9.cjs → index-B-LUDlpn.cjs} +1 -1
  16. package/dist/{index-1uzZjqSR.cjs → index-B20WPHZ5.cjs} +1 -1
  17. package/dist/{index-lkxTc6vy.js → index-B3u2tRTw.js} +576 -572
  18. package/dist/{index-BMwOfyZG.js → index-B5J3L2e2.js} +2 -2
  19. package/dist/{index-Da8kLXUi.js → index-B5SNHDlg.js} +1 -1
  20. package/dist/{index-BU__qorE.cjs → index-BG1yQRX5.cjs} +1 -1
  21. package/dist/index-BLSQNpLC.js +12694 -0
  22. package/dist/{index-C5AMx3DP.js → index-BRjEFy0A.js} +2 -2
  23. package/dist/{index-BOttcNaR.js → index-BVj-AkPa.js} +2 -2
  24. package/dist/{index-CiluLmLS.js → index-BYSmRvIB.js} +11 -11
  25. package/dist/{index-CV0wJjuo.cjs → index-BeikcPFZ.cjs} +1 -1
  26. package/dist/{index-Ai5OAXHo.js → index-BgE_6FYY.js} +6 -6
  27. package/dist/{index-jKLdvV3y.js → index-BluztDZ9.js} +20 -20
  28. package/dist/{index-D9iPLSwS.js → index-Bmtw8a5p.js} +2 -2
  29. package/dist/{index-Pg_Ez4Na.cjs → index-Bq6XgQV3.cjs} +1 -1
  30. package/dist/{index-DZboVCcU.cjs → index-C2Y0cih9.cjs} +1 -1
  31. package/dist/{index-CT1bDBZy.js → index-C3UcoA71.js} +5 -5
  32. package/dist/{index-Cv58m2R8.js → index-CGe5AJp6.js} +1 -1
  33. package/dist/{index-DNp4E_lQ.cjs → index-CJXu9f3F.cjs} +1 -1
  34. package/dist/index-CM2le7df.cjs +1 -0
  35. package/dist/{index-BXCI98KY.js → index-CMHJ7CCR.js} +6 -6
  36. package/dist/{index-CNDlskJD.cjs → index-CTStbcBT.cjs} +1 -1
  37. package/dist/{index-sCZuOhEC.js → index-CXSbzU1a.js} +1 -1
  38. package/dist/index-CXWS6054.js +2876 -0
  39. package/dist/{index-CS2SJFa5.cjs → index-Cbz7ElQN.cjs} +1 -1
  40. package/dist/{index-cGnhqEuy.cjs → index-Cc1ykPE-.cjs} +1 -1
  41. package/dist/index-Cc4a5Z89.cjs +1 -0
  42. package/dist/{index-iqnKq5qd.js → index-CdWi5i0R.js} +1 -1
  43. package/dist/{index-BPWX1kmE.cjs → index-CgNpvAbR.cjs} +1 -1
  44. package/dist/{index-DRbQJezd.cjs → index-ChvyEtLh.cjs} +1 -1
  45. package/dist/{index-DndAdSGT.js → index-CjszYT-m.js} +3 -3
  46. package/dist/{index-nzQPJif1.cjs → index-D-_nblT-.cjs} +1 -1
  47. package/dist/{index-BJizDAnh.cjs → index-D5REUQyF.cjs} +1 -1
  48. package/dist/{index-Bq27i8N6.js → index-D8BszxzY.js} +4 -4
  49. package/dist/{index-Do4pZeLF.cjs → index-D8biWfYq.cjs} +1 -1
  50. package/dist/{index-B3jUJ0ml.js → index-DCPWjTH2.js} +7 -7
  51. package/dist/{index-BjDn0YhH.cjs → index-DZSfCv1U.cjs} +12 -12
  52. package/dist/{index-BWjhL8R0.js → index-D_qR3hDI.js} +1 -1
  53. package/dist/{index-Cc_IAZBO.js → index-Dcz5u1Wl.js} +4 -4
  54. package/dist/{index-CjipjSmP.cjs → index-DhdaxDcr.cjs} +1 -1
  55. package/dist/{index-BCGURMXa.js → index-Di8UuMxb.js} +2 -2
  56. package/dist/{index-CwvAshmz.js → index-DjfNhR3v.js} +3 -3
  57. package/dist/{index-CZkjboM8.js → index-DkVB-AEp.js} +6 -6
  58. package/dist/{index-CEuxxYEp.cjs → index-DqrGFL1c.cjs} +1 -1
  59. package/dist/{index-CBIrHmhA.cjs → index-IrdgJgK1.cjs} +1 -1
  60. package/dist/{index-BP1mTaAy.js → index-KP6vMTgE.js} +4 -4
  61. package/dist/{index-aG7MmrtC.js → index-Quv-LzXf.js} +3 -3
  62. package/dist/{index-BYc9jyiE.js → index-bfMyItzl.js} +3 -3
  63. package/dist/{index-BXumaiVx.js → index-fzUpIEce.js} +2 -2
  64. package/dist/{index-B3x0Un8L.js → index-gaIXSSnU.js} +3 -3
  65. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Ctqs6jS6.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Cwtk3HI8.js} +13935 -14262
  66. package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DkW9dWKj.cjs +37 -0
  67. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bqxa7GJA.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-6Ap42_Dn.js} +14096 -13945
  68. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-D6FKmWHb.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-RZydwY0l.cjs} +356 -356
  69. package/dist/index.vue_vue_type_style_index_0_scoped_140f5e74_lang-BRLX6S9R.js +377 -0
  70. package/dist/index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Cu33JXj5.cjs +1 -0
  71. package/dist/{index.vue_vue_type_style_index_1_lang-CrcbIeWl.js → index.vue_vue_type_style_index_1_lang-BJBnOzjh.js} +37 -37
  72. package/dist/{index.vue_vue_type_style_index_1_lang-DQ90IC2k.cjs → index.vue_vue_type_style_index_1_lang-KlMxUDnq.cjs} +1 -1
  73. package/dist/{isString-8mN8gX27.js → isString-Bb0EYAKj.js} +1 -1
  74. package/dist/{main-D3WREi0-.cjs → main-D0CiEOi_.cjs} +1 -1
  75. package/dist/{main-BkI9SlJQ.js → main-itEiu5WV.js} +5 -5
  76. package/dist/ss-component.cjs +1 -1
  77. package/dist/ss-component.css +1 -1
  78. package/dist/ss-component.js +11 -11
  79. package/dist/ss-component2.cjs +1 -1
  80. package/dist/ss-component2.js +12 -12
  81. package/dist/{threeModel-CVlu8rK_.js → threeModel-C1pBED0w.js} +5 -5
  82. package/dist/{threeModel-Bp11Ni6H.cjs → threeModel-DrVpq-KZ.cjs} +1 -1
  83. package/dist/{threePreview-CdzNCx3-.js → threePreview-BHmdeJ_g.js} +4 -4
  84. package/dist/{threePreview-Dw4LR6jh.cjs → threePreview-BwKp0Pme.cjs} +1 -1
  85. package/dist/{threeSceneView-BdVTjYBI.cjs → threeSceneView-BlYiTnf8.cjs} +1 -1
  86. package/dist/{threeSceneView-jhQi8rSG.js → threeSceneView-CHzaHloG.js} +134 -134
  87. package/dist/{threeSceneViewForCPMPIP-DgAoijFZ.js → threeSceneViewForCPMPIP-Bxfu-nOk.js} +8 -8
  88. package/dist/{threeSceneViewForCPMPIP-DRYioXDE.cjs → threeSceneViewForCPMPIP-C6dwXzB6.cjs} +1 -1
  89. package/dist/{threeTrackPathView-C1HVNI2F.js → threeTrackPathView-D5b7ja2X.js} +48 -48
  90. package/dist/{threeTrackPathView-Ds9FmHU1.cjs → threeTrackPathView-YDfE6lF-.cjs} +1 -1
  91. package/dist/{threeViewerHost-Cazxmy9Q.cjs → threeViewerHost-BdoXIgqv.cjs} +1 -1
  92. package/dist/{threeViewerHost-DvIwe0xo.js → threeViewerHost-DhtCUUpq.js} +15 -15
  93. package/dist/{urdfTree-CMKhj8xM.js → urdfTree-ClXv-I_k.js} +1 -1
  94. package/dist/{urdfTree-dHyqQi6d.cjs → urdfTree-DhRlnWn_.cjs} +1 -1
  95. package/dist/{workpieceTreePanel-4MfitYyo.cjs → workpieceTreePanel-CA1W7zBB.cjs} +1 -1
  96. package/dist/{workpieceTreePanel-BM7lPJRO.js → workpieceTreePanel-Ctwrp39y.js} +29 -29
  97. package/package.json +1 -1
  98. package/dist/index-C-Cn4YSI.js +0 -12234
  99. package/dist/index-C3DC8sX2.js +0 -2853
  100. package/dist/index-DEyzKyXf.cjs +0 -1
  101. package/dist/index-qqyeENwY.cjs +0 -1
  102. package/dist/index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-wPtij0q7.cjs +0 -37
  103. package/dist/index.vue_vue_type_style_index_0_scoped_140f5e74_lang-Ddv_4Qcm.cjs +0 -1
  104. package/dist/index.vue_vue_type_style_index_0_scoped_140f5e74_lang-DmUFTzw3.js +0 -376
@@ -1,18 +1,18 @@
1
- import { defineComponent as Be, ref as g, watch as ne, shallowRef as be, computed as ke, onUnmounted as Ie, resolveComponent as B, createElementBlock as Ve, openBlock as q, createElementVNode as r, createVNode as l, withCtx as R, createBlock as ye, createCommentVNode as Pe, unref as G, toDisplayString as he, onMounted as Xe, onBeforeUnmount as Ze, Fragment as He, renderList as Ke, nextTick as Qe, withDirectives as pe, vShow as de, renderSlot as Me } from "vue";
2
- import { r as Te, s as Le } from "./threeViewerHost-DvIwe0xo.js";
3
- import { u as Je, a as qe, b as et, C as tt } from "./iconfont-14del5d2.js";
4
- import { U as lt, u as ot, a as at, W as nt } from "./workpieceTreePanel-BM7lPJRO.js";
5
- import { ag as st, c as it, E, aW as rt, aw as ut } from "./index-Ai5OAXHo.js";
6
- import { ai as De, aj as xe, V, ag as H, ah as ct, aF as pt, a7 as Se, aG as dt, aH as mt, aI as vt, aJ as ft, aK as gt, aL as ht, aM as bt, aN as yt, ad as _t, aO as Ye, aP as wt, aQ as Ct, aR as Pt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Bqxa7GJA.js";
1
+ import { defineComponent as Be, ref as g, watch as ne, shallowRef as be, computed as Pe, onUnmounted as Ie, resolveComponent as B, createElementBlock as De, openBlock as q, createElementVNode as r, createVNode as l, withCtx as R, createBlock as ye, createCommentVNode as ke, unref as G, toDisplayString as he, onMounted as Xe, onBeforeUnmount as Ze, Fragment as He, renderList as Ke, nextTick as Qe, withDirectives as pe, vShow as de, renderSlot as Me } from "vue";
2
+ import { r as Te, s as Le } from "./threeViewerHost-DhtCUUpq.js";
3
+ import { u as Je, a as qe, b as et, C as tt } from "./iconfont-CDf_oBPo.js";
4
+ import { U as lt, u as ot, a as at, W as nt } from "./workpieceTreePanel-Ctwrp39y.js";
5
+ import { ag as st, c as it, E, aW as rt, aw as ut } from "./index-BgE_6FYY.js";
6
+ import { aj as Ve, ak as xe, W as D, ah as H, ai as ct, aG as pt, a8 as Se, aH as dt, aI as mt, aJ as vt, aK as ft, aL as gt, aM as ht, aN as bt, aO as yt, ae as _t, aP as Ye, aQ as wt, aR as Ct, aS as kt } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-6Ap42_Dn.js";
7
7
  import "./index-BHtNKL1L.js";
8
8
  import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
9
- import "./index.vue_vue_type_style_index_1_lang-CrcbIeWl.js";
10
- import "./index-D9iPLSwS.js";
11
- import "./index-BWjhL8R0.js";
12
- import { f as kt, a as xt, g as Rt, b as Mt } from "./animationData-BDkjPdQf.js";
13
- import { g as Tt, a as Vt, b as Dt, c as St, U as At, J as $t } from "./urdfTree-CMKhj8xM.js";
9
+ import "./index.vue_vue_type_style_index_1_lang-BJBnOzjh.js";
10
+ import "./index-Bmtw8a5p.js";
11
+ import "./index-D_qR3hDI.js";
12
+ import { f as Pt, a as xt, g as Rt, b as Mt } from "./animationData-DS8Fzn6Q.js";
13
+ import { g as Tt, a as Dt, b as Vt, c as St, U as At, J as $t } from "./urdfTree-ClXv-I_k.js";
14
14
  import { _ as Ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
15
- import { s as Ft } from "./index-Cv58m2R8.js";
15
+ import { s as Ft } from "./index-CGe5AJp6.js";
16
16
  import { T as z } from "./svgIcon-D-_fXUBL.js";
17
17
  const I = 1e-3, oe = ct.degToRad, Ee = new dt({
18
18
  // 灰色
@@ -22,7 +22,7 @@ const I = 1e-3, oe = ct.degToRad, Ee = new dt({
22
22
  side: _t
23
23
  });
24
24
  function zt(y = 5e-3, m = 64) {
25
- const p = new De([new V(0, 0, 0), new V(0, 0, 0)]), s = new xe(p, m, y, 16, !1), d = Ee;
25
+ const p = new Ve([new D(0, 0, 0), new D(0, 0, 0)]), s = new xe(p, m, y, 16, !1), d = Ee;
26
26
  return new Se(s, d);
27
27
  }
28
28
  const Ne = (y) => y.reduce((m, p) => {
@@ -31,10 +31,10 @@ const Ne = (y) => y.reduce((m, p) => {
31
31
  return d > 0 && (s += d), _ > 0 && n > 0 && (s += n * oe(_)), m + s;
32
32
  }, 0), We = (y) => {
33
33
  const m = [], p = y.Y ?? 0, s = y.B ?? 0, d = y.C ?? 0, _ = y.R ?? 0, n = {
34
- pos: new V(0, 0, 0),
35
- localY: new V(0, 1, 0),
36
- localX: new V(1, 0, 0),
37
- localZ: new V(0, 0, 1)
34
+ pos: new D(0, 0, 0),
35
+ localY: new D(0, 1, 0),
36
+ localX: new D(1, 0, 0),
37
+ localZ: new D(0, 0, 1)
38
38
  };
39
39
  if (!p && !d) return m;
40
40
  if (m.push(n.pos.clone()), s !== 0) {
@@ -44,7 +44,7 @@ const Ne = (y) => y.reduce((m, p) => {
44
44
  if (p > 0 && (n.pos.add(n.localY.clone().multiplyScalar(p * I)), m.push(n.pos.clone())), d > 0 && _ > 0) {
45
45
  const h = oe(d), v = _ * I, w = n.pos.clone().add(n.localX.clone().multiplyScalar(-v)), a = Math.max(16, Math.ceil(d / 5));
46
46
  for (let C = 1; C <= a; C++) {
47
- const c = h * C / a, P = new H().makeRotationAxis(n.localZ, c), u = n.localX.clone().multiplyScalar(v).applyMatrix4(P), M = w.clone().add(u);
47
+ const c = h * C / a, k = new H().makeRotationAxis(n.localZ, c), u = n.localX.clone().multiplyScalar(v).applyMatrix4(k), M = w.clone().add(u);
48
48
  m.push(M);
49
49
  }
50
50
  }
@@ -54,10 +54,10 @@ function Lt(y, m) {
54
54
  const p = new pt();
55
55
  p.name = "CompletePipe";
56
56
  const s = {
57
- pos: new V(0, 0, 0),
58
- localX: new V(1, 0, 0),
59
- localY: new V(0, 1, 0),
60
- localZ: new V(0, 0, 1)
57
+ pos: new D(0, 0, 0),
58
+ localX: new D(1, 0, 0),
59
+ localY: new D(0, 1, 0),
60
+ localZ: new D(0, 0, 1)
61
61
  };
62
62
  let d = 0, _ = 1;
63
63
  for (let n = 0; n < y.length; n++) {
@@ -69,7 +69,7 @@ function Lt(y, m) {
69
69
  if (v > 0) {
70
70
  const c = s.pos.clone();
71
71
  s.pos.add(s.localY.clone().multiplyScalar(v * I));
72
- const P = s.pos.clone(), i = Bt(c, P, m * I);
72
+ const k = s.pos.clone(), i = Bt(c, k, m * I);
73
73
  i.userData = {
74
74
  segmentType: "straight",
75
75
  segmentIndex: d,
@@ -81,11 +81,11 @@ function Lt(y, m) {
81
81
  Yt(p, _, u, m * I), d++;
82
82
  }
83
83
  if (a > 0 && C > 0) {
84
- const c = oe(a), P = C * I, i = [];
84
+ const c = oe(a), k = C * I, i = [];
85
85
  i.push(s.pos.clone());
86
- const u = s.pos.clone().add(s.localX.clone().multiplyScalar(-P)), M = Math.max(16, Math.ceil(a / 5));
86
+ const u = s.pos.clone().add(s.localX.clone().multiplyScalar(-k)), M = Math.max(16, Math.ceil(a / 5));
87
87
  for (let f = 1; f <= M; f++) {
88
- const T = c * f / M, L = new H().makeRotationAxis(s.localZ, T), Z = s.localX.clone().multiplyScalar(P).applyMatrix4(L), ee = u.clone().add(Z);
88
+ const T = c * f / M, L = new H().makeRotationAxis(s.localZ, T), Z = s.localX.clone().multiplyScalar(k).applyMatrix4(L), ee = u.clone().add(Z);
89
89
  i.push(ee);
90
90
  }
91
91
  const S = Ut(i, m * I);
@@ -105,7 +105,7 @@ function Lt(y, m) {
105
105
  return p;
106
106
  }
107
107
  function Yt(y, m, p, s) {
108
- const d = new V(0, s * 2, s * 5), _ = p.clone().add(d), n = [p, _], h = new vt().setFromPoints(n), v = new ft({
108
+ const d = new D(0, s * 2, s * 5), _ = p.clone().add(d), n = [p, _], h = new vt().setFromPoints(n), v = new ft({
109
109
  color: 16711680,
110
110
  dashSize: s * 0.5,
111
111
  gapSize: s * 0.3,
@@ -114,12 +114,12 @@ function Yt(y, m, p, s) {
114
114
  w.computeLineDistances(), y.add(w);
115
115
  const a = document.createElement("canvas"), C = a.getContext("2d");
116
116
  a.width = 128, a.height = 128, C.clearRect(0, 0, 128, 128), C.fillStyle = "#FF0000", C.font = "bold 80px Arial", C.textAlign = "center", C.textBaseline = "middle", C.fillText(m.toString(), 64, 64);
117
- const c = new ht(a), P = new bt({
117
+ const c = new ht(a), k = new bt({
118
118
  map: c,
119
119
  transparent: !0,
120
120
  depthTest: !1,
121
121
  depthWrite: !1
122
- }), i = new yt(P), u = s * 3;
122
+ }), i = new yt(k), u = s * 3;
123
123
  i.scale.set(u, u, 1), i.position.copy(_), i.name = `Label_${m}`, i.userData = { labelNumber: m }, y.add(i);
124
124
  }
125
125
  function Bt(y, m, p) {
@@ -127,7 +127,7 @@ function Bt(y, m, p) {
127
127
  return new Se(d, Ee);
128
128
  }
129
129
  function Ut(y, m) {
130
- const p = new De(y, !1, "catmullrom", 0.01), s = new xe(p, Math.max(16, y.length * 2), m, 18, !1);
130
+ const p = new Ve(y, !1, "catmullrom", 0.01), s = new xe(p, Math.max(16, y.length * 2), m, 18, !1);
131
131
  return new Se(s, Ee);
132
132
  }
133
133
  function je(y, m, p, s, d, _ = 0) {
@@ -144,16 +144,16 @@ function je(y, m, p, s, d, _ = 0) {
144
144
  n.push(i);
145
145
  }
146
146
  const v = Ne(n), w = Math.max(0, p - v), a = [];
147
- a.push(new V(0, 0, 0));
148
- const C = new V(0, w * I, 0);
147
+ a.push(new D(0, 0, 0));
148
+ const C = new D(0, w * I, 0);
149
149
  w > 0 && a.push(C);
150
150
  let c = {
151
151
  pos: C.clone(),
152
- localY: new V(0, 1, 0),
153
- localX: new V(1, 0, 0),
154
- localZ: new V(0, 0, 1)
152
+ localY: new D(0, 1, 0),
153
+ localX: new D(1, 0, 0),
154
+ localZ: new D(0, 0, 1)
155
155
  };
156
- const P = [];
156
+ const k = [];
157
157
  for (let i = n.length - 1; i >= 0; i--) {
158
158
  const u = n[i], M = We(u);
159
159
  if (M.length > 0) {
@@ -161,7 +161,7 @@ function je(y, m, p, s, d, _ = 0) {
161
161
  const Y = L.clone(), Z = new H();
162
162
  return Z.makeBasis(c.localX, c.localY, c.localZ), Y.applyMatrix4(Z), Y.add(c.pos);
163
163
  });
164
- P.push(S);
164
+ k.push(S);
165
165
  const A = S[S.length - 1];
166
166
  c.pos = A.clone();
167
167
  const f = u.B ?? 0, T = u.C ?? 0;
@@ -175,11 +175,11 @@ function je(y, m, p, s, d, _ = 0) {
175
175
  }
176
176
  }
177
177
  }
178
- for (const i of P)
178
+ for (const i of k)
179
179
  i.length > 1 && a.push(...i.slice(1));
180
- a.length < 2 && a.push(new V(0, 1e-3, 0));
180
+ a.length < 2 && a.push(new D(0, 1e-3, 0));
181
181
  try {
182
- const i = new De(a, !1, "catmullrom", 0.01), u = new xe(i, Math.max(2, a.length * 4), s * I, 18, !1);
182
+ const i = new Ve(a, !1, "catmullrom", 0.01), u = new xe(i, Math.max(2, a.length * 4), s * I, 18, !1);
183
183
  y.geometry.dispose(), y.geometry = u;
184
184
  } catch (i) {
185
185
  console.error("管件更新失败", i);
@@ -199,18 +199,18 @@ function Oe(y, m, p, s = 0) {
199
199
  d.push(c);
200
200
  }
201
201
  const n = Ne(d), h = Math.max(0, m - n), v = [];
202
- v.push(new V(0, 0, 0));
203
- const w = new V(0, h * I, 0);
202
+ v.push(new D(0, 0, 0));
203
+ const w = new D(0, h * I, 0);
204
204
  h > 0 && v.push(w);
205
205
  let a = {
206
206
  pos: w.clone(),
207
- localY: new V(0, 1, 0),
208
- localX: new V(1, 0, 0),
209
- localZ: new V(0, 0, 1)
207
+ localY: new D(0, 1, 0),
208
+ localX: new D(1, 0, 0),
209
+ localZ: new D(0, 0, 1)
210
210
  };
211
211
  const C = [];
212
212
  for (let c = d.length - 1; c >= 0; c--) {
213
- const P = d[c], i = We(P);
213
+ const k = d[c], i = We(k);
214
214
  if (i.length > 0) {
215
215
  const u = i.map((f) => {
216
216
  const T = f.clone(), L = new H();
@@ -219,7 +219,7 @@ function Oe(y, m, p, s = 0) {
219
219
  C.push(u);
220
220
  const M = u[u.length - 1];
221
221
  a.pos = M.clone();
222
- const S = P.B ?? 0, A = P.C ?? 0;
222
+ const S = k.B ?? 0, A = k.C ?? 0;
223
223
  if (S !== 0) {
224
224
  const f = new H().makeRotationAxis(a.localY, oe(S));
225
225
  a.localX.applyMatrix4(f), a.localZ.applyMatrix4(f);
@@ -232,15 +232,15 @@ function Oe(y, m, p, s = 0) {
232
232
  }
233
233
  for (const c of C)
234
234
  c.length > 1 && v.push(...c.slice(1));
235
- return v.length < 2 && v.push(new V(0, 1e-3, 0)), v;
235
+ return v.length < 2 && v.push(new D(0, 1e-3, 0)), v;
236
236
  }
237
237
  function Ge(y, m, p, s, d, _, n, h = 0, v = 0) {
238
238
  const w = d - v, a = Oe(s, w, n, h);
239
239
  let c = Oe(p, v, n, h);
240
240
  c.forEach((i) => i.y = -i.y), c.reverse();
241
- const P = [...c, ...a];
241
+ const k = [...c, ...a];
242
242
  try {
243
- const i = new De(P, !1, "catmullrom", 0.01), u = new xe(i, Math.max(2, P.length * 4), _ * I, 18, !1);
243
+ const i = new Ve(k, !1, "catmullrom", 0.01), u = new xe(i, Math.max(2, k.length * 4), _ * I, 18, !1);
244
244
  m.geometry.dispose(), y.geometry.dispose(), m.parent && m.parent.remove(m), y.geometry = u;
245
245
  } catch (i) {
246
246
  console.error("管件更新失败", i);
@@ -262,19 +262,19 @@ const Et = { class: "panel-content" }, jt = { class: "action-bar" }, Ot = { clas
262
262
  });
263
263
  const _ = async () => {
264
264
  let t = {};
265
- d.value === Te.SINGLE && (t = await kt()), d.value === Te.DOUBLE && (t = await xt());
265
+ d.value === Te.SINGLE && (t = await Pt()), d.value === Te.DOUBLE && (t = await xt());
266
266
  const {
267
267
  initialPipeLength: e = 0,
268
268
  pipeRadius: o = 0,
269
269
  clampLength: b = 0,
270
- animationData: k
270
+ animationData: P
271
271
  } = t;
272
- A.value = e, f.value = o, T.value = b, s.value = k;
272
+ A.value = e, f.value = o, T.value = b, s.value = P;
273
273
  const U = it(s.value), le = fe(X.value), Q = (U == null ? void 0 : U["输出(动画数据)"]) || [];
274
274
  n.value = Q.length ? Q : [le];
275
275
  }, n = g([]), h = g(!1), v = g(""), w = g(!1), a = g(0), C = g(0), c = g(1e3);
276
- let P = !1;
277
- const i = g(null), u = be(null), M = be(null), S = be(null), A = g(0), f = g(12.5), T = g(30), L = g([]), Y = g(null), Z = ke(() => p.model ? Tt(p.model).map((o) => o.name) : []), ee = g(["Y", "B", "C", "R"]), X = ke(() => [...Z.value, ...ee.value]), _e = ke(() => X.value.length > 0 ? `请按以下格式粘贴数据 (第一行为表头,使用 Tab 分隔):
276
+ let k = !1;
277
+ const i = g(null), u = be(null), M = be(null), S = be(null), A = g(0), f = g(12.5), T = g(30), L = g([]), Y = g(null), Z = Pe(() => p.model ? Tt(p.model).map((o) => o.name) : []), ee = g(["Y", "B", "C", "R"]), X = Pe(() => [...Z.value, ...ee.value]), _e = Pe(() => X.value.length > 0 ? `请按以下格式粘贴数据 (第一行为表头,使用 Tab 分隔):
278
278
  ${X.value.join(" ")}
279
279
  0 0 0 ...
280
280
  1 2 3 ...` : "请先加载模型。"), ve = () => n.value.map((t) => ({
@@ -285,10 +285,10 @@ ${X.value.join(" ")}
285
285
  })), se = () => {
286
286
  const t = [], e = [];
287
287
  return n.value.forEach((o) => {
288
- const { Y1: b, B1: k, C1: U, R1: le, Y2: Q, B2: ce, C2: Ce, R2: F } = o;
288
+ const { Y1: b, B1: P, C1: U, R1: le, Y2: Q, B2: ce, C2: Ce, R2: F } = o;
289
289
  t.push({
290
290
  Y: parseFloat(b) || 0,
291
- B: parseFloat(k) || 0,
291
+ B: parseFloat(P) || 0,
292
292
  C: parseFloat(U) || 0,
293
293
  R: parseFloat(le) || 0
294
294
  }), e.push({
@@ -301,7 +301,7 @@ ${X.value.join(" ")}
301
301
  posPipeYbcr: t,
302
302
  negPipeYbcr: e
303
303
  };
304
- }, D = (t = 0, e = 0) => {
304
+ }, V = (t = 0, e = 0) => {
305
305
  if (u.value && M.value) {
306
306
  const o = se();
307
307
  Ge(
@@ -328,34 +328,34 @@ ${X.value.join(" ")}
328
328
  if (console.log(`应用第 ${t} 帧数据 ${e}`), a.value = t, i.value) {
329
329
  const o = {};
330
330
  Z.value.forEach((b) => {
331
- const k = parseFloat(e[b]);
332
- isNaN(k) || (o[b] = k);
331
+ const P = parseFloat(e[b]);
332
+ isNaN(P) || (o[b] = P);
333
333
  }), i.value.setJointAngles(o);
334
334
  }
335
- D(t, 0);
335
+ V(t, 0);
336
336
  }, J = async () => {
337
337
  if (n.value.length === 0) {
338
338
  E.error("无法播放动画:无数据");
339
339
  return;
340
340
  }
341
341
  if (!w.value) {
342
- w.value = !0, P = !1, n.value.length - 1 === a.value && (a.value = 0);
342
+ w.value = !0, k = !1, n.value.length - 1 === a.value && (a.value = 0);
343
343
  try {
344
- for (let t = a.value + 1; t < n.value.length && !P; t++) {
344
+ for (let t = a.value + 1; t < n.value.length && !k; t++) {
345
345
  a.value = t;
346
346
  const e = n.value[t], o = {};
347
347
  i.value && Z.value.forEach((b) => {
348
- const k = parseFloat(e[b]);
349
- isNaN(k) || (o[b] = k);
348
+ const P = parseFloat(e[b]);
349
+ isNaN(P) || (o[b] = P);
350
350
  }), i.value ? await i.value.animateToState(
351
351
  o,
352
352
  c.value,
353
353
  (b) => {
354
- C.value = (t + b) / n.value.length * 100, D(t - 1, b);
354
+ C.value = (t + b) / n.value.length * 100, V(t - 1, b);
355
355
  }
356
356
  ) : (await new Promise((b) => setTimeout(b, c.value)), C.value = (t + 1) / n.value.length * 100);
357
357
  }
358
- P || E.success("动画播放完成");
358
+ k || E.success("动画播放完成");
359
359
  } catch (t) {
360
360
  console.error("动画播放出错:", t), E.error("动画播放出错");
361
361
  } finally {
@@ -363,7 +363,7 @@ ${X.value.join(" ")}
363
363
  }
364
364
  }
365
365
  }, j = () => {
366
- P = !0, w.value = !1, C.value = 0, E.info("动画已停止");
366
+ k = !0, w.value = !1, C.value = 0, E.info("动画已停止");
367
367
  }, N = () => {
368
368
  a.value = 0;
369
369
  }, O = () => {
@@ -418,7 +418,7 @@ ${X.value.join(" ")}
418
418
  const o = St(t, e), b = zt();
419
419
  b.visible = !1, o == null || o.add(b);
420
420
  }, $e = (t) => {
421
- i.value = new lt(t), L.value = Dt(t), Y.value = "Pipe_Joint";
421
+ i.value = new lt(t), L.value = Vt(t), Y.value = "Pipe_Joint";
422
422
  }, ue = () => {
423
423
  i.value = null, L.value = [], Y.value = null;
424
424
  }, ge = (t) => {
@@ -441,15 +441,15 @@ ${X.value.join(" ")}
441
441
  };
442
442
  ne([Y, T, A, re], ([t, e]) => {
443
443
  if (ae(), p.model && t) {
444
- const o = Vt(p.model, t);
444
+ const o = Dt(p.model, t);
445
445
  if (console.log(o, "meshToReplace"), o && o.parent) {
446
446
  S.value = o, o.visible = !1;
447
447
  const b = Re(o);
448
448
  if (d.value === Te.SINGLE && (b.position.y -= e * 1e-3), u.value = b, d.value === Te.DOUBLE) {
449
- const k = Re(o);
450
- M.value = k;
449
+ const P = Re(o);
450
+ M.value = P;
451
451
  }
452
- D(0, 0);
452
+ V(0, 0);
453
453
  } else
454
454
  t && console.warn(`在 link '${t}' 中未找到可替换的网格或其没有父级。`);
455
455
  }
@@ -483,7 +483,7 @@ ${X.value.join(" ")}
483
483
  E.error("没有找到匹配的表头,请检查表头名称是否正确");
484
484
  return;
485
485
  }
486
- const k = t.slice(1).map((U) => {
486
+ const P = t.slice(1).map((U) => {
487
487
  const le = U.split(" "), Q = {};
488
488
  return X.value.forEach((ce) => {
489
489
  Q[ce] = "0";
@@ -492,13 +492,13 @@ ${X.value.join(" ")}
492
492
  F !== void 0 && F.trim() !== "" && (Q[Ce] = F.trim());
493
493
  }), Q;
494
494
  });
495
- k.length > 0 ? (n.value = k, E.success(`成功导入 ${k.length} 行数据!`), h.value = !1, v.value = "") : E.error("未能解析到有效数据,请检查格式。");
495
+ P.length > 0 ? (n.value = P, E.success(`成功导入 ${P.length} 行数据!`), h.value = !1, v.value = "") : E.error("未能解析到有效数据,请检查格式。");
496
496
  };
497
497
  return Ie(() => {
498
- ae(), P = !0;
498
+ ae(), k = !0;
499
499
  }), m({ playAnimation: J, stopAnimation: j, forwardFrame: ie, backwardFrame: $ }), (t, e) => {
500
- const o = B("el-icon"), b = B("el-input-number"), k = B("el-form-item"), U = B("el-form"), le = B("el-slider"), Q = B("el-progress"), ce = B("el-input"), Ce = B("el-dialog");
501
- return q(), Ve("div", Et, [
500
+ const o = B("el-icon"), b = B("el-input-number"), P = B("el-form-item"), U = B("el-form"), le = B("el-slider"), Q = B("el-progress"), ce = B("el-input"), Ce = B("el-dialog");
501
+ return q(), De("div", Et, [
502
502
  r("div", jt, [
503
503
  l(me, {
504
504
  onClick: _,
@@ -524,7 +524,7 @@ ${X.value.join(" ")}
524
524
  l(G(st))
525
525
  ]),
526
526
  _: 1
527
- })) : Pe("", !0)
527
+ })) : ke("", !0)
528
528
  ]),
529
529
  _: 1
530
530
  }, 8, ["disabled"]),
@@ -546,7 +546,7 @@ ${X.value.join(" ")}
546
546
  style: { width: "100%" }
547
547
  }, {
548
548
  default: R(() => [
549
- l(k, {
549
+ l(P, {
550
550
  label: "帧间隔 (ms):",
551
551
  prop: "frameDuration"
552
552
  }, {
@@ -562,7 +562,7 @@ ${X.value.join(" ")}
562
562
  ]),
563
563
  _: 1
564
564
  }),
565
- l(k, {
565
+ l(P, {
566
566
  label: "管件总长 (mm):",
567
567
  prop: "initialPipeLength"
568
568
  }, {
@@ -576,7 +576,7 @@ ${X.value.join(" ")}
576
576
  ]),
577
577
  _: 1
578
578
  }),
579
- l(k, {
579
+ l(P, {
580
580
  label: "管件半径 (mm):",
581
581
  prop: "pipeRadius"
582
582
  }, {
@@ -590,7 +590,7 @@ ${X.value.join(" ")}
590
590
  ]),
591
591
  _: 1
592
592
  }),
593
- l(k, {
593
+ l(P, {
594
594
  label: "夹持长度 (mm):",
595
595
  prop: "clampLength"
596
596
  }, {
@@ -682,7 +682,7 @@ ${X.value.join(" ")}
682
682
  const p = await Ct(["工件库", "弯管"], y), s = Ye("弯管基础参数", p), d = Ye("弯管特征尺寸", p), _ = {
683
683
  outerDiameter: 0,
684
684
  ybcrList: []
685
- }, n = Mt(s), h = Pt(d);
685
+ }, n = Mt(s), h = kt(d);
686
686
  return _.outerDiameter = (n == null ? void 0 : n.外径) || 0, _.ybcrList = h || [], _;
687
687
  }, qt = { class: "pipe-analysis-dialog-header" }, el = { class: "header-right" }, tl = { class: "pipe-analysis-dialog-body" }, ll = { class: "panel-left" }, ol = { class: "pipe-analysis-input" }, al = { class: "input-params" }, nl = { class: "pipe-analysis-output" }, sl = { class: "ouput-params" }, il = /* @__PURE__ */ Be({
688
688
  __name: "pipeAnalysisPanel",
@@ -697,23 +697,23 @@ ${X.value.join(" ")}
697
697
  cleanup: a,
698
698
  setModels: C,
699
699
  clearAllModels: c,
700
- axesHelperVisible: P,
700
+ axesHelperVisible: k,
701
701
  toggleAxesVisibility: i,
702
702
  addModelAndFit: u
703
703
  } = Je(s);
704
704
  g(null);
705
705
  const M = g({ file: null, pipe: "" });
706
706
  g(null), g(!1);
707
- const S = g([]), A = (D) => {
708
- S.value = D;
707
+ const S = g([]), A = (V) => {
708
+ S.value = V;
709
709
  };
710
710
  g("ybcr");
711
711
  const f = g({
712
712
  form: {},
713
713
  list: [],
714
714
  reverse: !1
715
- }), T = (D) => {
716
- const { length: x, outerDiameter: J, innerDiameter: j, thickness: N, ybcrList: O } = D || {};
715
+ }), T = (V) => {
716
+ const { length: x, outerDiameter: J, innerDiameter: j, thickness: N, ybcrList: O } = V || {};
717
717
  f.value.form = {
718
718
  length: x,
719
719
  outerDiameter: J,
@@ -721,9 +721,9 @@ ${X.value.join(" ")}
721
721
  thickness: N
722
722
  }, f.value.list = O;
723
723
  }, L = () => {
724
- const { form: D, list: x } = f.value, {
724
+ const { form: V, list: x } = f.value, {
725
725
  outerDiameter: J
726
- } = D, j = J / 2, N = x == null ? void 0 : x.map((te) => {
726
+ } = V, j = J / 2, N = x == null ? void 0 : x.map((te) => {
727
727
  const { y: K, b: W, c: ie, r: $, Y: ae, B: fe, C: re, R: we } = te;
728
728
  return ae ? {
729
729
  Y: ae,
@@ -741,17 +741,17 @@ ${X.value.join(" ")}
741
741
  const O = Lt(N, j);
742
742
  u(O);
743
743
  }, Y = g(!1), Z = () => {
744
- const D = Y.value;
745
- Y.value = !D;
744
+ const V = Y.value;
745
+ Y.value = !V;
746
746
  }, ee = g(!1), X = () => {
747
747
  ee.value = !1;
748
748
  }, _e = () => {
749
749
  ee.value = !0;
750
750
  }, ve = async () => {
751
- const D = await Kt();
752
- A(D);
753
- }, se = async (D) => {
754
- const x = await Qt(D);
751
+ const V = await Kt();
752
+ A(V);
753
+ }, se = async (V) => {
754
+ const x = await Qt(V);
755
755
  T(x);
756
756
  };
757
757
  return ne(() => f, () => {
@@ -763,8 +763,8 @@ ${X.value.join(" ")}
763
763
  if (d.value)
764
764
  return;
765
765
  h(), window.addEventListener("resize", v);
766
- } catch (D) {
767
- console.error("Three.js 初始化失败:", D), E.error("渲染引擎初始化失败!");
766
+ } catch (V) {
767
+ console.error("Three.js 初始化失败:", V), E.error("渲染引擎初始化失败!");
768
768
  }
769
769
  }, {
770
770
  deep: !0
@@ -772,12 +772,12 @@ ${X.value.join(" ")}
772
772
  ve();
773
773
  }), Ze(() => {
774
774
  window.removeEventListener("resize", v), a();
775
- }), m({ openDialog: _e }), (D, x) => {
775
+ }), m({ openDialog: _e }), (V, x) => {
776
776
  const J = B("el-icon"), j = B("el-option"), N = B("el-select"), O = B("el-form-item"), te = B("el-form"), K = B("el-input"), W = B("el-table-column"), ie = B("el-table");
777
777
  return q(), ye(Ft, {
778
778
  class: "pipe-analysis-dialog",
779
779
  visible: ee.value,
780
- onBeforeDestroy: D.onDestroy,
780
+ onBeforeDestroy: V.onDestroy,
781
781
  showClose: !1,
782
782
  fullScreen: Y.value
783
783
  }, {
@@ -826,7 +826,7 @@ ${X.value.join(" ")}
826
826
  onChange: se
827
827
  }, {
828
828
  default: R(() => [
829
- (q(!0), Ve(He, null, Ke(S.value, ($) => (q(), ye(j, {
829
+ (q(!0), De(He, null, Ke(S.value, ($) => (q(), ye(j, {
830
830
  label: $.name,
831
831
  value: $.mainKey
832
832
  }, null, 8, ["label", "value"]))), 256))
@@ -963,7 +963,7 @@ ${X.value.join(" ")}
963
963
  }, dl = {
964
964
  ref: "pipe2",
965
965
  class: "pipe-container"
966
- }, ml = { class: "buttonGroup-topLeft" }, vl = { class: "buttonGroup-left" }, fl = { class: "buttonGroup-right" }, gl = { class: "buttonGroup-bottom" }, hl = { class: "top-panel" }, bl = { class: "panel-header" }, yl = { class: "panel-body" }, _l = { class: "left-panel" }, wl = { class: "panel-header" }, Cl = { class: "panel-body" }, Pl = { class: "right-panel" }, kl = { class: "panel-header" }, xl = { class: "panel-body" }, Rl = {
966
+ }, ml = { class: "buttonGroup-topLeft" }, vl = { class: "buttonGroup-left" }, fl = { class: "buttonGroup-right" }, gl = { class: "buttonGroup-bottom" }, hl = { class: "top-panel" }, bl = { class: "panel-header" }, yl = { class: "panel-body" }, _l = { class: "left-panel" }, wl = { class: "panel-header" }, Cl = { class: "panel-body" }, kl = { class: "right-panel" }, Pl = { class: "panel-header" }, xl = { class: "panel-body" }, Rl = {
967
967
  key: 0,
968
968
  class: "loading-overlay"
969
969
  }, Ml = /* @__PURE__ */ Be({
@@ -973,7 +973,7 @@ ${X.value.join(" ")}
973
973
  threeData: {}
974
974
  },
975
975
  setup(y) {
976
- const m = y, p = g(Le.ROBOT), s = g(null), d = g(), _ = g(!1), n = g(""), h = g(!1), v = g(""), w = g(!1), a = g(""), C = g(!1), c = g(""), P = be(null), i = be(null), u = g(), {
976
+ const m = y, p = g(Le.ROBOT), s = g(null), d = g(), _ = g(!1), n = g(""), h = g(!1), v = g(""), w = g(!1), a = g(""), C = g(!1), c = g(""), k = be(null), i = be(null), u = g(), {
977
977
  currentModels: M,
978
978
  resetView: S,
979
979
  initThreeJS: A,
@@ -990,11 +990,11 @@ ${X.value.join(" ")}
990
990
  M,
991
991
  _,
992
992
  n
993
- ), { isAnimating: se, toggleAnimation: D, startAnimation: x, stopAnimation: J } = qe(T, M), { isClipping: j, activeClippingAxis: N, toggleClipping: O, updateClippingPlanes: te } = et(T, M), { initRaycaster: K, selectedObject3D: W, setSelectedObjVisible: ie, updatePosition: $, updateRotation: ae, dispose: fe } = ot(s, T, M), re = () => {
993
+ ), { isAnimating: se, toggleAnimation: V, startAnimation: x, stopAnimation: J } = qe(T, M), { isClipping: j, activeClippingAxis: N, toggleClipping: O, updateClippingPlanes: te } = et(T, M), { initRaycaster: K, selectedObject3D: W, setSelectedObjVisible: ie, updatePosition: $, updateRotation: ae, dispose: fe } = ot(s, T, M), re = () => {
994
994
  ee();
995
995
  }, we = (e) => {
996
996
  N.value = e, te();
997
- }, Ae = ke(() => p.value === Le.ROBOT), $e = ke(() => p.value === Le.PIPECOMPARSION), ue = (e) => {
997
+ }, Ae = Pe(() => p.value === Le.ROBOT), $e = Pe(() => p.value === Le.PIPECOMPARSION), ue = (e) => {
998
998
  h.value = !0, v.value = e, e === "剖面视图" && !j.value && O();
999
999
  }, ge = (e) => {
1000
1000
  w.value = !0, a.value = e;
@@ -1017,16 +1017,16 @@ ${X.value.join(" ")}
1017
1017
  if (!o.name.toLowerCase().endsWith(".urdf"))
1018
1018
  return;
1019
1019
  ve(o).then((b) => {
1020
- P.value = b;
1020
+ k.value = b;
1021
1021
  }).catch((b) => {
1022
- console.error("加载URDF文件时发生错误:", b), E.error("加载urdf模型失败"), P.value = null;
1022
+ console.error("加载URDF文件时发生错误:", b), E.error("加载urdf模型失败"), k.value = null;
1023
1023
  });
1024
1024
  } else
1025
- P.value = null;
1025
+ k.value = null;
1026
1026
  }, {
1027
1027
  immediate: !0,
1028
1028
  deep: !0
1029
- }), ne(P, (e) => {
1029
+ }), ne(k, (e) => {
1030
1030
  Y(e ? [e] : []), K();
1031
1031
  }), Xe(async () => {
1032
1032
  await Qe();
@@ -1041,7 +1041,7 @@ ${X.value.join(" ")}
1041
1041
  v.value = "", a.value = "", window.removeEventListener("resize", f), se.value && J(), L(), fe();
1042
1042
  }), (e, o) => {
1043
1043
  const b = B("el-scrollbar");
1044
- return q(), Ve("div", ul, [
1044
+ return q(), De("div", ul, [
1045
1045
  pe(r("div", {
1046
1046
  ref_key: "threejsContainer",
1047
1047
  ref: s,
@@ -1078,7 +1078,7 @@ ${X.value.join(" ")}
1078
1078
  l(z, {
1079
1079
  name: "lookAround",
1080
1080
  size: "24",
1081
- onClick: G(D),
1081
+ onClick: G(V),
1082
1082
  title: G(se) ? "停止动画" : "动画视图"
1083
1083
  }, null, 8, ["onClick", "title"]),
1084
1084
  l(z, {
@@ -1094,28 +1094,28 @@ ${X.value.join(" ")}
1094
1094
  l(z, {
1095
1095
  name: "jiegoushu",
1096
1096
  size: "24",
1097
- onClick: o[0] || (o[0] = (k) => ue("场景树")),
1097
+ onClick: o[0] || (o[0] = (P) => ue("场景树")),
1098
1098
  active: h.value && v.value === "场景树",
1099
1099
  title: "场景树"
1100
1100
  }, null, 8, ["active"]),
1101
1101
  l(z, {
1102
1102
  name: "clipping",
1103
1103
  size: "24",
1104
- onClick: o[1] || (o[1] = (k) => ue("剖面视图")),
1104
+ onClick: o[1] || (o[1] = (P) => ue("剖面视图")),
1105
1105
  active: h.value && v.value === "剖面视图",
1106
1106
  title: "剖面视图"
1107
1107
  }, null, 8, ["active"]),
1108
1108
  l(z, {
1109
1109
  name: "zhaozi",
1110
1110
  size: "24",
1111
- onClick: o[2] || (o[2] = (k) => ue("工件树")),
1111
+ onClick: o[2] || (o[2] = (P) => ue("工件树")),
1112
1112
  active: h.value && v.value === "工件树",
1113
1113
  title: "工件 "
1114
1114
  }, null, 8, ["active"]),
1115
1115
  l(z, {
1116
1116
  name: "donghuafangzhen",
1117
1117
  size: "24",
1118
- onClick: o[3] || (o[3] = (k) => ue("场景4"))
1118
+ onClick: o[3] || (o[3] = (P) => ue("场景4"))
1119
1119
  })
1120
1120
  ]),
1121
1121
  r("div", fl, [
@@ -1131,7 +1131,7 @@ ${X.value.join(" ")}
1131
1131
  l(z, {
1132
1132
  name: "guanjiekongzhi",
1133
1133
  size: "24",
1134
- onClick: o[4] || (o[4] = (k) => ge("关节控制")),
1134
+ onClick: o[4] || (o[4] = (P) => ge("关节控制")),
1135
1135
  active: w.value && a.value === "关节控制",
1136
1136
  title: "关节控制"
1137
1137
  }, null, 8, ["active"]),
@@ -1139,14 +1139,14 @@ ${X.value.join(" ")}
1139
1139
  name: "donghuafangzhen",
1140
1140
  size: "24",
1141
1141
  title: "动画仿真",
1142
- onClick: o[5] || (o[5] = (k) => ge("动画仿真")),
1142
+ onClick: o[5] || (o[5] = (P) => ge("动画仿真")),
1143
1143
  active: w.value && a.value === "动画仿真"
1144
1144
  }, null, 8, ["active"]),
1145
1145
  l(z, {
1146
1146
  name: "donghuafangzhen",
1147
1147
  size: "24",
1148
1148
  title: "urdf动画",
1149
- onClick: o[6] || (o[6] = (k) => ge("urdf动画")),
1149
+ onClick: o[6] || (o[6] = (P) => ge("urdf动画")),
1150
1150
  active: w.value && a.value === "urdf动画"
1151
1151
  }, null, 8, ["active"]),
1152
1152
  l(z, {
@@ -1189,7 +1189,7 @@ ${X.value.join(" ")}
1189
1189
  r("span", null, he(c.value), 1),
1190
1190
  r("span", {
1191
1191
  class: "close",
1192
- onClick: o[7] || (o[7] = (k) => C.value = !1)
1192
+ onClick: o[7] || (o[7] = (P) => C.value = !1)
1193
1193
  }, " X ")
1194
1194
  ]),
1195
1195
  r("div", yl, [
@@ -1208,30 +1208,30 @@ ${X.value.join(" ")}
1208
1208
  r("span", null, he(v.value), 1),
1209
1209
  r("span", {
1210
1210
  class: "close",
1211
- onClick: o[8] || (o[8] = (k) => h.value = !1)
1211
+ onClick: o[8] || (o[8] = (P) => h.value = !1)
1212
1212
  }, " X ")
1213
1213
  ]),
1214
1214
  r("div", Cl, [
1215
1215
  l(b, { height: "100%" }, {
1216
1216
  default: R(() => {
1217
- var k;
1217
+ var P;
1218
1218
  return [
1219
1219
  v.value === "场景树" ? (q(), ye(At, {
1220
1220
  key: 0,
1221
- model: P.value
1222
- }, null, 8, ["model"])) : Pe("", !0),
1221
+ model: k.value
1222
+ }, null, 8, ["model"])) : ke("", !0),
1223
1223
  v.value === "剖面视图" ? (q(), ye(tt, {
1224
1224
  key: 1,
1225
1225
  value: G(N),
1226
1226
  onChange: we
1227
- }, null, 8, ["value"])) : Pe("", !0),
1227
+ }, null, 8, ["value"])) : ke("", !0),
1228
1228
  v.value === "工件树" ? (q(), ye(nt, {
1229
1229
  key: 2,
1230
- model: (k = G(W)) == null ? void 0 : k.obj,
1230
+ model: (P = G(W)) == null ? void 0 : P.obj,
1231
1231
  onVisibleChange: G(ie),
1232
1232
  onUpdatePosition: G($),
1233
1233
  onUpdateRotation: G(ae)
1234
- }, null, 8, ["model", "onVisibleChange", "onUpdatePosition", "onUpdateRotation"])) : Pe("", !0)
1234
+ }, null, 8, ["model", "onVisibleChange", "onUpdatePosition", "onUpdateRotation"])) : ke("", !0)
1235
1235
  ];
1236
1236
  }),
1237
1237
  _: 1
@@ -1240,24 +1240,24 @@ ${X.value.join(" ")}
1240
1240
  ], 512), [
1241
1241
  [de, h.value]
1242
1242
  ]),
1243
- pe(r("div", Pl, [
1244
- r("div", kl, [
1243
+ pe(r("div", kl, [
1244
+ r("div", Pl, [
1245
1245
  r("span", null, he(a.value), 1),
1246
1246
  r("span", {
1247
1247
  class: "close",
1248
- onClick: o[9] || (o[9] = (k) => w.value = !1)
1248
+ onClick: o[9] || (o[9] = (P) => w.value = !1)
1249
1249
  }, " X ")
1250
1250
  ]),
1251
1251
  r("div", xl, [
1252
1252
  l(b, { height: "100%" }, {
1253
1253
  default: R(() => [
1254
- pe(l($t, { model: P.value }, null, 8, ["model"]), [
1254
+ pe(l($t, { model: k.value }, null, 8, ["model"]), [
1255
1255
  [de, a.value === "关节控制"]
1256
1256
  ]),
1257
1257
  pe(l(Ht, {
1258
1258
  ref_key: "animationPanelRef",
1259
1259
  ref: u,
1260
- model: P.value,
1260
+ model: k.value,
1261
1261
  threeData: m.threeData
1262
1262
  }, null, 8, ["model", "threeData"]), [
1263
1263
  [de, a.value === "动画仿真"]
@@ -1270,10 +1270,10 @@ ${X.value.join(" ")}
1270
1270
  ], 512), [
1271
1271
  [de, w.value]
1272
1272
  ]),
1273
- _.value ? (q(), Ve("div", Rl, [
1273
+ _.value ? (q(), De("div", Rl, [
1274
1274
  o[10] || (o[10] = r("div", { class: "loading-spinner" }, null, -1)),
1275
1275
  r("p", null, he(n.value), 1)
1276
- ])) : Pe("", !0),
1276
+ ])) : ke("", !0),
1277
1277
  l(rl, {
1278
1278
  ref_key: "pipeAnalysisPanelRef",
1279
1279
  ref: d