ss-component-new 1.2.98 → 1.2.99
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.
- package/dist/MTLLoader-B4z0XNO-.js +304 -0
- package/dist/MTLLoader-n_3HPhif.cjs +2 -0
- package/dist/OBJLoader-C_JaUegI.cjs +5 -0
- package/dist/OBJLoader-Dilcv9TL.js +356 -0
- package/dist/{OrbitControls-BLs9AYBY.cjs → OrbitControls-8LBwRzcq.cjs} +1 -1
- package/dist/{OrbitControls-KkyEKP5M.js → OrbitControls-Cz47Q27N.js} +1 -1
- package/dist/{animationData-Btgynl98.js → animationData-C8lM4zZj.js} +1 -1
- package/dist/{animationData-CCImpyvS.cjs → animationData-CKcPDmLp.cjs} +1 -1
- package/dist/{iconfont-BXzhYF5A.cjs → iconfont-B1cUqs_N.cjs} +1 -1
- package/dist/{iconfont-B8CQB3CO.js → iconfont-CUWS5tNH.js} +2 -2
- package/dist/{index-6sDAnob5.cjs → index-2hqZ_tND.cjs} +1 -1
- package/dist/{index-CnBVZu9x.cjs → index-AuEh0RiU.cjs} +1 -1
- package/dist/{index-BaXxrBtb.cjs → index-B2UPNwqJ.cjs} +1 -1
- package/dist/{index-DXrBVvWh.js → index-BCvmfE-Q.js} +3 -3
- package/dist/{index-Bk8CKDbz.js → index-BDw8DIQx.js} +130 -130
- package/dist/{index-Cz7uQ_eD.js → index-BPv8txj6.js} +6 -6
- package/dist/{index--JyaPE1g.js → index-BQaejVqo.js} +1 -1
- package/dist/{index-BMSOMrGq.cjs → index-Ba16ouw0.cjs} +1 -1
- package/dist/{index-C9U9aO2Y.js → index-BaSO3EEl.js} +3 -3
- package/dist/{index-1TxthiQw.cjs → index-BdSiNUC0.cjs} +1 -1
- package/dist/{index-CYmbZuJq.cjs → index-BfU8GMj1.cjs} +1 -1
- package/dist/{index-B_WRw_3s.cjs → index-BjKKDSDx.cjs} +1 -1
- package/dist/{index-DThE5nRZ.cjs → index-BqgfejIC.cjs} +1 -1
- package/dist/{index-Dggo7EaF.js → index-BxONUPjM.js} +1 -1
- package/dist/{index-BCNDy7LZ.js → index-Byp3gJNW.js} +1 -1
- package/dist/{index-hbpC0O70.js → index-C7ZsHeLt.js} +3 -3
- package/dist/{index-tUUpniUl.js → index-C9p_wwJ7.js} +6 -6
- package/dist/{index-zsvDrZxo.js → index-CKlt750z.js} +1 -1
- package/dist/{index-C_rjTaFu.cjs → index-CQwDw3-2.cjs} +1 -1
- package/dist/{index-CLddyFrz.js → index-CR1Ng5ip.js} +3 -3
- package/dist/{index-DMTBVsgY.cjs → index-CZIqVNof.cjs} +1 -1
- package/dist/{index-yWC1EX2L.cjs → index-C_208RkZ.cjs} +1 -1
- package/dist/{index-k579sq5M.cjs → index-CqZ1E-Mt.cjs} +1 -1
- package/dist/{index-Cmlus98m.js → index-CrNsPd4D.js} +2 -2
- package/dist/{index-DRjN9mko.cjs → index-CvQCAGWI.cjs} +1 -1
- package/dist/{index-B8XDW6Ly.cjs → index-CyCcPnZb.cjs} +1 -1
- package/dist/{index-CAAOZFSQ.js → index-CyE5qCBb.js} +13 -13
- package/dist/{index-DcxUbnrO.cjs → index-D32pAhQk.cjs} +1 -1
- package/dist/{index-DZf4BLpR.js → index-DAUjjqaD.js} +391 -391
- package/dist/{index-DvQRFx9T.cjs → index-DQTlc6Gq.cjs} +1 -1
- package/dist/{index-blVMOcaF.js → index-DTilOAv_.js} +2 -2
- package/dist/{index-7ZZHuv4d.cjs → index-D_22J0ok.cjs} +1 -1
- package/dist/{index-JQ_SaJ0O.js → index-DboUMA_C.js} +1 -1
- package/dist/{index-BkPXyAKD.js → index-DgMQpO6g.js} +1 -1
- package/dist/{index-FnJX1FLR.cjs → index-Dh6GqpZF.cjs} +1 -1
- package/dist/{index-CWJuJJYp.cjs → index-DhqEoDPT.cjs} +1 -1
- package/dist/{index-uWijQ8Cy.js → index-DlwlGkyt.js} +2 -2
- package/dist/{index-nSLXu4eq.cjs → index-DtDmxPdD.cjs} +1 -1
- package/dist/{index-CUAM_spJ.js → index-GxmJC9kr.js} +1 -1
- package/dist/{index-2wJBzGa-.cjs → index-XKn5AuYT.cjs} +1 -1
- package/dist/{index-B4YN6ElV.js → index-mEKMjplD.js} +1 -1
- package/dist/{index-DdQjdsrn.js → index-vglZ0qjT.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BKdUW522.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DKwCF412.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DPDuWtDv.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DqIuWlps.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CmofVWvn.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CICG8Qah.js} +7302 -7338
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Y4oIHCVM.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-K6lh7Rrj.cjs} +282 -282
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-D0zznqn6.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-Cpyo5jke.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-YB8ip9Xh.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-Cq8VF9uK.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_1_lang-CT8c_mLo.js → index.vue_vue_type_style_index_1_lang-B_HCEX9y.js} +6 -5
- package/dist/{index.vue_vue_type_style_index_1_lang-BB0IwRdP.cjs → index.vue_vue_type_style_index_1_lang-rTLLuvuo.cjs} +5 -5
- package/dist/loaderUtil-B0djdt91.js +5 -0
- package/dist/loaderUtil-CaWWb8db.cjs +1 -0
- package/dist/{main-CbZLyXuF.js → main-DHx-3OSy.js} +2 -2
- package/dist/{main-BOuiQUiL.cjs → main-DS156sQ4.cjs} +1 -1
- package/dist/ss-component.cjs +1 -1
- package/dist/ss-component.css +1 -1
- package/dist/ss-component.js +9 -9
- package/dist/ss-component2.cjs +1 -1
- package/dist/ss-component2.js +10 -10
- package/dist/{threeModel-i87HG3Ck.cjs → threeModel-CfIK1rQB.cjs} +1 -1
- package/dist/{threeModel-BJ6MrCa-.js → threeModel-WYCdw_Ff.js} +4 -4
- package/dist/{threePreview-D3wObBZq.js → threePreview-C29AR7Mr.js} +7 -6
- package/dist/threePreview-Ci8TnUQ8.cjs +1 -0
- package/dist/{threeSceneView-DQpyKixe.cjs → threeSceneView-C2MDCMux.cjs} +1 -1
- package/dist/{threeSceneView-DDpjEIgl.js → threeSceneView-F15mW1mm.js} +6 -6
- package/dist/{threeSceneViewForCPMPIP-DV_aOUU5.js → threeSceneViewForCPMPIP-DK4G_ZpP.js} +219 -219
- package/dist/threeSceneViewForCPMPIP-DuPZn_qv.cjs +5 -0
- package/dist/threeTrackPathView-C4eBUMef.cjs +370 -0
- package/dist/{threeTrackPathView-D6aAG4g8.js → threeTrackPathView-DMj6YGxT.js} +316 -323
- package/dist/{threeViewerHost-XR9tepbY.js → threeViewerHost-C9ipsMff.js} +2 -2
- package/dist/{threeViewerHost-I50ZyvKF.cjs → threeViewerHost-CW6JmOUJ.cjs} +2 -2
- package/dist/{urdfTree-B19ebCHj.cjs → urdfTree-CTiMB7ge.cjs} +1 -1
- package/dist/{urdfTree-CjxhpnRl.js → urdfTree-DGEACy9-.js} +1 -1
- package/dist/{workpieceTreePanel-DAnMGvlX.js → workpieceTreePanel-C1gy5a8r.js} +53 -52
- package/dist/workpieceTreePanel-Ded0Gqke.cjs +1 -0
- package/package.json +1 -1
- package/dist/MTLLoader-CCS24gLm.js +0 -657
- package/dist/MTLLoader-DlcJK6vT.cjs +0 -6
- package/dist/threePreview-B3v9SadK.cjs +0 -1
- package/dist/threeSceneViewForCPMPIP-iaIkud0j.cjs +0 -5
- package/dist/threeTrackPathView-nPb7Tgdd.cjs +0 -370
- package/dist/workpieceTreePanel-0L7tkycK.cjs +0 -1
|
@@ -1,40 +1,40 @@
|
|
|
1
|
-
import { defineComponent as
|
|
2
|
-
import { aw as
|
|
3
|
-
import { U as
|
|
4
|
-
import { u as
|
|
5
|
-
import { c as
|
|
6
|
-
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-
|
|
1
|
+
import { defineComponent as we, ref as u, computed as C, watch as H, onUnmounted as Ze, resolveComponent as K, createElementBlock as A, openBlock as U, createElementVNode as l, createCommentVNode as M, createVNode as i, toDisplayString as N, Fragment as qe, renderList as Qe, withCtx as te, inject as ke, shallowRef as ie, onMounted as el, nextTick as ll, onBeforeUnmount as tl, withDirectives as $, vShow as G, unref as r, renderSlot as ue, createBlock as Pe, isRef as re, vModelRadio as de } from "vue";
|
|
2
|
+
import { aw as al } from "./index.vue_vue_type_style_index_1_lang-Cg1p_3ne.js";
|
|
3
|
+
import { U as nl, s as Ce, u as ol, a as sl, W as il } from "./workpieceTreePanel-C1gy5a8r.js";
|
|
4
|
+
import { u as ul, a as rl, b as dl } from "./iconfont-CUWS5tNH.js";
|
|
5
|
+
import { c as vl, E as P } from "./index-BUYYl2Pc.js";
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-CICG8Qah.js";
|
|
7
7
|
import { _ as pe } from "./index-DRizRbU3.js";
|
|
8
|
-
import { g as
|
|
8
|
+
import { g as cl, b as ml, U as pl, J as fl, d as gl } from "./urdfTree-DGEACy9-.js";
|
|
9
9
|
import { _ as xe } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
10
10
|
import { T as k } from "./svgIcon-D-_fXUBL.js";
|
|
11
|
-
import { i as
|
|
12
|
-
import {
|
|
13
|
-
import { L as
|
|
14
|
-
const
|
|
11
|
+
import { i as bl } from "./animationData-C8lM4zZj.js";
|
|
12
|
+
import { l as hl } from "./loaderUtil-B0djdt91.js";
|
|
13
|
+
import { L as yl, j as kl } from "./index-DAUjjqaD.js";
|
|
14
|
+
const Pl = { class: "panel-content" }, Cl = { class: "action-bar" }, _l = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "animation-controls"
|
|
17
|
-
},
|
|
17
|
+
}, wl = { class: "control-row" }, xl = { class: "control-row" }, zl = { class: "frame-info" }, Nl = { class: "control-row" }, Ul = {
|
|
18
18
|
key: 1,
|
|
19
19
|
class: "empty-state"
|
|
20
|
-
},
|
|
20
|
+
}, Vl = { class: "dialog-footer" }, $l = /* @__PURE__ */ we({
|
|
21
21
|
__name: "urdfAnimationPanel",
|
|
22
22
|
props: {
|
|
23
23
|
model: {},
|
|
24
24
|
scene: {},
|
|
25
25
|
xyzbcList: {}
|
|
26
26
|
},
|
|
27
|
-
setup(
|
|
28
|
-
const
|
|
27
|
+
setup(W, { expose: ae }) {
|
|
28
|
+
const L = W, n = u([]), T = u(!1), j = u(""), d = u("stopped"), p = u(0), F = u(0), I = u(10), h = u(null);
|
|
29
29
|
let g = 0;
|
|
30
|
-
const
|
|
31
|
-
${
|
|
30
|
+
const Y = u([]), Z = C(() => L.model ? cl(L.model).map((v) => v.name) : []), O = C(() => [...Z.value]), ne = C(() => O.value.length > 0 ? `请按以下格式粘贴数据 (第一行为表头,使用 Tab 分隔):
|
|
31
|
+
${O.value.join(" ")}
|
|
32
32
|
0 0 0 ...
|
|
33
33
|
1 2 3 ...` : "请先加载模型。"), E = C(() => n.value[p.value] || {});
|
|
34
|
-
|
|
35
|
-
s ? (h.value = new
|
|
34
|
+
H(() => L.model, (s) => {
|
|
35
|
+
s ? (h.value = new nl(s), Y.value = ml(s), p.value = 0) : (h.value = null, Y.value = []);
|
|
36
36
|
}, { immediate: !0 });
|
|
37
|
-
const
|
|
37
|
+
const B = (s) => {
|
|
38
38
|
if (s < 0 || s >= n.value.length) {
|
|
39
39
|
console.error(`帧索引 ${s} 超出范围`);
|
|
40
40
|
return;
|
|
@@ -42,9 +42,9 @@ ${B.value.join(" ")}
|
|
|
42
42
|
const a = n.value[s];
|
|
43
43
|
if (h.value) {
|
|
44
44
|
const v = {};
|
|
45
|
-
|
|
46
|
-
const f = parseFloat(a[
|
|
47
|
-
isNaN(f) || (v[
|
|
45
|
+
Z.value.forEach((_) => {
|
|
46
|
+
const f = parseFloat(a[_]);
|
|
47
|
+
isNaN(f) || (v[_] = f);
|
|
48
48
|
}), h.value.setJointAngles(v);
|
|
49
49
|
}
|
|
50
50
|
p.value = s, F.value = n.value.length > 1 ? s / (n.value.length - 1) * 100 : 100;
|
|
@@ -52,20 +52,20 @@ ${B.value.join(" ")}
|
|
|
52
52
|
try {
|
|
53
53
|
for (let a = p.value; a < n.value.length; a++) {
|
|
54
54
|
if (s !== g) return;
|
|
55
|
-
const v = n.value[a],
|
|
55
|
+
const v = n.value[a], _ = {};
|
|
56
56
|
if (h.value)
|
|
57
|
-
|
|
57
|
+
Z.value.forEach((f) => {
|
|
58
58
|
const b = parseFloat(v[f]);
|
|
59
|
-
isNaN(b) || (
|
|
59
|
+
isNaN(b) || (_[f] = b);
|
|
60
60
|
}), await h.value.animateToState(
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
_,
|
|
62
|
+
I.value,
|
|
63
63
|
(f) => {
|
|
64
64
|
s === g && (F.value = (a + f) / n.value.length * 100);
|
|
65
65
|
}
|
|
66
66
|
);
|
|
67
67
|
else {
|
|
68
|
-
if (await new Promise((f) => setTimeout(f,
|
|
68
|
+
if (await new Promise((f) => setTimeout(f, I.value)), s !== g) return;
|
|
69
69
|
F.value = (a + 1) / n.value.length * 100;
|
|
70
70
|
}
|
|
71
71
|
p.value = a;
|
|
@@ -74,21 +74,21 @@ ${B.value.join(" ")}
|
|
|
74
74
|
} catch (a) {
|
|
75
75
|
console.error("动画播放出错:", a), P.error("动画播放出错"), d.value = "stopped";
|
|
76
76
|
}
|
|
77
|
-
},
|
|
77
|
+
}, X = () => {
|
|
78
78
|
if (n.value.length === 0) {
|
|
79
79
|
P.error("无动画数据");
|
|
80
80
|
return;
|
|
81
81
|
}
|
|
82
|
-
d.value === "stopped" && (p.value = 0,
|
|
83
|
-
},
|
|
82
|
+
d.value === "stopped" && (p.value = 0, B(0)), d.value = "playing", g++, ve(g), P.info("动画播放中");
|
|
83
|
+
}, q = () => {
|
|
84
84
|
d.value === "playing" && (g++, d.value = "paused", P.info("动画已暂停"));
|
|
85
|
-
},
|
|
86
|
-
g++, d.value = "stopped", p.value = 0, F.value = 0,
|
|
85
|
+
}, Q = () => {
|
|
86
|
+
g++, d.value = "stopped", p.value = 0, F.value = 0, B(0), P.info("动画已停止并重置");
|
|
87
87
|
}, D = () => {
|
|
88
|
-
d.value === "playing" ?
|
|
88
|
+
d.value === "playing" ? q() : X();
|
|
89
89
|
}, x = (s) => {
|
|
90
|
-
g++, d.value = "paused",
|
|
91
|
-
},
|
|
90
|
+
g++, d.value = "paused", B(s);
|
|
91
|
+
}, J = () => {
|
|
92
92
|
if (!j.value.trim()) {
|
|
93
93
|
P.warning("导入内容不能为空");
|
|
94
94
|
return;
|
|
@@ -101,51 +101,51 @@ ${B.value.join(" ")}
|
|
|
101
101
|
}
|
|
102
102
|
const a = s[0].split(" ").map((b) => b.trim()), v = {};
|
|
103
103
|
if (a.forEach((b, c) => {
|
|
104
|
-
|
|
104
|
+
O.value.includes(b) && (v[c] = b);
|
|
105
105
|
}), Object.keys(v).length === 0) {
|
|
106
106
|
P.error("没有找到匹配的表头,请检查表头名称是否正确");
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
109
|
const f = s.slice(1).map((b) => {
|
|
110
110
|
const c = b.split(" "), z = {};
|
|
111
|
-
return
|
|
111
|
+
return O.value.forEach((S) => {
|
|
112
112
|
z[S] = "0";
|
|
113
113
|
}), Object.entries(v).forEach(([S, ce]) => {
|
|
114
|
-
const
|
|
115
|
-
|
|
114
|
+
const ee = c[parseInt(S)];
|
|
115
|
+
ee !== void 0 && ee.trim() !== "" && (z[ce] = ee.trim());
|
|
116
116
|
}), z;
|
|
117
117
|
});
|
|
118
|
-
f.length > 0 ? (n.value = f, P.success(`成功导入 ${f.length} 行数据!`),
|
|
118
|
+
f.length > 0 ? (n.value = f, P.success(`成功导入 ${f.length} 行数据!`), T.value = !1, j.value = "", Q()) : P.error("未能解析到有效数据,请检查格式。");
|
|
119
119
|
};
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
H(() => L.xyzbcList, () => {
|
|
121
|
+
L.xyzbcList && (n.value = vl(L.xyzbcList));
|
|
122
122
|
}, {
|
|
123
123
|
immediate: !0
|
|
124
124
|
});
|
|
125
125
|
const V = (s) => `第 ${s + 1} 帧`;
|
|
126
|
-
return
|
|
126
|
+
return ae({
|
|
127
127
|
handlePlayPause: D,
|
|
128
|
-
playAnimation:
|
|
129
|
-
pauseAnimation:
|
|
130
|
-
stopAnimation:
|
|
128
|
+
playAnimation: X,
|
|
129
|
+
pauseAnimation: q,
|
|
130
|
+
stopAnimation: Q
|
|
131
131
|
}), Ze(() => {
|
|
132
132
|
g++;
|
|
133
133
|
}), (s, a) => {
|
|
134
|
-
const v =
|
|
135
|
-
return U(), A("div",
|
|
136
|
-
|
|
134
|
+
const v = K("el-input-number"), _ = K("el-slider"), f = K("el-input"), b = K("el-dialog");
|
|
135
|
+
return U(), A("div", Pl, [
|
|
136
|
+
l("div", Cl, [
|
|
137
137
|
i(pe, {
|
|
138
|
-
onClick: a[0] || (a[0] = (c) =>
|
|
139
|
-
disabled:
|
|
138
|
+
onClick: a[0] || (a[0] = (c) => T.value = !0),
|
|
139
|
+
disabled: O.value.length === 0,
|
|
140
140
|
modelValue: "导入数据"
|
|
141
141
|
}, null, 8, ["disabled"])
|
|
142
142
|
]),
|
|
143
|
-
n.value.length > 0 ? (U(), A("div",
|
|
144
|
-
|
|
145
|
-
a[6] || (a[6] =
|
|
143
|
+
n.value.length > 0 ? (U(), A("div", _l, [
|
|
144
|
+
l("div", wl, [
|
|
145
|
+
a[6] || (a[6] = l("label", null, "帧间隔 (ms):", -1)),
|
|
146
146
|
i(v, {
|
|
147
|
-
modelValue:
|
|
148
|
-
"onUpdate:modelValue": a[1] || (a[1] = (c) =>
|
|
147
|
+
modelValue: I.value,
|
|
148
|
+
"onUpdate:modelValue": a[1] || (a[1] = (c) => I.value = c),
|
|
149
149
|
min: 10,
|
|
150
150
|
max: 5e3,
|
|
151
151
|
step: 100,
|
|
@@ -153,13 +153,13 @@ ${B.value.join(" ")}
|
|
|
153
153
|
style: { width: "120px" }
|
|
154
154
|
}, null, 8, ["modelValue"])
|
|
155
155
|
]),
|
|
156
|
-
|
|
157
|
-
a[7] || (a[7] =
|
|
158
|
-
|
|
156
|
+
l("div", xl, [
|
|
157
|
+
a[7] || (a[7] = l("label", null, "当前帧:", -1)),
|
|
158
|
+
l("span", zl, N(p.value + 1) + " / " + N(n.value.length), 1)
|
|
159
159
|
]),
|
|
160
|
-
|
|
161
|
-
a[8] || (a[8] =
|
|
162
|
-
i(
|
|
160
|
+
l("div", Nl, [
|
|
161
|
+
a[8] || (a[8] = l("label", null, "动画进度:", -1)),
|
|
162
|
+
i(_, {
|
|
163
163
|
modelValue: p.value,
|
|
164
164
|
"onUpdate:modelValue": a[2] || (a[2] = (c) => p.value = c),
|
|
165
165
|
min: 0,
|
|
@@ -171,37 +171,37 @@ ${B.value.join(" ")}
|
|
|
171
171
|
style: { "flex-grow": "1", margin: "0 10px" }
|
|
172
172
|
}, null, 8, ["modelValue", "max", "disabled"])
|
|
173
173
|
]),
|
|
174
|
-
|
|
175
|
-
a[9] || (a[9] =
|
|
176
|
-
|
|
174
|
+
l("div", null, [
|
|
175
|
+
a[9] || (a[9] = l("label", null, "当前帧数据:", -1)),
|
|
176
|
+
l("div", null, [
|
|
177
177
|
E.value ? (U(!0), A(qe, { key: 0 }, Qe(E.value, (c, z) => (U(), A("div", { key: z }, N(z) + ": " + N(c), 1))), 128)) : M("", !0)
|
|
178
178
|
])
|
|
179
179
|
])
|
|
180
180
|
])) : M("", !0),
|
|
181
|
-
n.value.length === 0 ? (U(), A("div",
|
|
182
|
-
|
|
181
|
+
n.value.length === 0 ? (U(), A("div", Ul, a[10] || (a[10] = [
|
|
182
|
+
l("p", null, "请先导入数据", -1)
|
|
183
183
|
]))) : M("", !0),
|
|
184
184
|
i(b, {
|
|
185
|
-
modelValue:
|
|
186
|
-
"onUpdate:modelValue": a[5] || (a[5] = (c) =>
|
|
185
|
+
modelValue: T.value,
|
|
186
|
+
"onUpdate:modelValue": a[5] || (a[5] = (c) => T.value = c),
|
|
187
187
|
title: "导入数据",
|
|
188
188
|
width: "500px"
|
|
189
189
|
}, {
|
|
190
|
-
footer:
|
|
191
|
-
|
|
190
|
+
footer: te(() => [
|
|
191
|
+
l("span", Vl, [
|
|
192
192
|
i(pe, {
|
|
193
193
|
modelValue: "取消",
|
|
194
|
-
onClick: a[4] || (a[4] = (c) =>
|
|
194
|
+
onClick: a[4] || (a[4] = (c) => T.value = !1)
|
|
195
195
|
}),
|
|
196
196
|
i(pe, {
|
|
197
197
|
modelValue: "确认导入",
|
|
198
|
-
onClick:
|
|
198
|
+
onClick: J,
|
|
199
199
|
type: "primary"
|
|
200
200
|
})
|
|
201
201
|
])
|
|
202
202
|
]),
|
|
203
|
-
default:
|
|
204
|
-
a[11] || (a[11] =
|
|
203
|
+
default: te(() => [
|
|
204
|
+
a[11] || (a[11] = l("p", { class: "import-instructions" }, " 请从Excel或CSV中复制数据 (首行为表头, Tab分隔) ", -1)),
|
|
205
205
|
i(f, {
|
|
206
206
|
modelValue: j.value,
|
|
207
207
|
"onUpdate:modelValue": a[3] || (a[3] = (c) => j.value = c),
|
|
@@ -216,24 +216,24 @@ ${B.value.join(" ")}
|
|
|
216
216
|
]);
|
|
217
217
|
};
|
|
218
218
|
}
|
|
219
|
-
}),
|
|
219
|
+
}), _e = /* @__PURE__ */ xe($l, [["__scopeId", "data-v-06bc34b3"]]), Tl = async (W) => await hl(W), jl = { class: "obj-viewer-container" }, Al = { class: "buttonGroup-topLeft" }, Ll = { class: "buttonGroup-left" }, Dl = { class: "buttonGroup-right" }, Sl = { class: "buttonGroup-bottom" }, Rl = { class: "top-panel" }, Ml = { class: "panel-header" }, Fl = { class: "panel-body" }, Ol = { class: "left-panel" }, El = { class: "panel-header" }, Bl = { class: "panel-body" }, Jl = {
|
|
220
220
|
key: 1,
|
|
221
221
|
class: "clipping-content"
|
|
222
|
-
},
|
|
222
|
+
}, Il = { class: "radio-group" }, Xl = { class: "radio-label" }, Gl = { class: "radio-label" }, Hl = { class: "radio-label" }, Kl = { class: "radio-label" }, Wl = { class: "right-panel" }, Yl = { class: "panel-header" }, Zl = { class: "panel-body" }, ql = {
|
|
223
223
|
key: 0,
|
|
224
224
|
class: "loading-overlay"
|
|
225
|
-
},
|
|
225
|
+
}, Ql = {
|
|
226
226
|
key: 1,
|
|
227
227
|
class: "brand"
|
|
228
|
-
},
|
|
228
|
+
}, et = { class: "brand-item" }, lt = { class: "item-value" }, tt = { class: "brand-item" }, at = { class: "item-value" }, nt = { class: "brand-item" }, ot = { class: "item-value" }, st = /* @__PURE__ */ we({
|
|
229
229
|
__name: "threeSceneViewForCPMPIP",
|
|
230
230
|
props: {
|
|
231
231
|
fileBlobs: { default: () => [] },
|
|
232
232
|
threeData: {}
|
|
233
233
|
},
|
|
234
234
|
emits: ["getAnimationData", "getThreeData"],
|
|
235
|
-
setup(
|
|
236
|
-
const
|
|
235
|
+
setup(W, { emit: ae }) {
|
|
236
|
+
const L = ae, n = W, T = ke("setManagementPageTitle"), j = ke("setManagementPageVisible"), d = C(() => {
|
|
237
237
|
var e, o;
|
|
238
238
|
return (o = (e = n == null ? void 0 : n.threeData) == null ? void 0 : e.data) == null ? void 0 : o.machine;
|
|
239
239
|
}), p = C(() => {
|
|
@@ -242,7 +242,7 @@ ${B.value.join(" ")}
|
|
|
242
242
|
}), F = C(() => {
|
|
243
243
|
var e;
|
|
244
244
|
return (e = d == null ? void 0 : d.value) == null ? void 0 : e.编号;
|
|
245
|
-
}),
|
|
245
|
+
}), I = C(() => {
|
|
246
246
|
var e;
|
|
247
247
|
return (e = d == null ? void 0 : d.value) == null ? void 0 : e.厂家;
|
|
248
248
|
}), h = C(() => {
|
|
@@ -251,18 +251,18 @@ ${B.value.join(" ")}
|
|
|
251
251
|
}), g = C(() => {
|
|
252
252
|
var e, o;
|
|
253
253
|
return (o = (e = n == null ? void 0 : n.threeData) == null ? void 0 : e.data) == null ? void 0 : o.knife;
|
|
254
|
-
}),
|
|
255
|
-
!
|
|
256
|
-
},
|
|
257
|
-
await
|
|
258
|
-
const { mainKey: e, baseMenuPath: o } =
|
|
259
|
-
|
|
254
|
+
}), Y = u([]), Z = async (t) => {
|
|
255
|
+
!t || !t.isExtra || (await O(t), T == null || T(t == null ? void 0 : t.pageName), j == null || j(!0));
|
|
256
|
+
}, O = yl(async (t) => {
|
|
257
|
+
await kl();
|
|
258
|
+
const { mainKey: e, baseMenuPath: o } = t || {};
|
|
259
|
+
al(o, e);
|
|
260
260
|
}, 500);
|
|
261
|
-
|
|
261
|
+
H(
|
|
262
262
|
() => [p.value, h.value, g.value],
|
|
263
263
|
() => {
|
|
264
264
|
var y, m, he, ye;
|
|
265
|
-
const
|
|
265
|
+
const t = [], e = {
|
|
266
266
|
pageName: "机床",
|
|
267
267
|
name: "机床",
|
|
268
268
|
label: "机床",
|
|
@@ -318,7 +318,7 @@ ${B.value.join(" ")}
|
|
|
318
318
|
mainKey: g.value,
|
|
319
319
|
label: g.value,
|
|
320
320
|
baseMenuPath: "设备库/刀具"
|
|
321
|
-
}),
|
|
321
|
+
}), t.push(e, o, se), Y.value = t;
|
|
322
322
|
},
|
|
323
323
|
{
|
|
324
324
|
immediate: !0
|
|
@@ -328,21 +328,21 @@ ${B.value.join(" ")}
|
|
|
328
328
|
var e, o;
|
|
329
329
|
return (o = (e = n == null ? void 0 : n.threeData) == null ? void 0 : e.data) == null ? void 0 : o.csvUrl;
|
|
330
330
|
});
|
|
331
|
-
|
|
331
|
+
H(() => E.value, async () => {
|
|
332
332
|
if (console.log("three data", n == null ? void 0 : n.threeData), console.log("csvUrl", E.value), E.value) {
|
|
333
|
-
const
|
|
334
|
-
ne.value =
|
|
333
|
+
const t = await bl(E.value);
|
|
334
|
+
ne.value = t;
|
|
335
335
|
}
|
|
336
336
|
}, {
|
|
337
337
|
immediate: !0
|
|
338
338
|
});
|
|
339
|
-
const
|
|
339
|
+
const B = C(() => {
|
|
340
340
|
var e, o;
|
|
341
341
|
return (o = (e = n == null ? void 0 : n.threeData) == null ? void 0 : e.data) == null ? void 0 : o.bladeObjUrl;
|
|
342
|
-
}), ve = u(Ce.ROBOT),
|
|
342
|
+
}), ve = u(Ce.ROBOT), X = u(null), q = u(!1), Q = u(""), D = u(!1), x = u(""), J = u(!1), V = u(""), s = u(!1), a = u(""), v = ie(null), _ = u("叶片模型"), f = ie(null), b = ie(null), c = ie(null), z = u(_e), {
|
|
343
343
|
currentModels: S,
|
|
344
344
|
resetView: ce,
|
|
345
|
-
initThreeJS:
|
|
345
|
+
initThreeJS: ee,
|
|
346
346
|
handleResize: fe,
|
|
347
347
|
getThreeJSObjects: le,
|
|
348
348
|
cleanup: ze,
|
|
@@ -351,37 +351,37 @@ ${B.value.join(" ")}
|
|
|
351
351
|
toggleAxesVisibility: Ue,
|
|
352
352
|
zoomIn: Ve,
|
|
353
353
|
zoomOut: $e
|
|
354
|
-
} =
|
|
354
|
+
} = ul(X), { loadSceneFromFile: Te } = sl(
|
|
355
355
|
le,
|
|
356
356
|
S,
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
), { isAnimating: be, toggleAnimation:
|
|
357
|
+
q,
|
|
358
|
+
Q
|
|
359
|
+
), { isAnimating: be, toggleAnimation: je, stopAnimation: Ae } = rl(le, S), { isClipping: Le, activeClippingAxis: w, toggleClipping: De, updateClippingPlanes: R } = dl(le, S), { initRaycaster: Se, selectedObject3D: Re, setSelectedObjVisible: Me, updatePosition: Fe, updateRotation: Oe, dispose: Ee } = ol(X, le, S), Be = () => {
|
|
360
360
|
Ue();
|
|
361
|
-
}, Je = C(() => ve.value === Ce.ROBOT), oe = (
|
|
362
|
-
D.value = !0, x.value =
|
|
363
|
-
}, me = (
|
|
364
|
-
|
|
361
|
+
}, Je = C(() => ve.value === Ce.ROBOT), oe = (t) => {
|
|
362
|
+
D.value = !0, x.value = t, t === "剖面视图" && !Le.value && De();
|
|
363
|
+
}, me = (t) => {
|
|
364
|
+
J.value = !0, V.value = t, t === "动画仿真" && L("getAnimationData");
|
|
365
365
|
}, Ie = () => {
|
|
366
|
-
var
|
|
367
|
-
(
|
|
366
|
+
var t;
|
|
367
|
+
(t = z.value) == null || t.handlePlayPause();
|
|
368
368
|
}, Xe = () => {
|
|
369
|
-
var
|
|
370
|
-
(
|
|
369
|
+
var t;
|
|
370
|
+
(t = z.value) == null || t.pauseAnimation();
|
|
371
371
|
}, Ge = () => {
|
|
372
|
-
var
|
|
373
|
-
(
|
|
374
|
-
}, He = (
|
|
375
|
-
const e = He(
|
|
376
|
-
if (b.value = e, console.log("bladeObjUrl",
|
|
377
|
-
const o = await
|
|
372
|
+
var t;
|
|
373
|
+
(t = z.value) == null || t.stopAnimation();
|
|
374
|
+
}, He = (t, e) => gl(t, e), Ke = async (t) => {
|
|
375
|
+
const e = He(t, _.value);
|
|
376
|
+
if (b.value = e, console.log("bladeObjUrl", B.value), e && e.parent && B.value) {
|
|
377
|
+
const o = await Tl(B.value);
|
|
378
378
|
o.name = "blade_clone", e.parent.add(o), o.position.copy(e.position), o.rotation.copy(e.rotation), o.scale.copy(e.scale), e.visible = !1, f.value = o;
|
|
379
379
|
} else
|
|
380
|
-
|
|
380
|
+
_.value && console.warn(`在 Blade '${_.value}' 中未找到可替换的网格或其没有父级。`);
|
|
381
381
|
};
|
|
382
|
-
|
|
383
|
-
if (
|
|
384
|
-
const e =
|
|
382
|
+
H(() => n.fileBlobs, (t) => {
|
|
383
|
+
if (t && t.length > 0) {
|
|
384
|
+
const e = t[0];
|
|
385
385
|
if (!e.name.toLowerCase().endsWith(".urdf"))
|
|
386
386
|
return;
|
|
387
387
|
Te(e).then((o) => {
|
|
@@ -394,36 +394,36 @@ ${B.value.join(" ")}
|
|
|
394
394
|
}, {
|
|
395
395
|
immediate: !0,
|
|
396
396
|
deep: !0
|
|
397
|
-
}),
|
|
398
|
-
ge(
|
|
397
|
+
}), H(v, (t) => {
|
|
398
|
+
ge(t ? [t] : []), Se();
|
|
399
399
|
});
|
|
400
400
|
const We = () => {
|
|
401
|
-
|
|
402
|
-
const
|
|
403
|
-
c.value =
|
|
401
|
+
ee(), window.addEventListener("resize", fe);
|
|
402
|
+
const t = le();
|
|
403
|
+
c.value = t.scene;
|
|
404
404
|
}, Ye = () => {
|
|
405
|
-
x.value = "", V.value = "", window.removeEventListener("resize", fe), be.value &&
|
|
405
|
+
x.value = "", V.value = "", window.removeEventListener("resize", fe), be.value && Ae(), ze(), Ee();
|
|
406
406
|
};
|
|
407
|
-
return
|
|
408
|
-
await
|
|
407
|
+
return el(async () => {
|
|
408
|
+
await ll();
|
|
409
409
|
try {
|
|
410
410
|
We();
|
|
411
|
-
} catch (
|
|
412
|
-
console.error("Three.js 初始化失败:",
|
|
411
|
+
} catch (t) {
|
|
412
|
+
console.error("Three.js 初始化失败:", t), P.error("渲染引擎初始化失败!");
|
|
413
413
|
}
|
|
414
|
-
}),
|
|
414
|
+
}), tl(() => {
|
|
415
415
|
Ye();
|
|
416
|
-
}), (
|
|
417
|
-
const o =
|
|
418
|
-
return U(), A("div",
|
|
419
|
-
$(
|
|
416
|
+
}), (t, e) => {
|
|
417
|
+
const o = K("el-scrollbar"), se = K("PipeAnalysisPanel");
|
|
418
|
+
return U(), A("div", jl, [
|
|
419
|
+
$(l("div", {
|
|
420
420
|
ref_key: "threejsContainer",
|
|
421
|
-
ref:
|
|
421
|
+
ref: X,
|
|
422
422
|
class: "threejs-container"
|
|
423
423
|
}, null, 512), [
|
|
424
|
-
[
|
|
424
|
+
[G, Je.value]
|
|
425
425
|
]),
|
|
426
|
-
|
|
426
|
+
l("div", Al, [
|
|
427
427
|
i(k, {
|
|
428
428
|
name: "viewReset",
|
|
429
429
|
size: "24",
|
|
@@ -445,19 +445,19 @@ ${B.value.join(" ")}
|
|
|
445
445
|
i(k, {
|
|
446
446
|
name: "lookAround",
|
|
447
447
|
size: "24",
|
|
448
|
-
onClick: r(
|
|
448
|
+
onClick: r(je),
|
|
449
449
|
title: r(be) ? "停止动画" : "动画视图"
|
|
450
450
|
}, null, 8, ["onClick", "title"]),
|
|
451
451
|
i(k, {
|
|
452
452
|
name: "zuobiaoxi",
|
|
453
453
|
size: "24",
|
|
454
454
|
active: r(Ne),
|
|
455
|
-
onClick:
|
|
455
|
+
onClick: Be,
|
|
456
456
|
title: "显隐坐标轴"
|
|
457
457
|
}, null, 8, ["active"])
|
|
458
458
|
]),
|
|
459
|
-
|
|
460
|
-
ue(
|
|
459
|
+
l("div", Ll, [
|
|
460
|
+
ue(t.$slots, "button-left", { switchRightPanel: oe }, void 0, !0),
|
|
461
461
|
i(k, {
|
|
462
462
|
name: "jiegoushu",
|
|
463
463
|
size: "24",
|
|
@@ -479,13 +479,13 @@ ${B.value.join(" ")}
|
|
|
479
479
|
active: D.value && x.value === "工件树"
|
|
480
480
|
}, null, 8, ["active"])
|
|
481
481
|
]),
|
|
482
|
-
|
|
483
|
-
ue(
|
|
482
|
+
l("div", Dl, [
|
|
483
|
+
ue(t.$slots, "button-right", { switchRightPanel: me }, void 0, !0),
|
|
484
484
|
i(k, {
|
|
485
485
|
name: "jichuangxuanze",
|
|
486
486
|
size: "24",
|
|
487
487
|
onClick: e[3] || (e[3] = (y) => me("机床控制")),
|
|
488
|
-
active:
|
|
488
|
+
active: J.value && V.value === "机床控制",
|
|
489
489
|
title: "机床控制"
|
|
490
490
|
}, null, 8, ["active"]),
|
|
491
491
|
i(k, {
|
|
@@ -493,10 +493,10 @@ ${B.value.join(" ")}
|
|
|
493
493
|
size: "24",
|
|
494
494
|
title: "动画仿真",
|
|
495
495
|
onClick: e[4] || (e[4] = (y) => me("动画仿真")),
|
|
496
|
-
active:
|
|
496
|
+
active: J.value && V.value === "动画仿真"
|
|
497
497
|
}, null, 8, ["active"])
|
|
498
498
|
]),
|
|
499
|
-
|
|
499
|
+
l("div", Sl, [
|
|
500
500
|
i(k, {
|
|
501
501
|
name: "bofang",
|
|
502
502
|
size: "24",
|
|
@@ -519,106 +519,106 @@ ${B.value.join(" ")}
|
|
|
519
519
|
onClick: Ge
|
|
520
520
|
})
|
|
521
521
|
]),
|
|
522
|
-
$(
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
522
|
+
$(l("div", Rl, [
|
|
523
|
+
l("div", Ml, [
|
|
524
|
+
l("span", null, N(a.value), 1),
|
|
525
|
+
l("span", {
|
|
526
526
|
class: "close",
|
|
527
527
|
onClick: e[5] || (e[5] = (y) => s.value = !1)
|
|
528
528
|
}, " X ")
|
|
529
529
|
]),
|
|
530
|
-
|
|
530
|
+
l("div", Fl, [
|
|
531
531
|
i(o, { height: "100%" }, {
|
|
532
|
-
default:
|
|
533
|
-
ue(
|
|
532
|
+
default: te(() => [
|
|
533
|
+
ue(t.$slots, "top-panel", { topPanelType: a.value }, void 0, !0)
|
|
534
534
|
]),
|
|
535
535
|
_: 3
|
|
536
536
|
})
|
|
537
537
|
])
|
|
538
538
|
], 512), [
|
|
539
|
-
[
|
|
539
|
+
[G, s.value]
|
|
540
540
|
]),
|
|
541
|
-
$(
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
541
|
+
$(l("div", Ol, [
|
|
542
|
+
l("div", El, [
|
|
543
|
+
l("span", null, N(x.value), 1),
|
|
544
|
+
l("span", {
|
|
545
545
|
class: "close",
|
|
546
546
|
onClick: e[6] || (e[6] = (y) => D.value = !1)
|
|
547
547
|
}, " X ")
|
|
548
548
|
]),
|
|
549
|
-
|
|
549
|
+
l("div", Bl, [
|
|
550
550
|
i(o, { height: "100%" }, {
|
|
551
|
-
default:
|
|
551
|
+
default: te(() => {
|
|
552
552
|
var y;
|
|
553
553
|
return [
|
|
554
|
-
x.value === "场景树" ? (U(), Pe(
|
|
554
|
+
x.value === "场景树" ? (U(), Pe(pl, {
|
|
555
555
|
key: 0,
|
|
556
556
|
model: v.value,
|
|
557
|
-
extraNodes:
|
|
558
|
-
onNodeClick:
|
|
557
|
+
extraNodes: Y.value,
|
|
558
|
+
onNodeClick: Z
|
|
559
559
|
}, null, 8, ["model", "extraNodes"])) : M("", !0),
|
|
560
|
-
x.value === "剖面视图" ? (U(), A("div",
|
|
561
|
-
|
|
562
|
-
|
|
563
|
-
$(
|
|
560
|
+
x.value === "剖面视图" ? (U(), A("div", Jl, [
|
|
561
|
+
l("div", Il, [
|
|
562
|
+
l("label", Xl, [
|
|
563
|
+
$(l("input", {
|
|
564
564
|
type: "radio",
|
|
565
565
|
name: "clipping-axis",
|
|
566
566
|
value: "none",
|
|
567
|
-
"onUpdate:modelValue": e[7] || (e[7] = (m) => re(
|
|
567
|
+
"onUpdate:modelValue": e[7] || (e[7] = (m) => re(w) ? w.value = m : null),
|
|
568
568
|
onChange: e[8] || (e[8] = //@ts-ignore
|
|
569
569
|
(...m) => r(R) && r(R)(...m))
|
|
570
570
|
}, null, 544), [
|
|
571
|
-
[de, r(
|
|
571
|
+
[de, r(w)]
|
|
572
572
|
]),
|
|
573
|
-
e[16] || (e[16] =
|
|
573
|
+
e[16] || (e[16] = l("span", { class: "radio-text" }, "无切割", -1))
|
|
574
574
|
]),
|
|
575
|
-
|
|
576
|
-
$(
|
|
575
|
+
l("label", Gl, [
|
|
576
|
+
$(l("input", {
|
|
577
577
|
type: "radio",
|
|
578
578
|
name: "clipping-axis",
|
|
579
579
|
value: "x",
|
|
580
|
-
"onUpdate:modelValue": e[9] || (e[9] = (m) => re(
|
|
580
|
+
"onUpdate:modelValue": e[9] || (e[9] = (m) => re(w) ? w.value = m : null),
|
|
581
581
|
onChange: e[10] || (e[10] = //@ts-ignore
|
|
582
582
|
(...m) => r(R) && r(R)(...m))
|
|
583
583
|
}, null, 544), [
|
|
584
|
-
[de, r(
|
|
584
|
+
[de, r(w)]
|
|
585
585
|
]),
|
|
586
|
-
e[17] || (e[17] =
|
|
586
|
+
e[17] || (e[17] = l("span", { class: "radio-text" }, "X轴切割", -1))
|
|
587
587
|
]),
|
|
588
|
-
|
|
589
|
-
$(
|
|
588
|
+
l("label", Hl, [
|
|
589
|
+
$(l("input", {
|
|
590
590
|
type: "radio",
|
|
591
591
|
name: "clipping-axis",
|
|
592
592
|
value: "y",
|
|
593
|
-
"onUpdate:modelValue": e[11] || (e[11] = (m) => re(
|
|
593
|
+
"onUpdate:modelValue": e[11] || (e[11] = (m) => re(w) ? w.value = m : null),
|
|
594
594
|
onChange: e[12] || (e[12] = //@ts-ignore
|
|
595
595
|
(...m) => r(R) && r(R)(...m))
|
|
596
596
|
}, null, 544), [
|
|
597
|
-
[de, r(
|
|
597
|
+
[de, r(w)]
|
|
598
598
|
]),
|
|
599
|
-
e[18] || (e[18] =
|
|
599
|
+
e[18] || (e[18] = l("span", { class: "radio-text" }, "Y轴切割", -1))
|
|
600
600
|
]),
|
|
601
|
-
|
|
602
|
-
$(
|
|
601
|
+
l("label", Kl, [
|
|
602
|
+
$(l("input", {
|
|
603
603
|
type: "radio",
|
|
604
604
|
name: "clipping-axis",
|
|
605
605
|
value: "z",
|
|
606
|
-
"onUpdate:modelValue": e[13] || (e[13] = (m) => re(
|
|
606
|
+
"onUpdate:modelValue": e[13] || (e[13] = (m) => re(w) ? w.value = m : null),
|
|
607
607
|
onChange: e[14] || (e[14] = //@ts-ignore
|
|
608
608
|
(...m) => r(R) && r(R)(...m))
|
|
609
609
|
}, null, 544), [
|
|
610
|
-
[de, r(
|
|
610
|
+
[de, r(w)]
|
|
611
611
|
]),
|
|
612
|
-
e[19] || (e[19] =
|
|
612
|
+
e[19] || (e[19] = l("span", { class: "radio-text" }, "Z轴切割", -1))
|
|
613
613
|
])
|
|
614
614
|
])
|
|
615
615
|
])) : M("", !0),
|
|
616
|
-
x.value === "工件树" ? (U(), Pe(
|
|
616
|
+
x.value === "工件树" ? (U(), Pe(il, {
|
|
617
617
|
key: 2,
|
|
618
618
|
model: (y = r(Re)) == null ? void 0 : y.obj,
|
|
619
619
|
onVisibleChange: r(Me),
|
|
620
|
-
onUpdatePosition: r(
|
|
621
|
-
onUpdateRotation: r(
|
|
620
|
+
onUpdatePosition: r(Fe),
|
|
621
|
+
onUpdateRotation: r(Oe)
|
|
622
622
|
}, null, 8, ["model", "onVisibleChange", "onUpdatePosition", "onUpdateRotation"])) : M("", !0)
|
|
623
623
|
];
|
|
624
624
|
}),
|
|
@@ -626,62 +626,62 @@ ${B.value.join(" ")}
|
|
|
626
626
|
})
|
|
627
627
|
])
|
|
628
628
|
], 512), [
|
|
629
|
-
[
|
|
629
|
+
[G, D.value]
|
|
630
630
|
]),
|
|
631
|
-
$(
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
631
|
+
$(l("div", Wl, [
|
|
632
|
+
l("div", Yl, [
|
|
633
|
+
l("span", null, N(V.value), 1),
|
|
634
|
+
l("span", {
|
|
635
635
|
class: "close",
|
|
636
|
-
onClick: e[15] || (e[15] = (y) =>
|
|
636
|
+
onClick: e[15] || (e[15] = (y) => J.value = !1)
|
|
637
637
|
}, " X ")
|
|
638
638
|
]),
|
|
639
|
-
|
|
639
|
+
l("div", Zl, [
|
|
640
640
|
i(o, { height: "100%" }, {
|
|
641
|
-
default:
|
|
642
|
-
$(i(
|
|
643
|
-
[
|
|
641
|
+
default: te(() => [
|
|
642
|
+
$(i(fl, { model: v.value }, null, 8, ["model"]), [
|
|
643
|
+
[G, V.value === "机床控制"]
|
|
644
644
|
]),
|
|
645
|
-
$(i(
|
|
645
|
+
$(i(_e, {
|
|
646
646
|
model: v.value,
|
|
647
647
|
scene: c.value,
|
|
648
648
|
xyzbcList: ne.value,
|
|
649
649
|
ref_key: "urdfAnimationPanelRef",
|
|
650
650
|
ref: z
|
|
651
651
|
}, null, 8, ["model", "scene", "xyzbcList"]), [
|
|
652
|
-
[
|
|
652
|
+
[G, V.value === "动画仿真"]
|
|
653
653
|
]),
|
|
654
|
-
ue(
|
|
654
|
+
ue(t.$slots, "right-panel", { rightPanelType: V.value }, void 0, !0)
|
|
655
655
|
]),
|
|
656
656
|
_: 3
|
|
657
657
|
})
|
|
658
658
|
])
|
|
659
659
|
], 512), [
|
|
660
|
-
[
|
|
660
|
+
[G, J.value]
|
|
661
661
|
]),
|
|
662
|
-
|
|
663
|
-
e[20] || (e[20] =
|
|
664
|
-
|
|
662
|
+
q.value ? (U(), A("div", ql, [
|
|
663
|
+
e[20] || (e[20] = l("div", { class: "loading-spinner" }, null, -1)),
|
|
664
|
+
l("p", null, N(Q.value), 1)
|
|
665
665
|
])) : M("", !0),
|
|
666
|
-
p.value ? (U(), A("div",
|
|
667
|
-
|
|
668
|
-
e[21] || (e[21] =
|
|
669
|
-
|
|
666
|
+
p.value ? (U(), A("div", Ql, [
|
|
667
|
+
l("div", et, [
|
|
668
|
+
e[21] || (e[21] = l("div", { class: "item-label" }, "厂家:", -1)),
|
|
669
|
+
l("div", lt, N(I.value), 1)
|
|
670
670
|
]),
|
|
671
|
-
|
|
672
|
-
e[22] || (e[22] =
|
|
673
|
-
|
|
671
|
+
l("div", tt, [
|
|
672
|
+
e[22] || (e[22] = l("div", { class: "item-label" }, "型号:", -1)),
|
|
673
|
+
l("div", at, N(p.value), 1)
|
|
674
674
|
]),
|
|
675
|
-
|
|
676
|
-
e[23] || (e[23] =
|
|
677
|
-
|
|
675
|
+
l("div", nt, [
|
|
676
|
+
e[23] || (e[23] = l("div", { class: "item-label" }, "编号:", -1)),
|
|
677
|
+
l("div", ot, N(F.value), 1)
|
|
678
678
|
])
|
|
679
679
|
])) : M("", !0),
|
|
680
680
|
i(se, { ref: "pipeAnalysisPanelRef" }, null, 512)
|
|
681
681
|
]);
|
|
682
682
|
};
|
|
683
683
|
}
|
|
684
|
-
}),
|
|
684
|
+
}), kt = /* @__PURE__ */ xe(st, [["__scopeId", "data-v-8cfdaf24"]]);
|
|
685
685
|
export {
|
|
686
|
-
|
|
686
|
+
kt as default
|
|
687
687
|
};
|