ss-component-new 1.3.811 → 1.3.813
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-Cr05Jq1r.js → MTLLoader-Cw11TWAL.js} +1 -1
- package/dist/{URDFLoader-BPUcMfaA.js → URDFLoader-DUzCZjnV.js} +2 -2
- package/dist/{animationData-BtDIT0yo.js → animationData-DwQetFQD.js} +11 -11
- package/dist/{array-CZ2eqPog.js → array-COidmpRY.js} +178 -178
- package/dist/{iconfont-CHWuGARa.js → iconfont-Ij2RVNFj.js} +1 -1
- package/dist/{index-BcHJqN_9.js → index-B4kaaRbF.js} +676 -676
- package/dist/{index-zu35Umcp.js → index-B7P0-Odj.js} +2 -2
- package/dist/{index-CfXO0Pxj.js → index-CCZspl83.js} +1 -1
- package/dist/{index-CdJWKd-e.js → index-CXY_sgN_.js} +4 -4
- package/dist/{index-CegJQbrk.js → index-CaLfl7ix.js} +1 -1
- package/dist/{index-0tYJ8yEe.js → index-CcBUPD0v.js} +3 -3
- package/dist/{index-CoZLxa8y.js → index-Cd11-eam.js} +7184 -7191
- package/dist/{index-qX9L_pmZ.js → index-Cv6rlCAH.js} +25178 -25153
- package/dist/{index-CH3rwMYW.js → index-D8-0gsl7.js} +4 -4
- package/dist/{index-Uu1cC9bk.js → index-DQryAYzQ.js} +1 -1
- package/dist/{index-BqMPhGJ9.js → index-DqizREJ2.js} +1 -1
- package/dist/{index-CjUeCJj8.js → index-Dsce3BX1.js} +3 -3
- package/dist/{index-B1Cs8tWO.js → index-KEw10uzh.js} +1 -1
- package/dist/{index-eCFjxwNX.js → index-ZhT8hVC2.js} +1 -1
- package/dist/{index-DVGwSP8U.js → index-dh1Gi7jC.js} +1 -1
- package/dist/{index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-D8tI8Ecr.js → index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-DFJL-r6K.js} +30 -30
- package/dist/{main-BEjDbBqE.js → main-fNwMqnvv.js} +2 -2
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/ss-component.css +2 -2
- package/dist/ss-component.js +8 -8
- package/dist/ss-component2.js +8 -8
- package/dist/{threeModel-B0w9UbIY.js → threeModel-BeCT-wuA.js} +49 -49
- package/dist/{threePreview-SOk-xO1D.js → threePreview-BnPPysvl.js} +1103 -1258
- package/dist/{threeSceneView-BJFsvwVj.js → threeSceneView-C_KAY9V1.js} +69 -71
- package/dist/{threeSceneViewForCPMPIP-FVUwqe08.js → threeSceneViewForCPMPIP-uac2fzAK.js} +7 -7
- package/dist/{threeTrackPathView-Bj3hHKs6.js → threeTrackPathView-Ugj5_KnE.js} +84 -84
- package/dist/{threeViewerHost-f9uhJUs0.js → threeViewerHost-Dv0JTTnu.js} +2 -2
- package/dist/{urdfTree-DvLm61lR.js → urdfTree-CLtWTrD6.js} +1 -1
- package/dist/{workpieceTreePanel-cpqQoDnb.js → workpieceTreePanel-Ch75Cqlr.js} +12 -12
- package/package.json +1 -1
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { defineComponent as Le, ref as h, watch as
|
|
2
|
-
import { r as Te, s as Ye } from "./threeViewerHost-
|
|
3
|
-
import { u as Je, a as Qe, b as et, T as Y, C as tt } from "./iconfont-
|
|
4
|
-
import { U as lt, u as ot, a as nt, W as at } from "./workpieceTreePanel-
|
|
1
|
+
import { defineComponent as Le, ref as h, watch as ae, shallowRef as be, computed as Pe, onUnmounted as Ie, resolveComponent as U, createElementBlock as Ve, openBlock as Q, createElementVNode as u, createVNode as l, withCtx as M, createBlock as ye, createCommentVNode as ke, unref as X, toDisplayString as he, onMounted as Ge, onBeforeUnmount as Ze, Fragment as He, renderList as qe, nextTick as Ke, withDirectives as pe, vShow as de, renderSlot as Me } from "vue";
|
|
2
|
+
import { r as Te, s as Ye } from "./threeViewerHost-Dv0JTTnu.js";
|
|
3
|
+
import { u as Je, a as Qe, b as et, T as Y, C as tt } from "./iconfont-Ij2RVNFj.js";
|
|
4
|
+
import { U as lt, u as ot, a as nt, W as at } from "./workpieceTreePanel-Ch75Cqlr.js";
|
|
5
5
|
import { c as st } from "./index-DkDX7FWy.js";
|
|
6
6
|
import { aG as it, E as j, aX as rt, aY as ct } from "./request-DzUsnuWu.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import { p as De, T as xe, V as D, n as H, o as ut, s as pt, h as Se, t as dt, L as mt, u as vt, v as ft, w as gt, x as ht, y as bt, z as yt, l as _t, F as wt } from "./index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-
|
|
9
|
-
import "./index-
|
|
8
|
+
import { p as De, T as xe, V as D, n as H, o as ut, s as pt, h as Se, t as dt, L as mt, u as vt, v as ft, w as gt, x as ht, y as bt, z as yt, l as _t, F as wt } from "./index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-DFJL-r6K.js";
|
|
9
|
+
import "./index-Cv6rlCAH.js";
|
|
10
10
|
import "./index-BHtNKL1L.js";
|
|
11
11
|
import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-BqS9V6jf.js";
|
|
12
12
|
import { y as Be, z as Ct, A as kt } from "./index-xqFF6xBy.js";
|
|
13
|
-
import "./index-
|
|
13
|
+
import "./index-B7P0-Odj.js";
|
|
14
14
|
import "./index-CgyZkRox.js";
|
|
15
|
-
import { f as Pt, a as xt, g as Rt, b as Mt } from "./animationData-
|
|
16
|
-
import { g as Tt, a as Vt, b as Dt, c as St, U as At, J as $t } from "./urdfTree-
|
|
15
|
+
import { f as Pt, a as xt, g as Rt, b as Mt } from "./animationData-DwQetFQD.js";
|
|
16
|
+
import { g as Tt, a as Vt, b as Dt, c as St, U as At, J as $t } from "./urdfTree-CLtWTrD6.js";
|
|
17
17
|
import { _ as Ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
18
|
import { s as Ft } from "./index-11kpzK0A.js";
|
|
19
19
|
const I = 1e-3, oe = ut.degToRad, je = new dt({
|
|
@@ -256,7 +256,7 @@ const jt = { class: "panel-content" }, Et = { class: "action-bar" }, Ot = { clas
|
|
|
256
256
|
},
|
|
257
257
|
setup(y, { expose: v }) {
|
|
258
258
|
const d = y, n = h(), m = h();
|
|
259
|
-
|
|
259
|
+
ae(() => d.threeData, (e) => {
|
|
260
260
|
const o = e == null ? void 0 : e.data;
|
|
261
261
|
m.value = o == null ? void 0 : o.type;
|
|
262
262
|
}, {
|
|
@@ -284,10 +284,10 @@ ${G.value.join(" ")}
|
|
|
284
284
|
B: parseFloat(e.B) || 0,
|
|
285
285
|
C: parseFloat(e.C) || 0,
|
|
286
286
|
R: parseFloat(e.R) || 0
|
|
287
|
-
})),
|
|
287
|
+
})), se = () => {
|
|
288
288
|
const e = [], o = [];
|
|
289
289
|
return s.value.forEach((t) => {
|
|
290
|
-
const { Y1: i, B1: R, C1: x, R1: le, Y2: K, B2:
|
|
290
|
+
const { Y1: i, B1: R, C1: x, R1: le, Y2: K, B2: ue, C2: Ce, R2: z } = t;
|
|
291
291
|
e.push({
|
|
292
292
|
Y: parseFloat(i) || 0,
|
|
293
293
|
B: parseFloat(R) || 0,
|
|
@@ -295,7 +295,7 @@ ${G.value.join(" ")}
|
|
|
295
295
|
R: parseFloat(le) || 0
|
|
296
296
|
}), o.push({
|
|
297
297
|
Y: parseFloat(K) || 0,
|
|
298
|
-
B: parseFloat(
|
|
298
|
+
B: parseFloat(ue) || 0,
|
|
299
299
|
C: parseFloat(Ce) || 0,
|
|
300
300
|
R: parseFloat(z) || 0
|
|
301
301
|
});
|
|
@@ -305,7 +305,7 @@ ${G.value.join(" ")}
|
|
|
305
305
|
};
|
|
306
306
|
}, S = (e = 0, o = 0) => {
|
|
307
307
|
if (c.value && T.value) {
|
|
308
|
-
const t =
|
|
308
|
+
const t = se();
|
|
309
309
|
Xe(
|
|
310
310
|
c.value,
|
|
311
311
|
T.value,
|
|
@@ -370,7 +370,7 @@ ${G.value.join(" ")}
|
|
|
370
370
|
a.value = 0;
|
|
371
371
|
}, O = () => {
|
|
372
372
|
if (c.value && T.value) {
|
|
373
|
-
const e =
|
|
373
|
+
const e = se();
|
|
374
374
|
Xe(
|
|
375
375
|
c.value,
|
|
376
376
|
T.value,
|
|
@@ -397,14 +397,14 @@ ${G.value.join(" ")}
|
|
|
397
397
|
r.value && r.value.resetToZero(), O(), N(), j.success("机器人和管件已重置");
|
|
398
398
|
}, q = (e) => `第 ${e + 1} 帧`, W = (e) => {
|
|
399
399
|
w.value && E(), P(e);
|
|
400
|
-
},
|
|
400
|
+
}, ie = () => {
|
|
401
401
|
w.value && E(), !(a.value + 1 >= s.value.length) && P(a.value + 1);
|
|
402
402
|
}, F = () => {
|
|
403
403
|
w.value && E(), a.value !== 0 && P(a.value - 1);
|
|
404
404
|
}, ne = () => {
|
|
405
405
|
A.value && (A.value.visible = !0), c.value && c.value.parent && c.value.parent.remove(c.value), A.value = null, c.value = null, T.value = null;
|
|
406
406
|
}, fe = (e) => e == null ? void 0 : e.reduce((o, t) => (o[t] = "0", o), {});
|
|
407
|
-
|
|
407
|
+
ae(G, (e, o) => {
|
|
408
408
|
if (JSON.stringify(e) !== JSON.stringify(o))
|
|
409
409
|
if (e.length > 0) {
|
|
410
410
|
const t = fe(e);
|
|
@@ -412,8 +412,8 @@ ${G.value.join(" ")}
|
|
|
412
412
|
} else
|
|
413
413
|
s.value = [];
|
|
414
414
|
}, { immediate: !0 });
|
|
415
|
-
const
|
|
416
|
-
|
|
415
|
+
const re = h(0), we = (e) => {
|
|
416
|
+
re.value = e;
|
|
417
417
|
}, Ae = (e, o) => {
|
|
418
418
|
if (!e || !o)
|
|
419
419
|
return;
|
|
@@ -421,17 +421,17 @@ ${G.value.join(" ")}
|
|
|
421
421
|
i.visible = !1, t == null || t.add(i);
|
|
422
422
|
}, $e = (e) => {
|
|
423
423
|
r.value = new lt(e), B.value = Dt(e), L.value = "Pipe_Joint";
|
|
424
|
-
},
|
|
424
|
+
}, ce = () => {
|
|
425
425
|
r.value = null, B.value = [], L.value = null;
|
|
426
426
|
}, ge = (e) => {
|
|
427
|
-
$e(e), Ae(e, L.value), we(
|
|
427
|
+
$e(e), Ae(e, L.value), we(re.value + 1), te();
|
|
428
428
|
};
|
|
429
|
-
|
|
429
|
+
ae(() => d.model, (e) => {
|
|
430
430
|
if (ne(), e) {
|
|
431
431
|
ge(e);
|
|
432
432
|
return;
|
|
433
433
|
}
|
|
434
|
-
|
|
434
|
+
ce();
|
|
435
435
|
}, { immediate: !0 });
|
|
436
436
|
const Re = (e) => {
|
|
437
437
|
var t, i;
|
|
@@ -441,7 +441,7 @@ ${G.value.join(" ")}
|
|
|
441
441
|
);
|
|
442
442
|
return o.name = "managed_pipe_clone", (i = (t = e == null ? void 0 : e.parent) == null ? void 0 : t.add) == null || i.call(t, o), o.position.copy(e.position), o.rotation.copy(e.rotation), o.scale.copy(e.scale), o;
|
|
443
443
|
};
|
|
444
|
-
|
|
444
|
+
ae([L, V, $, re], ([e, o]) => {
|
|
445
445
|
if (ne(), d.model && e) {
|
|
446
446
|
const t = Vt(d.model, e);
|
|
447
447
|
if (console.log(t, "meshToReplace"), t && t.parent) {
|
|
@@ -487,10 +487,10 @@ ${G.value.join(" ")}
|
|
|
487
487
|
}
|
|
488
488
|
const R = e.slice(1).map((x) => {
|
|
489
489
|
const le = x.split(" "), K = {};
|
|
490
|
-
return G.value.forEach((
|
|
491
|
-
K[
|
|
492
|
-
}), Object.entries(t).forEach(([
|
|
493
|
-
const z = le[parseInt(
|
|
490
|
+
return G.value.forEach((ue) => {
|
|
491
|
+
K[ue] = "0";
|
|
492
|
+
}), Object.entries(t).forEach(([ue, Ce]) => {
|
|
493
|
+
const z = le[parseInt(ue)];
|
|
494
494
|
z !== void 0 && z.trim() !== "" && (K[Ce] = z.trim());
|
|
495
495
|
}), K;
|
|
496
496
|
});
|
|
@@ -498,8 +498,8 @@ ${G.value.join(" ")}
|
|
|
498
498
|
};
|
|
499
499
|
return Ie(() => {
|
|
500
500
|
ne(), k = !0;
|
|
501
|
-
}), v({ playAnimation: J, stopAnimation: E, forwardFrame:
|
|
502
|
-
const t = U("el-icon"), i = U("el-input-number"), R = U("el-form-item"), x = U("el-form"), le = U("el-slider"), K = U("el-progress"),
|
|
501
|
+
}), v({ playAnimation: J, stopAnimation: E, forwardFrame: ie, backwardFrame: F }), (e, o) => {
|
|
502
|
+
const t = U("el-icon"), i = U("el-input-number"), R = U("el-form-item"), x = U("el-form"), le = U("el-slider"), K = U("el-progress"), ue = U("el-input"), Ce = U("el-dialog");
|
|
503
503
|
return Q(), Ve("div", jt, [
|
|
504
504
|
u("div", Et, [
|
|
505
505
|
l(me, {
|
|
@@ -660,7 +660,7 @@ ${G.value.join(" ")}
|
|
|
660
660
|
]),
|
|
661
661
|
default: M(() => [
|
|
662
662
|
o[11] || (o[11] = u("p", { class: "import-instructions" }, " 请从Excel或csv中复制数据 (首行为表头, Tab分隔) ", -1)),
|
|
663
|
-
l(
|
|
663
|
+
l(ue, {
|
|
664
664
|
modelValue: f.value,
|
|
665
665
|
"onUpdate:modelValue": o[5] || (o[5] = (z) => f.value = z),
|
|
666
666
|
type: "textarea",
|
|
@@ -726,16 +726,16 @@ ${G.value.join(" ")}
|
|
|
726
726
|
const { form: S, list: P } = g.value, {
|
|
727
727
|
outerDiameter: J
|
|
728
728
|
} = S, E = J / 2, N = P == null ? void 0 : P.map((te) => {
|
|
729
|
-
const { y: q, b: W, c:
|
|
729
|
+
const { y: q, b: W, c: ie, r: F, Y: ne, B: fe, C: re, R: we } = te;
|
|
730
730
|
return ne ? {
|
|
731
731
|
Y: ne,
|
|
732
732
|
B: fe,
|
|
733
|
-
C:
|
|
733
|
+
C: re,
|
|
734
734
|
R: we
|
|
735
735
|
} : {
|
|
736
736
|
Y: q,
|
|
737
737
|
B: W,
|
|
738
|
-
C:
|
|
738
|
+
C: ie,
|
|
739
739
|
R: F
|
|
740
740
|
};
|
|
741
741
|
});
|
|
@@ -752,15 +752,15 @@ ${G.value.join(" ")}
|
|
|
752
752
|
}, ve = async () => {
|
|
753
753
|
const S = await qt();
|
|
754
754
|
$(S);
|
|
755
|
-
},
|
|
755
|
+
}, se = async (S) => {
|
|
756
756
|
const P = await Kt(S);
|
|
757
757
|
V(P);
|
|
758
758
|
};
|
|
759
|
-
return
|
|
759
|
+
return ae(() => g, () => {
|
|
760
760
|
B();
|
|
761
761
|
}, {
|
|
762
762
|
deep: !0
|
|
763
|
-
}),
|
|
763
|
+
}), ae(() => n, () => {
|
|
764
764
|
try {
|
|
765
765
|
if (m.value)
|
|
766
766
|
return;
|
|
@@ -775,7 +775,7 @@ ${G.value.join(" ")}
|
|
|
775
775
|
}), Ze(() => {
|
|
776
776
|
window.removeEventListener("resize", f), a();
|
|
777
777
|
}), v({ openDialog: _e }), (S, P) => {
|
|
778
|
-
const J = U("el-icon"), E = U("el-option"), N = U("el-select"), O = U("el-form-item"), te = U("el-form"), q = U("el-input"), W = U("el-table-column"),
|
|
778
|
+
const J = U("el-icon"), E = U("el-option"), N = U("el-select"), O = U("el-form-item"), te = U("el-form"), q = U("el-input"), W = U("el-table-column"), ie = U("el-table");
|
|
779
779
|
return Q(), ye(Ft, {
|
|
780
780
|
class: "pipe-analysis-dialog",
|
|
781
781
|
visible: ee.value,
|
|
@@ -825,7 +825,7 @@ ${G.value.join(" ")}
|
|
|
825
825
|
modelValue: T.value.pipe,
|
|
826
826
|
"onUpdate:modelValue": P[0] || (P[0] = (F) => T.value.pipe = F),
|
|
827
827
|
placeholder: "请选择弯管",
|
|
828
|
-
onChange:
|
|
828
|
+
onChange: se
|
|
829
829
|
}, {
|
|
830
830
|
default: M(() => [
|
|
831
831
|
(Q(!0), Ve(He, null, qe(A.value, (F) => (Q(), ye(E, {
|
|
@@ -916,7 +916,7 @@ ${G.value.join(" ")}
|
|
|
916
916
|
]),
|
|
917
917
|
_: 1
|
|
918
918
|
}, 8, ["model"]),
|
|
919
|
-
l(
|
|
919
|
+
l(ie, {
|
|
920
920
|
ref: "singleTableRef",
|
|
921
921
|
data: g.value.list,
|
|
922
922
|
"highlight-current-rowstyle": "width: 100%"
|
|
@@ -992,11 +992,11 @@ ${G.value.join(" ")}
|
|
|
992
992
|
T,
|
|
993
993
|
_,
|
|
994
994
|
s
|
|
995
|
-
), { isAnimating:
|
|
995
|
+
), { isAnimating: se, toggleAnimation: S, startAnimation: P, stopAnimation: J } = Qe(V, T), { isClipping: E, activeClippingAxis: N, toggleClipping: O, updateClippingPlanes: te } = et(V, T), { initRaycaster: q, selectedObject3D: W, setSelectedObjVisible: ie, updatePosition: F, updateRotation: ne, dispose: fe } = ot(n, V, T), re = () => {
|
|
996
996
|
ee();
|
|
997
997
|
}, we = (t) => {
|
|
998
998
|
N.value = t, te();
|
|
999
|
-
}, Ae = Pe(() => d.value === Ye.ROBOT), $e = Pe(() => d.value === Ye.PIPECOMPARSION),
|
|
999
|
+
}, Ae = Pe(() => d.value === Ye.ROBOT), $e = Pe(() => d.value === Ye.PIPECOMPARSION), ce = (t) => {
|
|
1000
1000
|
b.value = !0, f.value = t, t === "剖面视图" && !E.value && O();
|
|
1001
1001
|
}, ge = (t) => {
|
|
1002
1002
|
w.value = !0, a.value = t;
|
|
@@ -1013,7 +1013,7 @@ ${G.value.join(" ")}
|
|
|
1013
1013
|
var t;
|
|
1014
1014
|
(t = c == null ? void 0 : c.value) == null || t.backwardFrame();
|
|
1015
1015
|
};
|
|
1016
|
-
|
|
1016
|
+
ae(() => v.fileBlobs, (t) => {
|
|
1017
1017
|
if (t && t.length > 0) {
|
|
1018
1018
|
const i = t[0];
|
|
1019
1019
|
if (!i.name.toLowerCase().endsWith(".urdf"))
|
|
@@ -1028,7 +1028,7 @@ ${G.value.join(" ")}
|
|
|
1028
1028
|
}, {
|
|
1029
1029
|
immediate: !0,
|
|
1030
1030
|
deep: !0
|
|
1031
|
-
}),
|
|
1031
|
+
}), ae(k, (t) => {
|
|
1032
1032
|
L(t ? [t] : []), q();
|
|
1033
1033
|
});
|
|
1034
1034
|
let o = null;
|
|
@@ -1042,24 +1042,24 @@ ${G.value.join(" ")}
|
|
|
1042
1042
|
console.error("Three.js 初始化失败:", t), j.error("渲染引擎初始化失败!");
|
|
1043
1043
|
}
|
|
1044
1044
|
}), Ze(() => {
|
|
1045
|
-
f.value = "", a.value = "", o && o.disconnect(),
|
|
1045
|
+
f.value = "", a.value = "", o && o.disconnect(), se.value && J(), B(), fe();
|
|
1046
1046
|
}), (t, i) => {
|
|
1047
1047
|
const R = U("el-scrollbar");
|
|
1048
1048
|
return Q(), Ve("div", cl, [
|
|
1049
|
-
|
|
1049
|
+
pe(u("div", {
|
|
1050
1050
|
ref_key: "threejsContainer",
|
|
1051
1051
|
ref: n,
|
|
1052
1052
|
class: "threejs-container"
|
|
1053
1053
|
}, null, 512), [
|
|
1054
|
-
[
|
|
1054
|
+
[de, Ae.value]
|
|
1055
1055
|
]),
|
|
1056
|
-
|
|
1056
|
+
pe(u("div", ul, [
|
|
1057
1057
|
u("div", pl, null, 512),
|
|
1058
1058
|
u("div", dl, null, 512)
|
|
1059
1059
|
], 512), [
|
|
1060
|
-
[
|
|
1060
|
+
[de, $e.value]
|
|
1061
1061
|
]),
|
|
1062
|
-
|
|
1062
|
+
u("div", ml, [
|
|
1063
1063
|
l(Y, {
|
|
1064
1064
|
name: "viewReset",
|
|
1065
1065
|
size: "24",
|
|
@@ -1082,45 +1082,43 @@ ${G.value.join(" ")}
|
|
|
1082
1082
|
name: "lookAround",
|
|
1083
1083
|
size: "24",
|
|
1084
1084
|
onClick: X(S),
|
|
1085
|
-
title: X(
|
|
1085
|
+
title: X(se) ? "停止动画" : "动画视图"
|
|
1086
1086
|
}, null, 8, ["onClick", "title"]),
|
|
1087
1087
|
l(Y, {
|
|
1088
1088
|
name: "zuobiaoxi",
|
|
1089
1089
|
size: "24",
|
|
1090
1090
|
active: X(Z),
|
|
1091
|
-
onClick:
|
|
1091
|
+
onClick: re,
|
|
1092
1092
|
title: "显隐坐标轴"
|
|
1093
1093
|
}, null, 8, ["active"])
|
|
1094
|
-
], 512), [
|
|
1095
|
-
[se, !1]
|
|
1096
1094
|
]),
|
|
1097
1095
|
u("div", vl, [
|
|
1098
|
-
Me(t.$slots, "button-left", { switchRightPanel:
|
|
1096
|
+
Me(t.$slots, "button-left", { switchRightPanel: ce }, void 0, !0),
|
|
1099
1097
|
l(Y, {
|
|
1100
1098
|
name: "jiegoushu",
|
|
1101
1099
|
size: "24",
|
|
1102
|
-
onClick: i[0] || (i[0] = (x) =>
|
|
1100
|
+
onClick: i[0] || (i[0] = (x) => ce("场景树")),
|
|
1103
1101
|
active: b.value && f.value === "场景树",
|
|
1104
1102
|
title: "场景树"
|
|
1105
1103
|
}, null, 8, ["active"]),
|
|
1106
1104
|
l(Y, {
|
|
1107
1105
|
name: "clipping",
|
|
1108
1106
|
size: "24",
|
|
1109
|
-
onClick: i[1] || (i[1] = (x) =>
|
|
1107
|
+
onClick: i[1] || (i[1] = (x) => ce("剖面视图")),
|
|
1110
1108
|
active: b.value && f.value === "剖面视图",
|
|
1111
1109
|
title: "剖面视图"
|
|
1112
1110
|
}, null, 8, ["active"]),
|
|
1113
1111
|
l(Y, {
|
|
1114
1112
|
name: "zhaozi",
|
|
1115
1113
|
size: "24",
|
|
1116
|
-
onClick: i[2] || (i[2] = (x) =>
|
|
1114
|
+
onClick: i[2] || (i[2] = (x) => ce("工件树")),
|
|
1117
1115
|
active: b.value && f.value === "工件树",
|
|
1118
1116
|
title: "工件 "
|
|
1119
1117
|
}, null, 8, ["active"]),
|
|
1120
1118
|
l(Y, {
|
|
1121
1119
|
name: "donghuafangzhen",
|
|
1122
1120
|
size: "24",
|
|
1123
|
-
onClick: i[3] || (i[3] = (x) =>
|
|
1121
|
+
onClick: i[3] || (i[3] = (x) => ce("场景4"))
|
|
1124
1122
|
})
|
|
1125
1123
|
]),
|
|
1126
1124
|
u("div", fl, [
|
|
@@ -1189,7 +1187,7 @@ ${G.value.join(" ")}
|
|
|
1189
1187
|
onClick: Fe
|
|
1190
1188
|
})
|
|
1191
1189
|
]),
|
|
1192
|
-
|
|
1190
|
+
pe(u("div", hl, [
|
|
1193
1191
|
u("div", bl, [
|
|
1194
1192
|
u("span", null, he(p.value), 1),
|
|
1195
1193
|
u("span", {
|
|
@@ -1206,9 +1204,9 @@ ${G.value.join(" ")}
|
|
|
1206
1204
|
})
|
|
1207
1205
|
])
|
|
1208
1206
|
], 512), [
|
|
1209
|
-
[
|
|
1207
|
+
[de, C.value]
|
|
1210
1208
|
]),
|
|
1211
|
-
|
|
1209
|
+
pe(u("div", _l, [
|
|
1212
1210
|
u("div", wl, [
|
|
1213
1211
|
u("span", null, he(f.value), 1),
|
|
1214
1212
|
u("span", {
|
|
@@ -1233,7 +1231,7 @@ ${G.value.join(" ")}
|
|
|
1233
1231
|
f.value === "工件树" ? (Q(), ye(at, {
|
|
1234
1232
|
key: 2,
|
|
1235
1233
|
model: (x = X(W)) == null ? void 0 : x.obj,
|
|
1236
|
-
onVisibleChange: X(
|
|
1234
|
+
onVisibleChange: X(ie),
|
|
1237
1235
|
onUpdatePosition: X(F),
|
|
1238
1236
|
onUpdateRotation: X(ne)
|
|
1239
1237
|
}, null, 8, ["model", "onVisibleChange", "onUpdatePosition", "onUpdateRotation"])) : ke("", !0)
|
|
@@ -1243,9 +1241,9 @@ ${G.value.join(" ")}
|
|
|
1243
1241
|
})
|
|
1244
1242
|
])
|
|
1245
1243
|
], 512), [
|
|
1246
|
-
[
|
|
1244
|
+
[de, b.value]
|
|
1247
1245
|
]),
|
|
1248
|
-
|
|
1246
|
+
pe(u("div", kl, [
|
|
1249
1247
|
u("div", Pl, [
|
|
1250
1248
|
u("span", null, he(a.value), 1),
|
|
1251
1249
|
u("span", {
|
|
@@ -1256,16 +1254,16 @@ ${G.value.join(" ")}
|
|
|
1256
1254
|
u("div", xl, [
|
|
1257
1255
|
l(R, { height: "100%" }, {
|
|
1258
1256
|
default: M(() => [
|
|
1259
|
-
|
|
1260
|
-
[
|
|
1257
|
+
pe(l($t, { model: k.value }, null, 8, ["model"]), [
|
|
1258
|
+
[de, a.value === "关节控制"]
|
|
1261
1259
|
]),
|
|
1262
|
-
|
|
1260
|
+
pe(l(Ht, {
|
|
1263
1261
|
ref_key: "animationPanelRef",
|
|
1264
1262
|
ref: c,
|
|
1265
1263
|
model: k.value,
|
|
1266
1264
|
threeData: v.threeData
|
|
1267
1265
|
}, null, 8, ["model", "threeData"]), [
|
|
1268
|
-
[
|
|
1266
|
+
[de, a.value === "动画仿真"]
|
|
1269
1267
|
]),
|
|
1270
1268
|
Me(t.$slots, "right-panel", { rightPanelType: a.value }, void 0, !0)
|
|
1271
1269
|
]),
|
|
@@ -1273,7 +1271,7 @@ ${G.value.join(" ")}
|
|
|
1273
1271
|
})
|
|
1274
1272
|
])
|
|
1275
1273
|
], 512), [
|
|
1276
|
-
[
|
|
1274
|
+
[de, w.value]
|
|
1277
1275
|
]),
|
|
1278
1276
|
_.value ? (Q(), Ve("div", Rl, [
|
|
1279
1277
|
i[10] || (i[10] = u("div", { class: "loading-spinner" }, null, -1)),
|
|
@@ -1286,7 +1284,7 @@ ${G.value.join(" ")}
|
|
|
1286
1284
|
]);
|
|
1287
1285
|
};
|
|
1288
1286
|
}
|
|
1289
|
-
}), Jl = /* @__PURE__ */ Ue(Ml, [["__scopeId", "data-v-
|
|
1287
|
+
}), Jl = /* @__PURE__ */ Ue(Ml, [["__scopeId", "data-v-ec34be42"]]);
|
|
1290
1288
|
export {
|
|
1291
1289
|
Jl as default
|
|
1292
1290
|
};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { defineComponent as ge, ref as r, computed as k, watch as X, onUnmounted as De, resolveComponent as G, createElementBlock as x, openBlock as g, createElementVNode as n, createCommentVNode as U, createVNode as s, toDisplayString as L, Fragment as Be, renderList as Je, withCtx as le, shallowRef as te, onMounted as Me, nextTick as me, onBeforeUnmount as Ee, withDirectives as I, vShow as W, unref as z, renderSlot as ve, createBlock as de } from "vue";
|
|
2
|
-
import { s as pe } from "./threeViewerHost-
|
|
3
|
-
import { u as Ge, a as He, b as Ie, T as y, C as We } from "./iconfont-
|
|
4
|
-
import { U as Xe, u as Ye, a as Ze, W as qe } from "./workpieceTreePanel-
|
|
2
|
+
import { s as pe } from "./threeViewerHost-Dv0JTTnu.js";
|
|
3
|
+
import { u as Ge, a as He, b as Ie, T as y, C as We } from "./iconfont-Ij2RVNFj.js";
|
|
4
|
+
import { U as Xe, u as Ye, a as Ze, W as qe } from "./workpieceTreePanel-Ch75Cqlr.js";
|
|
5
5
|
import { c as Ke } from "./index-DkDX7FWy.js";
|
|
6
|
-
import "./index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_05e3a1d8_lang-DFJL-r6K.js";
|
|
7
7
|
import { _ as fe } from "./index.vue_vue_type_script_setup_true_lang-BqS9V6jf.js";
|
|
8
|
-
import { g as Qe, b as et, U as tt, J as lt, d as nt } from "./urdfTree-
|
|
8
|
+
import { g as Qe, b as et, U as tt, J as lt, d as nt } from "./urdfTree-CLtWTrD6.js";
|
|
9
9
|
import { E as _ } from "./request-DzUsnuWu.js";
|
|
10
10
|
import { _ as he } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
11
|
-
import { i as at } from "./animationData-
|
|
12
|
-
import { O as ot } from "./MTLLoader-
|
|
11
|
+
import { i as at } from "./animationData-DwQetFQD.js";
|
|
12
|
+
import { O as ot } from "./MTLLoader-Cw11TWAL.js";
|
|
13
13
|
const st = { class: "panel-content" }, it = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "animation-controls"
|