ss-component-new 1.2.91 → 1.2.92
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-BFJXexXd.js → MTLLoader-B5xRp-vz.js} +1 -1
- package/dist/{MTLLoader-B7nny5Fq.cjs → MTLLoader-D80GV1WB.cjs} +1 -1
- package/dist/{OrbitControls-xaR75UGu.cjs → OrbitControls-CqIpswqa.cjs} +1 -1
- package/dist/{OrbitControls-C9jawbH9.js → OrbitControls-Dh9PyFO4.js} +1 -1
- package/dist/{animationData-CBP3-eEz.cjs → animationData-BtND2VWy.cjs} +1 -1
- package/dist/{animationData-CgRkXv4t.js → animationData-DZ0i7k1j.js} +1 -1
- package/dist/{iconfont-CP5tSbKZ.cjs → iconfont-0T5xTLj8.cjs} +1 -1
- package/dist/{iconfont-CjxxsF1M.js → iconfont-DN8mra_i.js} +2 -2
- package/dist/{index-DFI9yzK6.js → index-1gXFTnuu.js} +13 -13
- package/dist/{index-DqVT7oIp.cjs → index-BGvxk4QX.cjs} +1 -1
- package/dist/{index-CETcLmm9.js → index-BKaTMDZC.js} +3 -3
- package/dist/{index-vOASo2vq.cjs → index-BUYZ6Pzj.cjs} +1 -1
- package/dist/{index-BtAr_AHh.cjs → index-BYoEVm0h.cjs} +1 -1
- package/dist/{index-Dp0Qfw7S.cjs → index-B_KvjL9P.cjs} +1 -1
- package/dist/{index-BlCQ16SZ.cjs → index-BdwtuRne.cjs} +1 -1
- package/dist/{index-BekTYc0y.cjs → index-BeEVAZ15.cjs} +1 -1
- package/dist/{index-BQ2epFRD.js → index-BjFqn1jw.js} +1 -1
- package/dist/{index-DYPr6Y5L.cjs → index-BooqzjWY.cjs} +1 -1
- package/dist/{index-DUVWJUDm.cjs → index-BprBzYZ5.cjs} +1 -1
- package/dist/{index-Bb1-JDSj.js → index-BtKhX2oM.js} +2 -2
- package/dist/{index-C3T-KdRt.js → index-BvxyAOvM.js} +1 -1
- package/dist/{index-BAhJFVq5.js → index-C07slqLJ.js} +2 -2
- package/dist/{index-1K0-Lril.js → index-C1aAW06_.js} +3 -3
- package/dist/{index-DvGuZe_T.js → index-C7HjGMoA.js} +3 -3
- package/dist/{index-BMP_6QMQ.js → index-CQ7UrLDv.js} +4 -4
- package/dist/{index-C8yBntW8.cjs → index-CRe-_A5B.cjs} +1 -1
- package/dist/{index-BEvmMS0i.js → index-CZLI4UKD.js} +1 -1
- package/dist/{index-Vsjvei0H.js → index-CZsCZbCY.js} +2 -2
- package/dist/{index-BXnPM7aS.cjs → index-C_DIwBxS.cjs} +1 -1
- package/dist/{index-Dp6H2nKE.js → index-CewrcECw.js} +1 -1
- package/dist/{index-B_PGXhqu.js → index-CfHIgB5C.js} +1 -1
- package/dist/{index-D9EZRG95.js → index-CiNYm1fC.js} +1 -1
- package/dist/{index-aQEd-0P6.cjs → index-CpYf3edW.cjs} +1 -1
- package/dist/{index-BuBu-8ML.cjs → index-CtOo2IDL.cjs} +1 -1
- package/dist/{index-DG16Kf33.cjs → index-CuchbMC7.cjs} +1 -1
- package/dist/{index-B2gEqMwz.cjs → index-CylLhQJV.cjs} +1 -1
- package/dist/{index-Ebo1c622.js → index-DJ14vVkb.js} +1 -1
- package/dist/{index-8zvR_tOe.js → index-DQTbLJJt.js} +1 -1
- package/dist/{index-CUEf5Kz5.cjs → index-DSmsp4fK.cjs} +1 -1
- package/dist/{index-7slO1Rxz.cjs → index-DVMvlM3X.cjs} +1 -1
- package/dist/{index-aSIQAW_v.cjs → index-DW_lU8F7.cjs} +1 -1
- package/dist/{index-dDyNP3sZ.js → index-DwsI_FxR.js} +6 -6
- package/dist/{index-5IXozXfb.cjs → index-NMPHjxEr.cjs} +1 -1
- package/dist/{index-q5RVI5cd.js → index-Q33CutvH.js} +3 -3
- package/dist/{index-4C4_axeD.js → index-YxS-TBi2.js} +1 -1
- package/dist/{index-7Birt--o.cjs → index-Z2dyIgOs.cjs} +1 -1
- package/dist/{index-C-L7sbsd.js → index-a_TWt7Sj.js} +6 -6
- package/dist/{index-ihwK0f5N.cjs → index-bz_QKqhV.cjs} +1 -1
- package/dist/{index-B8bmwRCI.js → index-fbsH9PEh.js} +1 -1
- package/dist/{index-CP7aP3gS.cjs → index-m_VPPkQD.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-DecIEtG7.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CjVqxeCk.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-CFsZEbkA.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-qrHH3IDA.js} +6 -6
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DKwIZnH1.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DEgtwZwW.js} +1642 -1647
- package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cwx8FIbY.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-QzgaFA5S.cjs} +58 -58
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BX54cUHO.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-9r-1e4S8.cjs} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-B10uDdFf.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-IuoTm-WE.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_1_lang-B-okL2FZ.js → index.vue_vue_type_style_index_1_lang-CDl_PU-6.js} +3 -3
- package/dist/{index.vue_vue_type_style_index_1_lang-CTa9TwBd.cjs → index.vue_vue_type_style_index_1_lang-DR71_XjN.cjs} +1 -1
- package/dist/{main-Cwa67iI0.cjs → main-BxTLrfxf.cjs} +1 -1
- package/dist/{main-t0azuc9l.js → main-D_3GSDl9.js} +2 -2
- 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-Byx2BFHA.js → threeModel-BKLggDE-.js} +4 -4
- package/dist/{threeModel-BsTUf7j3.cjs → threeModel-D4-2rEpM.cjs} +1 -1
- package/dist/{threePreview-DGcEWlwZ.cjs → threePreview-QIurmOdU.cjs} +1 -1
- package/dist/{threePreview-B9a62AVY.js → threePreview-oszvdj-G.js} +578 -579
- package/dist/threeSceneView-BR1l9yTW.js +1341 -0
- package/dist/threeSceneView-CaHI2V82.cjs +5 -0
- package/dist/threeSceneViewForCPMPIP-DbvRq5YC.cjs +5 -0
- package/dist/{threeSceneViewForCPMPIP-BslGbi80.js → threeSceneViewForCPMPIP-wZTvUhLm.js} +232 -238
- package/dist/{threeTrackPathView-CNiRDEIa.js → threeTrackPathView-CAK5om32.js} +258 -305
- package/dist/{threeTrackPathView-C5outYjx.cjs → threeTrackPathView-CF9ierHN.cjs} +2 -2
- package/dist/{threeViewerHost-C2iVAVlI.js → threeViewerHost-CeTJmyoE.js} +2 -2
- package/dist/{threeViewerHost-D3ZmD_As.cjs → threeViewerHost-iajMfGA9.cjs} +2 -2
- package/dist/{urdfTree-DEo6cc0y.cjs → urdfTree-CWwnorES.cjs} +1 -1
- package/dist/{urdfTree-D_oX4idQ.js → urdfTree-DIyCunQo.js} +1 -1
- package/dist/{workpieceTreePanel--92uvFwB.js → workpieceTreePanel-DC0GHh3g.js} +5 -5
- package/dist/{workpieceTreePanel-C0Lq3HIU.cjs → workpieceTreePanel-YfDCHyA3.cjs} +1 -1
- package/package.json +1 -1
- package/dist/obj/model.mtl +0 -42
- package/dist/obj/model.obj +0 -26110
- package/dist/threeSceneView-BYc0Z0CJ.cjs +0 -5
- package/dist/threeSceneView-C59wI_1_.js +0 -1369
- package/dist/threeSceneViewForCPMPIP-kGIus7ge.cjs +0 -5
- package/public/obj/model.mtl +0 -42
- package/public/obj/model.obj +0 -26110
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import { defineComponent as _e, ref as u, computed as w, watch 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 _e, ref as u, computed as w, watch as K, onUnmounted as We, resolveComponent as W, createElementBlock as A, openBlock as z, createElementVNode as t, createCommentVNode as M, createVNode as i, toDisplayString as U, Fragment as Ye, renderList as Ze, withCtx as ae, inject as ke, shallowRef as ie, onMounted as qe, nextTick as Qe, onBeforeUnmount as et, withDirectives as $, vShow as H, unref as v, renderSlot as ue, createBlock as Pe, isRef as re, vModelRadio as de } from "vue";
|
|
2
|
+
import { aw as tt } from "./index.vue_vue_type_style_index_1_lang-kYz8t0xw.js";
|
|
3
|
+
import { U as lt, s as we, u as at, a as nt, W as ot } from "./workpieceTreePanel-DC0GHh3g.js";
|
|
4
|
+
import { u as st, a as it, b as ut } from "./iconfont-DN8mra_i.js";
|
|
5
|
+
import { c as rt, E as P } from "./index-BUYYl2Pc.js";
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DEgtwZwW.js";
|
|
7
7
|
import { _ as me } from "./index-DkEISMpK.js";
|
|
8
|
-
import { g as
|
|
8
|
+
import { g as dt, b as vt, U as ct, J as pt, d as mt } from "./urdfTree-DIyCunQo.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 { O as gt } from "./MTLLoader-
|
|
13
|
-
import { L as
|
|
14
|
-
const
|
|
11
|
+
import { i as ft } from "./animationData-DZ0i7k1j.js";
|
|
12
|
+
import { O as gt } from "./MTLLoader-B5xRp-vz.js";
|
|
13
|
+
import { L as bt, j as ht } from "./index-a_TWt7Sj.js";
|
|
14
|
+
const yt = { class: "panel-content" }, kt = { class: "action-bar" }, Pt = {
|
|
15
15
|
key: 0,
|
|
16
16
|
class: "animation-controls"
|
|
17
|
-
},
|
|
17
|
+
}, wt = { class: "control-row" }, Ct = { class: "control-row" }, _t = { class: "frame-info" }, xt = { class: "control-row" }, Nt = {
|
|
18
18
|
key: 1,
|
|
19
19
|
class: "empty-state"
|
|
20
20
|
}, Ut = { class: "dialog-footer" }, zt = /* @__PURE__ */ _e({
|
|
@@ -24,15 +24,15 @@ const kt = { class: "panel-content" }, Pt = { class: "action-bar" }, wt = {
|
|
|
24
24
|
scene: {},
|
|
25
25
|
xyzbcList: {}
|
|
26
26
|
},
|
|
27
|
-
setup(O, { expose:
|
|
28
|
-
const
|
|
29
|
-
let
|
|
30
|
-
const
|
|
27
|
+
setup(O, { expose: Y }) {
|
|
28
|
+
const T = O, n = u([]), L = u(!1), j = u(""), r = u("stopped"), m = u(0), F = u(0), X = u(10), h = u(null);
|
|
29
|
+
let g = 0;
|
|
30
|
+
const Z = u([]), q = w(() => T.model ? dt(T.model).map((d) => d.name) : []), B = w(() => [...q.value]), ne = w(() => B.value.length > 0 ? `请按以下格式粘贴数据 (第一行为表头,使用 Tab 分隔):
|
|
31
31
|
${B.value.join(" ")}
|
|
32
32
|
0 0 0 ...
|
|
33
33
|
1 2 3 ...` : "请先加载模型。"), E = w(() => n.value[m.value] || {});
|
|
34
|
-
|
|
35
|
-
s ? (h.value = new
|
|
34
|
+
K(() => T.model, (s) => {
|
|
35
|
+
s ? (h.value = new lt(s), Z.value = vt(s), m.value = 0) : (h.value = null, Z.value = []);
|
|
36
36
|
}, { immediate: !0 });
|
|
37
37
|
const J = (s) => {
|
|
38
38
|
if (s < 0 || s >= n.value.length) {
|
|
@@ -42,7 +42,7 @@ ${B.value.join(" ")}
|
|
|
42
42
|
const a = n.value[s];
|
|
43
43
|
if (h.value) {
|
|
44
44
|
const d = {};
|
|
45
|
-
|
|
45
|
+
q.value.forEach((C) => {
|
|
46
46
|
const f = parseFloat(a[C]);
|
|
47
47
|
isNaN(f) || (d[C] = f);
|
|
48
48
|
}), h.value.setJointAngles(d);
|
|
@@ -51,101 +51,101 @@ ${B.value.join(" ")}
|
|
|
51
51
|
}, ve = async (s) => {
|
|
52
52
|
try {
|
|
53
53
|
for (let a = m.value; a < n.value.length; a++) {
|
|
54
|
-
if (s !==
|
|
54
|
+
if (s !== g) return;
|
|
55
55
|
const d = n.value[a], C = {};
|
|
56
56
|
if (h.value)
|
|
57
|
-
|
|
58
|
-
const
|
|
59
|
-
isNaN(
|
|
57
|
+
q.value.forEach((f) => {
|
|
58
|
+
const b = parseFloat(d[f]);
|
|
59
|
+
isNaN(b) || (C[f] = b);
|
|
60
60
|
}), await h.value.animateToState(
|
|
61
61
|
C,
|
|
62
|
-
|
|
62
|
+
X.value,
|
|
63
63
|
(f) => {
|
|
64
|
-
s ===
|
|
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, X.value)), s !== g) return;
|
|
69
69
|
F.value = (a + 1) / n.value.length * 100;
|
|
70
70
|
}
|
|
71
71
|
m.value = a;
|
|
72
72
|
}
|
|
73
|
-
s ===
|
|
73
|
+
s === g && (P.success("动画播放完成"), r.value = "stopped", F.value = 100);
|
|
74
74
|
} catch (a) {
|
|
75
75
|
console.error("动画播放出错:", a), P.error("动画播放出错"), r.value = "stopped";
|
|
76
76
|
}
|
|
77
|
-
},
|
|
77
|
+
}, G = () => {
|
|
78
78
|
if (n.value.length === 0) {
|
|
79
79
|
P.error("无动画数据");
|
|
80
80
|
return;
|
|
81
81
|
}
|
|
82
|
-
r.value === "stopped" && (m.value = 0, J(0)), r.value = "playing",
|
|
82
|
+
r.value === "stopped" && (m.value = 0, J(0)), r.value = "playing", g++, ve(g), P.info("动画播放中");
|
|
83
|
+
}, Q = () => {
|
|
84
|
+
r.value === "playing" && (g++, r.value = "paused", P.info("动画已暂停"));
|
|
83
85
|
}, ee = () => {
|
|
84
|
-
r.value
|
|
85
|
-
}, te = () => {
|
|
86
|
-
b++, r.value = "stopped", m.value = 0, F.value = 0, J(0), P.info("动画已停止并重置");
|
|
86
|
+
g++, r.value = "stopped", m.value = 0, F.value = 0, J(0), P.info("动画已停止并重置");
|
|
87
87
|
}, D = () => {
|
|
88
|
-
r.value === "playing" ?
|
|
88
|
+
r.value === "playing" ? Q() : G();
|
|
89
89
|
}, x = (s) => {
|
|
90
|
-
|
|
90
|
+
g++, r.value = "paused", J(s);
|
|
91
91
|
}, I = () => {
|
|
92
92
|
if (!j.value.trim()) {
|
|
93
93
|
P.warning("导入内容不能为空");
|
|
94
94
|
return;
|
|
95
95
|
}
|
|
96
96
|
const s = j.value.trim().split(`
|
|
97
|
-
`).filter((
|
|
97
|
+
`).filter((b) => b.trim() !== "");
|
|
98
98
|
if (s.length < 2) {
|
|
99
99
|
P.error("导入数据至少需要包含表头行和一行数据");
|
|
100
100
|
return;
|
|
101
101
|
}
|
|
102
|
-
const a = s[0].split(" ").map((
|
|
103
|
-
if (a.forEach((
|
|
104
|
-
B.value.includes(
|
|
102
|
+
const a = s[0].split(" ").map((b) => b.trim()), d = {};
|
|
103
|
+
if (a.forEach((b, c) => {
|
|
104
|
+
B.value.includes(b) && (d[c] = b);
|
|
105
105
|
}), Object.keys(d).length === 0) {
|
|
106
106
|
P.error("没有找到匹配的表头,请检查表头名称是否正确");
|
|
107
107
|
return;
|
|
108
108
|
}
|
|
109
|
-
const f = s.slice(1).map((
|
|
110
|
-
const c =
|
|
109
|
+
const f = s.slice(1).map((b) => {
|
|
110
|
+
const c = b.split(" "), N = {};
|
|
111
111
|
return B.value.forEach((S) => {
|
|
112
112
|
N[S] = "0";
|
|
113
113
|
}), Object.entries(d).forEach(([S, ce]) => {
|
|
114
|
-
const
|
|
115
|
-
|
|
114
|
+
const te = c[parseInt(S)];
|
|
115
|
+
te !== void 0 && te.trim() !== "" && (N[ce] = te.trim());
|
|
116
116
|
}), N;
|
|
117
117
|
});
|
|
118
|
-
f.length > 0 ? (n.value = f, P.success(`成功导入 ${f.length} 行数据!`), L.value = !1, j.value = "",
|
|
118
|
+
f.length > 0 ? (n.value = f, P.success(`成功导入 ${f.length} 行数据!`), L.value = !1, j.value = "", ee()) : P.error("未能解析到有效数据,请检查格式。");
|
|
119
119
|
};
|
|
120
|
-
|
|
121
|
-
|
|
120
|
+
K(() => T.xyzbcList, () => {
|
|
121
|
+
T.xyzbcList && (n.value = rt(T.xyzbcList));
|
|
122
122
|
}, {
|
|
123
123
|
immediate: !0
|
|
124
124
|
});
|
|
125
|
-
const
|
|
126
|
-
return
|
|
125
|
+
const V = (s) => `第 ${s + 1} 帧`;
|
|
126
|
+
return Y({
|
|
127
127
|
handlePlayPause: D,
|
|
128
|
-
playAnimation:
|
|
129
|
-
pauseAnimation:
|
|
130
|
-
stopAnimation:
|
|
131
|
-
}),
|
|
132
|
-
|
|
128
|
+
playAnimation: G,
|
|
129
|
+
pauseAnimation: Q,
|
|
130
|
+
stopAnimation: ee
|
|
131
|
+
}), We(() => {
|
|
132
|
+
g++;
|
|
133
133
|
}), (s, a) => {
|
|
134
|
-
const d =
|
|
135
|
-
return
|
|
136
|
-
|
|
134
|
+
const d = W("el-input-number"), C = W("el-slider"), f = W("el-input"), b = W("el-dialog");
|
|
135
|
+
return z(), A("div", yt, [
|
|
136
|
+
t("div", kt, [
|
|
137
137
|
i(me, {
|
|
138
138
|
onClick: a[0] || (a[0] = (c) => L.value = !0),
|
|
139
139
|
disabled: B.value.length === 0,
|
|
140
140
|
modelValue: "导入数据"
|
|
141
141
|
}, null, 8, ["disabled"])
|
|
142
142
|
]),
|
|
143
|
-
n.value.length > 0 ? (
|
|
144
|
-
|
|
145
|
-
a[6] || (a[6] =
|
|
143
|
+
n.value.length > 0 ? (z(), A("div", Pt, [
|
|
144
|
+
t("div", wt, [
|
|
145
|
+
a[6] || (a[6] = t("label", null, "帧间隔 (ms):", -1)),
|
|
146
146
|
i(d, {
|
|
147
|
-
modelValue:
|
|
148
|
-
"onUpdate:modelValue": a[1] || (a[1] = (c) =>
|
|
147
|
+
modelValue: X.value,
|
|
148
|
+
"onUpdate:modelValue": a[1] || (a[1] = (c) => X.value = c),
|
|
149
149
|
min: 10,
|
|
150
150
|
max: 5e3,
|
|
151
151
|
step: 100,
|
|
@@ -153,42 +153,42 @@ ${B.value.join(" ")}
|
|
|
153
153
|
style: { width: "120px" }
|
|
154
154
|
}, null, 8, ["modelValue"])
|
|
155
155
|
]),
|
|
156
|
-
|
|
157
|
-
a[7] || (a[7] =
|
|
158
|
-
|
|
156
|
+
t("div", Ct, [
|
|
157
|
+
a[7] || (a[7] = t("label", null, "当前帧:", -1)),
|
|
158
|
+
t("span", _t, U(m.value + 1) + " / " + U(n.value.length), 1)
|
|
159
159
|
]),
|
|
160
|
-
|
|
161
|
-
a[8] || (a[8] =
|
|
160
|
+
t("div", xt, [
|
|
161
|
+
a[8] || (a[8] = t("label", null, "动画进度:", -1)),
|
|
162
162
|
i(C, {
|
|
163
163
|
modelValue: m.value,
|
|
164
164
|
"onUpdate:modelValue": a[2] || (a[2] = (c) => m.value = c),
|
|
165
165
|
min: 0,
|
|
166
166
|
max: n.value.length > 0 ? n.value.length - 1 : 0,
|
|
167
167
|
step: 1,
|
|
168
|
-
"format-tooltip":
|
|
168
|
+
"format-tooltip": V,
|
|
169
169
|
onInput: x,
|
|
170
170
|
disabled: n.value.length === 0 || r.value === "playing",
|
|
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
|
-
|
|
177
|
-
E.value ? (
|
|
174
|
+
t("div", null, [
|
|
175
|
+
a[9] || (a[9] = t("label", null, "当前帧数据:", -1)),
|
|
176
|
+
t("div", null, [
|
|
177
|
+
E.value ? (z(!0), A(Ye, { key: 0 }, Ze(E.value, (c, N) => (z(), A("div", { key: N }, U(N) + ": " + U(c), 1))), 128)) : M("", !0)
|
|
178
178
|
])
|
|
179
179
|
])
|
|
180
180
|
])) : M("", !0),
|
|
181
|
-
n.value.length === 0 ? (
|
|
182
|
-
|
|
181
|
+
n.value.length === 0 ? (z(), A("div", Nt, a[10] || (a[10] = [
|
|
182
|
+
t("p", null, "请先导入数据", -1)
|
|
183
183
|
]))) : M("", !0),
|
|
184
|
-
i(
|
|
184
|
+
i(b, {
|
|
185
185
|
modelValue: L.value,
|
|
186
186
|
"onUpdate:modelValue": a[5] || (a[5] = (c) => L.value = c),
|
|
187
187
|
title: "导入数据",
|
|
188
188
|
width: "500px"
|
|
189
189
|
}, {
|
|
190
|
-
footer:
|
|
191
|
-
|
|
190
|
+
footer: ae(() => [
|
|
191
|
+
t("span", Ut, [
|
|
192
192
|
i(me, {
|
|
193
193
|
modelValue: "取消",
|
|
194
194
|
onClick: a[4] || (a[4] = (c) => L.value = !1)
|
|
@@ -200,14 +200,14 @@ ${B.value.join(" ")}
|
|
|
200
200
|
})
|
|
201
201
|
])
|
|
202
202
|
]),
|
|
203
|
-
default:
|
|
204
|
-
a[11] || (a[11] =
|
|
203
|
+
default: ae(() => [
|
|
204
|
+
a[11] || (a[11] = t("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),
|
|
208
208
|
type: "textarea",
|
|
209
209
|
rows: 10,
|
|
210
|
-
placeholder:
|
|
210
|
+
placeholder: ne.value
|
|
211
211
|
}, null, 8, ["modelValue", "placeholder"])
|
|
212
212
|
]),
|
|
213
213
|
_: 1,
|
|
@@ -216,24 +216,24 @@ ${B.value.join(" ")}
|
|
|
216
216
|
]);
|
|
217
217
|
};
|
|
218
218
|
}
|
|
219
|
-
}), Ce = /* @__PURE__ */ xe(zt, [["__scopeId", "data-v-06bc34b3"]]),
|
|
219
|
+
}), Ce = /* @__PURE__ */ xe(zt, [["__scopeId", "data-v-06bc34b3"]]), Vt = async (O) => await new gt().loadAsync(O), $t = async (O) => await Vt(O), Tt = { class: "obj-viewer-container" }, Lt = { class: "buttonGroup-topLeft" }, jt = { class: "buttonGroup-left" }, At = { class: "buttonGroup-right" }, Dt = { class: "buttonGroup-bottom" }, St = { class: "top-panel" }, Rt = { class: "panel-header" }, Mt = { class: "panel-body" }, Ot = { class: "left-panel" }, Ft = { class: "panel-header" }, Bt = { class: "panel-body" }, Et = {
|
|
220
220
|
key: 1,
|
|
221
221
|
class: "clipping-content"
|
|
222
|
-
},
|
|
222
|
+
}, Jt = { class: "radio-group" }, It = { class: "radio-label" }, Xt = { class: "radio-label" }, Gt = { class: "radio-label" }, Ht = { class: "radio-label" }, Kt = { class: "right-panel" }, Wt = { class: "panel-header" }, Yt = { class: "panel-body" }, Zt = {
|
|
223
223
|
key: 0,
|
|
224
224
|
class: "loading-overlay"
|
|
225
|
-
},
|
|
225
|
+
}, qt = {
|
|
226
226
|
key: 1,
|
|
227
227
|
class: "brand"
|
|
228
|
-
},
|
|
228
|
+
}, Qt = { class: "brand-item" }, el = { class: "item-value" }, tl = { class: "brand-item" }, ll = { class: "item-value" }, al = { class: "brand-item" }, nl = { class: "item-value" }, ol = /* @__PURE__ */ _e({
|
|
229
229
|
__name: "threeSceneViewForCPMPIP",
|
|
230
230
|
props: {
|
|
231
231
|
fileBlobs: { default: () => [] },
|
|
232
232
|
threeData: {}
|
|
233
233
|
},
|
|
234
234
|
emits: ["getAnimationData", "getThreeData"],
|
|
235
|
-
setup(O, { emit:
|
|
236
|
-
const
|
|
235
|
+
setup(O, { emit: Y }) {
|
|
236
|
+
const T = Y, n = O, L = ke("setManagementPageTitle"), j = ke("setManagementPageVisible"), r = w(() => {
|
|
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
|
}), m = w(() => {
|
|
@@ -242,27 +242,27 @@ ${B.value.join(" ")}
|
|
|
242
242
|
}), F = w(() => {
|
|
243
243
|
var e;
|
|
244
244
|
return (e = r == null ? void 0 : r.value) == null ? void 0 : e.编号;
|
|
245
|
-
}),
|
|
245
|
+
}), X = w(() => {
|
|
246
246
|
var e;
|
|
247
247
|
return (e = r == null ? void 0 : r.value) == null ? void 0 : e.厂家;
|
|
248
248
|
}), h = w(() => {
|
|
249
249
|
var e, o;
|
|
250
250
|
return (o = (e = n == null ? void 0 : n.threeData) == null ? void 0 : e.data) == null ? void 0 : o.workpieceInfo;
|
|
251
|
-
}),
|
|
251
|
+
}), g = w(() => {
|
|
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
|
-
}, B =
|
|
257
|
-
await
|
|
258
|
-
const { mainKey: e, baseMenuPath: o } =
|
|
259
|
-
|
|
254
|
+
}), Z = u([]), q = async (l) => {
|
|
255
|
+
!l || !l.isExtra || (await B(l), L == null || L(l == null ? void 0 : l.pageName), j == null || j(!0));
|
|
256
|
+
}, B = bt(async (l) => {
|
|
257
|
+
await ht();
|
|
258
|
+
const { mainKey: e, baseMenuPath: o } = l || {};
|
|
259
|
+
tt(o, e);
|
|
260
260
|
}, 500);
|
|
261
|
-
|
|
262
|
-
() => [m.value, h.value,
|
|
261
|
+
K(
|
|
262
|
+
() => [m.value, h.value, g.value],
|
|
263
263
|
() => {
|
|
264
264
|
var y, p, he, ye;
|
|
265
|
-
const
|
|
265
|
+
const l = [], e = {
|
|
266
266
|
pageName: "机床",
|
|
267
267
|
name: "机床",
|
|
268
268
|
label: "机床",
|
|
@@ -301,7 +301,7 @@ ${B.value.join(" ")}
|
|
|
301
301
|
label: (he = h.value) == null ? void 0 : he.name,
|
|
302
302
|
baseMenuPath: `工件库/${(ye = h.value) == null ? void 0 : ye.type}`
|
|
303
303
|
});
|
|
304
|
-
const
|
|
304
|
+
const se = {
|
|
305
305
|
pageName: "刀具",
|
|
306
306
|
name: "刀具",
|
|
307
307
|
label: "刀具",
|
|
@@ -312,26 +312,26 @@ ${B.value.join(" ")}
|
|
|
312
312
|
show: !0,
|
|
313
313
|
isPenultimate: !1
|
|
314
314
|
};
|
|
315
|
-
|
|
315
|
+
g.value && se.children.push({
|
|
316
316
|
isExtra: !0,
|
|
317
317
|
pageName: "刀具",
|
|
318
|
-
mainKey:
|
|
319
|
-
label:
|
|
318
|
+
mainKey: g.value,
|
|
319
|
+
label: g.value,
|
|
320
320
|
baseMenuPath: "设备库/刀具"
|
|
321
|
-
}),
|
|
321
|
+
}), l.push(e, o, se), Z.value = l;
|
|
322
322
|
},
|
|
323
323
|
{
|
|
324
324
|
immediate: !0
|
|
325
325
|
}
|
|
326
326
|
);
|
|
327
|
-
const
|
|
327
|
+
const ne = u([]), E = w(() => {
|
|
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
|
+
K(() => 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
|
-
|
|
333
|
+
const l = await ft(E.value);
|
|
334
|
+
ne.value = l;
|
|
335
335
|
}
|
|
336
336
|
}, {
|
|
337
337
|
immediate: !0
|
|
@@ -339,53 +339,51 @@ ${B.value.join(" ")}
|
|
|
339
339
|
const J = w(() => {
|
|
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(we.ROBOT),
|
|
342
|
+
}), ve = u(we.ROBOT), G = u(null), Q = u(!1), ee = u(""), D = u(!1), x = u(""), I = u(!1), V = u(""), s = u(!1), a = u(""), d = ie(null), C = u("叶片模型"), f = ie(null), b = ie(null), c = ie(null), N = u(Ce), {
|
|
343
343
|
currentModels: S,
|
|
344
344
|
resetView: ce,
|
|
345
|
-
initThreeJS:
|
|
345
|
+
initThreeJS: te,
|
|
346
346
|
handleResize: fe,
|
|
347
|
-
getThreeJSObjects:
|
|
347
|
+
getThreeJSObjects: le,
|
|
348
348
|
cleanup: Ne,
|
|
349
|
-
setModels:
|
|
350
|
-
axesHelperVisible:
|
|
351
|
-
toggleAxesVisibility:
|
|
352
|
-
} =
|
|
353
|
-
|
|
349
|
+
setModels: ge,
|
|
350
|
+
axesHelperVisible: Ue,
|
|
351
|
+
toggleAxesVisibility: ze
|
|
352
|
+
} = st(G), { loadSceneFromFile: Ve } = nt(
|
|
353
|
+
le,
|
|
354
354
|
S,
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
), { isAnimating:
|
|
358
|
-
|
|
359
|
-
}, Be = w(() => ve.value === we.ROBOT),
|
|
360
|
-
|
|
361
|
-
},
|
|
362
|
-
|
|
363
|
-
},
|
|
364
|
-
|
|
355
|
+
Q,
|
|
356
|
+
ee
|
|
357
|
+
), { isAnimating: be, toggleAnimation: $e, stopAnimation: Te } = it(le, S), { isClipping: Le, activeClippingAxis: _, toggleClipping: je, updateClippingPlanes: R } = ut(le, S), { initRaycaster: Ae, selectedObject3D: De, setSelectedObjVisible: Se, updatePosition: Re, updateRotation: Me, dispose: Oe } = at(G, le, S), Fe = () => {
|
|
358
|
+
ze();
|
|
359
|
+
}, Be = w(() => ve.value === we.ROBOT), oe = (l) => {
|
|
360
|
+
D.value = !0, x.value = l, l === "剖面视图" && !Le.value && je();
|
|
361
|
+
}, pe = (l) => {
|
|
362
|
+
I.value = !0, V.value = l, l === "动画仿真" && T("getAnimationData");
|
|
363
|
+
}, Ee = () => {
|
|
364
|
+
var l;
|
|
365
|
+
(l = N.value) == null || l.handlePlayPause();
|
|
365
366
|
}, Je = () => {
|
|
366
|
-
var
|
|
367
|
-
(
|
|
367
|
+
var l;
|
|
368
|
+
(l = N.value) == null || l.pauseAnimation();
|
|
368
369
|
}, Ie = () => {
|
|
369
|
-
var
|
|
370
|
-
(
|
|
371
|
-
}, Ge = () => {
|
|
372
|
-
|
|
373
|
-
(
|
|
374
|
-
|
|
375
|
-
const e = Xe(t, C.value);
|
|
376
|
-
if (g.value = e, console.log("bladeObjUrl", J.value), e && e.parent && J.value) {
|
|
377
|
-
const o = await Vt(J.value);
|
|
370
|
+
var l;
|
|
371
|
+
(l = N.value) == null || l.stopAnimation();
|
|
372
|
+
}, Xe = (l, e) => mt(l, e), Ge = async (l) => {
|
|
373
|
+
const e = Xe(l, C.value);
|
|
374
|
+
if (b.value = e, console.log("bladeObjUrl", J.value), e && e.parent && J.value) {
|
|
375
|
+
const o = await $t(J.value);
|
|
378
376
|
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
377
|
} else
|
|
380
378
|
C.value && console.warn(`在 Blade '${C.value}' 中未找到可替换的网格或其没有父级。`);
|
|
381
379
|
};
|
|
382
|
-
|
|
383
|
-
if (
|
|
384
|
-
const e =
|
|
380
|
+
K(() => n.fileBlobs, (l) => {
|
|
381
|
+
if (l && l.length > 0) {
|
|
382
|
+
const e = l[0];
|
|
385
383
|
if (!e.name.toLowerCase().endsWith(".urdf"))
|
|
386
384
|
return;
|
|
387
|
-
|
|
388
|
-
d.value = o, o &&
|
|
385
|
+
Ve(e).then((o) => {
|
|
386
|
+
d.value = o, o && Ge(o);
|
|
389
387
|
}).catch((o) => {
|
|
390
388
|
console.error("加载URDF文件时发生错误:", o), P.error("加载urdf模型失败"), d.value = null;
|
|
391
389
|
});
|
|
@@ -394,40 +392,36 @@ ${B.value.join(" ")}
|
|
|
394
392
|
}, {
|
|
395
393
|
immediate: !0,
|
|
396
394
|
deep: !0
|
|
397
|
-
}),
|
|
398
|
-
|
|
395
|
+
}), K(d, (l) => {
|
|
396
|
+
ge(l ? [l] : []), Ae();
|
|
399
397
|
});
|
|
400
|
-
const
|
|
401
|
-
|
|
402
|
-
const
|
|
403
|
-
c.value =
|
|
404
|
-
},
|
|
405
|
-
x.value = "",
|
|
398
|
+
const He = () => {
|
|
399
|
+
te(), window.addEventListener("resize", fe);
|
|
400
|
+
const l = le();
|
|
401
|
+
c.value = l.scene;
|
|
402
|
+
}, Ke = () => {
|
|
403
|
+
x.value = "", V.value = "", window.removeEventListener("resize", fe), be.value && Te(), Ne(), Oe();
|
|
406
404
|
};
|
|
407
|
-
return
|
|
408
|
-
await
|
|
405
|
+
return qe(async () => {
|
|
406
|
+
await Qe();
|
|
409
407
|
try {
|
|
410
|
-
|
|
411
|
-
} catch (
|
|
412
|
-
console.error("Three.js 初始化失败:",
|
|
408
|
+
He();
|
|
409
|
+
} catch (l) {
|
|
410
|
+
console.error("Three.js 初始化失败:", l), P.error("渲染引擎初始化失败!");
|
|
413
411
|
}
|
|
414
|
-
}),
|
|
415
|
-
|
|
416
|
-
}), (
|
|
417
|
-
const o =
|
|
418
|
-
return
|
|
419
|
-
|
|
412
|
+
}), et(() => {
|
|
413
|
+
Ke();
|
|
414
|
+
}), (l, e) => {
|
|
415
|
+
const o = W("el-scrollbar"), se = W("PipeAnalysisPanel");
|
|
416
|
+
return z(), A("div", Tt, [
|
|
417
|
+
$(t("div", {
|
|
420
418
|
ref_key: "threejsContainer",
|
|
421
|
-
ref:
|
|
419
|
+
ref: G,
|
|
422
420
|
class: "threejs-container"
|
|
423
421
|
}, null, 512), [
|
|
424
422
|
[H, Be.value]
|
|
425
423
|
]),
|
|
426
|
-
|
|
427
|
-
K(t.$slots, "button-top", { switchTopPanel: Ee }, void 0, !0),
|
|
428
|
-
K(t.$slots, "logout", {}, void 0, !0)
|
|
429
|
-
]),
|
|
430
|
-
l("div", At, [
|
|
424
|
+
t("div", Lt, [
|
|
431
425
|
i(k, {
|
|
432
426
|
name: "viewReset",
|
|
433
427
|
size: "24",
|
|
@@ -447,47 +441,47 @@ ${B.value.join(" ")}
|
|
|
447
441
|
i(k, {
|
|
448
442
|
name: "lookAround",
|
|
449
443
|
size: "24",
|
|
450
|
-
onClick: v(
|
|
451
|
-
title: v(
|
|
444
|
+
onClick: v($e),
|
|
445
|
+
title: v(be) ? "停止动画" : "动画视图"
|
|
452
446
|
}, null, 8, ["onClick", "title"]),
|
|
453
447
|
i(k, {
|
|
454
448
|
name: "zuobiaoxi",
|
|
455
449
|
size: "24",
|
|
456
|
-
active: v(
|
|
450
|
+
active: v(Ue),
|
|
457
451
|
onClick: Fe,
|
|
458
452
|
title: "显隐坐标轴"
|
|
459
453
|
}, null, 8, ["active"])
|
|
460
454
|
]),
|
|
461
|
-
|
|
462
|
-
|
|
455
|
+
t("div", jt, [
|
|
456
|
+
ue(l.$slots, "button-left", { switchRightPanel: oe }, void 0, !0),
|
|
463
457
|
i(k, {
|
|
464
458
|
name: "jiegoushu",
|
|
465
459
|
size: "24",
|
|
466
|
-
onClick: e[0] || (e[0] = (y) =>
|
|
460
|
+
onClick: e[0] || (e[0] = (y) => oe("场景树")),
|
|
467
461
|
active: D.value && x.value === "场景树",
|
|
468
462
|
title: "场景树"
|
|
469
463
|
}, null, 8, ["active"]),
|
|
470
464
|
i(k, {
|
|
471
465
|
name: "clipping",
|
|
472
466
|
size: "24",
|
|
473
|
-
onClick: e[1] || (e[1] = (y) =>
|
|
467
|
+
onClick: e[1] || (e[1] = (y) => oe("剖面视图")),
|
|
474
468
|
active: D.value && x.value === "剖面视图",
|
|
475
469
|
title: "剖面视图"
|
|
476
470
|
}, null, 8, ["active"]),
|
|
477
471
|
i(k, {
|
|
478
472
|
name: "donghuafangzhen",
|
|
479
473
|
size: "24",
|
|
480
|
-
onClick: e[2] || (e[2] = (y) =>
|
|
474
|
+
onClick: e[2] || (e[2] = (y) => oe("工件树")),
|
|
481
475
|
active: D.value && x.value === "工件树"
|
|
482
476
|
}, null, 8, ["active"])
|
|
483
477
|
]),
|
|
484
|
-
|
|
485
|
-
|
|
478
|
+
t("div", At, [
|
|
479
|
+
ue(l.$slots, "button-right", { switchRightPanel: pe }, void 0, !0),
|
|
486
480
|
i(k, {
|
|
487
481
|
name: "jichuangxuanze",
|
|
488
482
|
size: "24",
|
|
489
483
|
onClick: e[3] || (e[3] = (y) => pe("机床控制")),
|
|
490
|
-
active: I.value &&
|
|
484
|
+
active: I.value && V.value === "机床控制",
|
|
491
485
|
title: "机床控制"
|
|
492
486
|
}, null, 8, ["active"]),
|
|
493
487
|
i(k, {
|
|
@@ -495,44 +489,44 @@ ${B.value.join(" ")}
|
|
|
495
489
|
size: "24",
|
|
496
490
|
title: "动画仿真",
|
|
497
491
|
onClick: e[4] || (e[4] = (y) => pe("动画仿真")),
|
|
498
|
-
active: I.value &&
|
|
492
|
+
active: I.value && V.value === "动画仿真"
|
|
499
493
|
}, null, 8, ["active"])
|
|
500
494
|
]),
|
|
501
|
-
|
|
495
|
+
t("div", Dt, [
|
|
502
496
|
i(k, {
|
|
503
497
|
name: "bofang",
|
|
504
498
|
size: "24",
|
|
505
499
|
backgroundColor: "#ffffff",
|
|
506
500
|
title: "播放",
|
|
507
|
-
onClick:
|
|
501
|
+
onClick: Ee
|
|
508
502
|
}),
|
|
509
503
|
i(k, {
|
|
510
504
|
name: "zanting",
|
|
511
505
|
size: "24",
|
|
512
506
|
backgroundColor: "#ffffff",
|
|
513
507
|
title: "暂停",
|
|
514
|
-
onClick:
|
|
508
|
+
onClick: Je
|
|
515
509
|
}),
|
|
516
510
|
i(k, {
|
|
517
511
|
name: "zhongzhi",
|
|
518
512
|
size: "24",
|
|
519
513
|
backgroundColor: "#ffffff",
|
|
520
514
|
title: "停止",
|
|
521
|
-
onClick:
|
|
515
|
+
onClick: Ie
|
|
522
516
|
})
|
|
523
517
|
]),
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
518
|
+
$(t("div", St, [
|
|
519
|
+
t("div", Rt, [
|
|
520
|
+
t("span", null, U(a.value), 1),
|
|
521
|
+
t("span", {
|
|
528
522
|
class: "close",
|
|
529
523
|
onClick: e[5] || (e[5] = (y) => s.value = !1)
|
|
530
524
|
}, " X ")
|
|
531
525
|
]),
|
|
532
|
-
|
|
526
|
+
t("div", Mt, [
|
|
533
527
|
i(o, { height: "100%" }, {
|
|
534
|
-
default:
|
|
535
|
-
|
|
528
|
+
default: ae(() => [
|
|
529
|
+
ue(l.$slots, "top-panel", { topPanelType: a.value }, void 0, !0)
|
|
536
530
|
]),
|
|
537
531
|
_: 3
|
|
538
532
|
})
|
|
@@ -540,29 +534,29 @@ ${B.value.join(" ")}
|
|
|
540
534
|
], 512), [
|
|
541
535
|
[H, s.value]
|
|
542
536
|
]),
|
|
543
|
-
|
|
544
|
-
|
|
545
|
-
|
|
546
|
-
|
|
537
|
+
$(t("div", Ot, [
|
|
538
|
+
t("div", Ft, [
|
|
539
|
+
t("span", null, U(x.value), 1),
|
|
540
|
+
t("span", {
|
|
547
541
|
class: "close",
|
|
548
542
|
onClick: e[6] || (e[6] = (y) => D.value = !1)
|
|
549
543
|
}, " X ")
|
|
550
544
|
]),
|
|
551
|
-
|
|
545
|
+
t("div", Bt, [
|
|
552
546
|
i(o, { height: "100%" }, {
|
|
553
|
-
default:
|
|
547
|
+
default: ae(() => {
|
|
554
548
|
var y;
|
|
555
549
|
return [
|
|
556
|
-
x.value === "场景树" ? (
|
|
550
|
+
x.value === "场景树" ? (z(), Pe(ct, {
|
|
557
551
|
key: 0,
|
|
558
552
|
model: d.value,
|
|
559
|
-
extraNodes:
|
|
560
|
-
onNodeClick:
|
|
553
|
+
extraNodes: Z.value,
|
|
554
|
+
onNodeClick: q
|
|
561
555
|
}, null, 8, ["model", "extraNodes"])) : M("", !0),
|
|
562
|
-
x.value === "剖面视图" ? (
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
556
|
+
x.value === "剖面视图" ? (z(), A("div", Et, [
|
|
557
|
+
t("div", Jt, [
|
|
558
|
+
t("label", It, [
|
|
559
|
+
$(t("input", {
|
|
566
560
|
type: "radio",
|
|
567
561
|
name: "clipping-axis",
|
|
568
562
|
value: "none",
|
|
@@ -572,10 +566,10 @@ ${B.value.join(" ")}
|
|
|
572
566
|
}, null, 544), [
|
|
573
567
|
[de, v(_)]
|
|
574
568
|
]),
|
|
575
|
-
e[16] || (e[16] =
|
|
569
|
+
e[16] || (e[16] = t("span", { class: "radio-text" }, "无切割", -1))
|
|
576
570
|
]),
|
|
577
|
-
|
|
578
|
-
|
|
571
|
+
t("label", Xt, [
|
|
572
|
+
$(t("input", {
|
|
579
573
|
type: "radio",
|
|
580
574
|
name: "clipping-axis",
|
|
581
575
|
value: "x",
|
|
@@ -585,10 +579,10 @@ ${B.value.join(" ")}
|
|
|
585
579
|
}, null, 544), [
|
|
586
580
|
[de, v(_)]
|
|
587
581
|
]),
|
|
588
|
-
e[17] || (e[17] =
|
|
582
|
+
e[17] || (e[17] = t("span", { class: "radio-text" }, "X轴切割", -1))
|
|
589
583
|
]),
|
|
590
|
-
|
|
591
|
-
|
|
584
|
+
t("label", Gt, [
|
|
585
|
+
$(t("input", {
|
|
592
586
|
type: "radio",
|
|
593
587
|
name: "clipping-axis",
|
|
594
588
|
value: "y",
|
|
@@ -598,10 +592,10 @@ ${B.value.join(" ")}
|
|
|
598
592
|
}, null, 544), [
|
|
599
593
|
[de, v(_)]
|
|
600
594
|
]),
|
|
601
|
-
e[18] || (e[18] =
|
|
595
|
+
e[18] || (e[18] = t("span", { class: "radio-text" }, "Y轴切割", -1))
|
|
602
596
|
]),
|
|
603
|
-
|
|
604
|
-
|
|
597
|
+
t("label", Ht, [
|
|
598
|
+
$(t("input", {
|
|
605
599
|
type: "radio",
|
|
606
600
|
name: "clipping-axis",
|
|
607
601
|
value: "z",
|
|
@@ -611,11 +605,11 @@ ${B.value.join(" ")}
|
|
|
611
605
|
}, null, 544), [
|
|
612
606
|
[de, v(_)]
|
|
613
607
|
]),
|
|
614
|
-
e[19] || (e[19] =
|
|
608
|
+
e[19] || (e[19] = t("span", { class: "radio-text" }, "Z轴切割", -1))
|
|
615
609
|
])
|
|
616
610
|
])
|
|
617
611
|
])) : M("", !0),
|
|
618
|
-
x.value === "工件树" ? (
|
|
612
|
+
x.value === "工件树" ? (z(), Pe(ot, {
|
|
619
613
|
key: 2,
|
|
620
614
|
model: (y = v(De)) == null ? void 0 : y.obj,
|
|
621
615
|
onVisibleChange: v(Se),
|
|
@@ -630,30 +624,30 @@ ${B.value.join(" ")}
|
|
|
630
624
|
], 512), [
|
|
631
625
|
[H, D.value]
|
|
632
626
|
]),
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
627
|
+
$(t("div", Kt, [
|
|
628
|
+
t("div", Wt, [
|
|
629
|
+
t("span", null, U(V.value), 1),
|
|
630
|
+
t("span", {
|
|
637
631
|
class: "close",
|
|
638
632
|
onClick: e[15] || (e[15] = (y) => I.value = !1)
|
|
639
633
|
}, " X ")
|
|
640
634
|
]),
|
|
641
|
-
|
|
635
|
+
t("div", Yt, [
|
|
642
636
|
i(o, { height: "100%" }, {
|
|
643
|
-
default:
|
|
644
|
-
|
|
645
|
-
[H,
|
|
637
|
+
default: ae(() => [
|
|
638
|
+
$(i(pt, { model: d.value }, null, 8, ["model"]), [
|
|
639
|
+
[H, V.value === "机床控制"]
|
|
646
640
|
]),
|
|
647
|
-
|
|
641
|
+
$(i(Ce, {
|
|
648
642
|
model: d.value,
|
|
649
643
|
scene: c.value,
|
|
650
|
-
xyzbcList:
|
|
644
|
+
xyzbcList: ne.value,
|
|
651
645
|
ref_key: "urdfAnimationPanelRef",
|
|
652
646
|
ref: N
|
|
653
647
|
}, null, 8, ["model", "scene", "xyzbcList"]), [
|
|
654
|
-
[H,
|
|
648
|
+
[H, V.value === "动画仿真"]
|
|
655
649
|
]),
|
|
656
|
-
|
|
650
|
+
ue(l.$slots, "right-panel", { rightPanelType: V.value }, void 0, !0)
|
|
657
651
|
]),
|
|
658
652
|
_: 3
|
|
659
653
|
})
|
|
@@ -661,29 +655,29 @@ ${B.value.join(" ")}
|
|
|
661
655
|
], 512), [
|
|
662
656
|
[H, I.value]
|
|
663
657
|
]),
|
|
664
|
-
|
|
665
|
-
e[20] || (e[20] =
|
|
666
|
-
|
|
658
|
+
Q.value ? (z(), A("div", Zt, [
|
|
659
|
+
e[20] || (e[20] = t("div", { class: "loading-spinner" }, null, -1)),
|
|
660
|
+
t("p", null, U(ee.value), 1)
|
|
667
661
|
])) : M("", !0),
|
|
668
|
-
m.value ? (
|
|
669
|
-
|
|
670
|
-
e[21] || (e[21] =
|
|
671
|
-
|
|
662
|
+
m.value ? (z(), A("div", qt, [
|
|
663
|
+
t("div", Qt, [
|
|
664
|
+
e[21] || (e[21] = t("div", { class: "item-label" }, "厂家:", -1)),
|
|
665
|
+
t("div", el, U(X.value), 1)
|
|
672
666
|
]),
|
|
673
|
-
|
|
674
|
-
e[22] || (e[22] =
|
|
675
|
-
|
|
667
|
+
t("div", tl, [
|
|
668
|
+
e[22] || (e[22] = t("div", { class: "item-label" }, "型号:", -1)),
|
|
669
|
+
t("div", ll, U(m.value), 1)
|
|
676
670
|
]),
|
|
677
|
-
|
|
678
|
-
e[23] || (e[23] =
|
|
679
|
-
|
|
671
|
+
t("div", al, [
|
|
672
|
+
e[23] || (e[23] = t("div", { class: "item-label" }, "编号:", -1)),
|
|
673
|
+
t("div", nl, U(F.value), 1)
|
|
680
674
|
])
|
|
681
675
|
])) : M("", !0),
|
|
682
|
-
i(
|
|
676
|
+
i(se, { ref: "pipeAnalysisPanelRef" }, null, 512)
|
|
683
677
|
]);
|
|
684
678
|
};
|
|
685
679
|
}
|
|
686
|
-
}),
|
|
680
|
+
}), yl = /* @__PURE__ */ xe(ol, [["__scopeId", "data-v-eef66dd4"]]);
|
|
687
681
|
export {
|
|
688
|
-
|
|
682
|
+
yl as default
|
|
689
683
|
};
|