ss-component-new 1.3.623 → 1.3.625
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/JSEncrypt-B36c1iN5.js +1983 -0
- package/dist/{MTLLoader-DMhnklB_.js → MTLLoader-DuV8_PYP.js} +2 -2
- package/dist/{URDFLoader-BAD5outO.js → URDFLoader-DfNVA8GD.js} +584 -589
- package/dist/{animationData-BivNXwi8.js → animationData-DjGdx41B.js} +3 -3
- package/dist/{array-DVFpR3i6.js → array-C-L4O-q0.js} +42 -41
- package/dist/{clone-MyfSNInd.js → clone-CbeCG3Ov.js} +1 -1
- package/dist/{eleIcon-BoKZ_PzU.js → eleIcon-Dtsx377t.js} +2 -2
- package/dist/{iconfont-CtG24-bX.js → iconfont-BRu9GzMR.js} +91 -91
- package/dist/icons/svg/functionList.svg +1 -0
- package/dist/{index-DJrzqi4-.js → index-11kpzK0A.js} +17 -17
- package/dist/{index-eHRjbFnR.js → index-BBeQD0s0.js} +202 -193
- package/dist/{index-DErPB-d8.js → index-BDgaEPWa.js} +40 -36
- package/dist/{index-dD-mKgue.js → index-BHtNKL1L.js} +2 -2
- package/dist/{index-DCY5J8nu.js → index-BI3gwdBk.js} +1 -1
- package/dist/{index-6qXeMn6b.js → index-BK7QfhLA.js} +3 -3
- package/dist/{index-BybrpYzx.js → index-BR4lT5aP.js} +5 -5
- package/dist/{index-B2LYEScO.js → index-B_k0K6PO.js} +4 -4
- package/dist/{index-D2Nbhdyp.js → index-BcOObFLF.js} +22 -20
- package/dist/{index-C7U5HDoF.js → index-CA61YqCo.js} +8 -8
- package/dist/{index-CvZcm-Tt.js → index-CDpLX430.js} +8 -7
- package/dist/{index-nKrk42el.js → index-CGVo5md_.js} +4 -4
- package/dist/{index-1I7eukQf.js → index-CRs6-4Q2.js} +8981 -9420
- package/dist/index-CXav_oAV.js +572 -0
- package/dist/{index-DIVct0z6.js → index-CaXC8Jyl.js} +5 -5
- package/dist/{index-yipj2id1.js → index-CmAAjlm7.js} +3 -3
- package/dist/{index-COpc0s4t.js → index-Cq7_ROtd.js} +62 -60
- package/dist/{index-B8NQAdR4.js → index-CtvxzFRf.js} +1298 -1292
- package/dist/{index-CFniuDkF.js → index-CwToCssN.js} +19 -19
- package/dist/{index-BkkvdZXm.js → index-CyDayZei.js} +44 -41
- package/dist/{index-BU9xRmBn.js → index-CyTQWpix.js} +5 -5
- package/dist/{index-CM6aWexA.js → index-DB7oGP7_.js} +2 -2
- package/dist/{index-dmrMsEJn.js → index-DLix-dLB.js} +75 -69
- package/dist/{index-BJmov708.js → index-DUj44DQp.js} +3 -3
- package/dist/{index-D_PRj4Vs.js → index-DY8GPA6b.js} +437 -437
- package/dist/{index-BjEiOqAI.js → index-DYm6i2sH.js} +4 -4
- package/dist/{index-DmILGKv9.js → index-DePuqaJT.js} +61 -57
- package/dist/{index-BfM_hH1v.js → index-Dl1CBHxf.js} +50 -50
- package/dist/index-DleBYnVS.js +11010 -0
- package/dist/{index-CkO7j_i1.js → index-DvpRXl9O.js} +8 -8
- package/dist/{index-CT1LWsrT.js → index-TGai9FYc.js} +5 -5
- package/dist/{index-CjRltPMx.js → index-dpMccf4n.js} +20658 -20635
- package/dist/{index-Dr6UVDuO.js → index-pH8W1sFm.js} +11 -11
- package/dist/{index-BFqUz4pN.js → index-rlStojTL.js} +1 -1
- package/dist/{index-B4NcYIuS.js → index-tLd2cEHX.js} +1 -1
- package/dist/{index.vue_vue_type_script_setup_true_lang-DwbHXtUp.js → index.vue_vue_type_script_setup_true_lang-DRzriV-s.js} +2 -2
- package/dist/{index.vue_vue_type_style_index_0_scoped_39e1db95_lang-DrICHBhu.js → index.vue_vue_type_style_index_0_scoped_39e1db95_lang-C3u-edEE.js} +27735 -27760
- package/dist/isString-CXX7MUiv.js +8 -0
- package/dist/{localIcon-CoJHw5ss.js → localIcon-D5UoFBU5.js} +1 -1
- package/dist/{main-DK4IZx7n.js → main-DYI_gzHb.js} +9 -9
- package/dist/{menuIndex-BiUB7t5q.js → menuIndex-BsSEf1du.js} +1 -1
- package/dist/obj/model.mtl +42 -0
- package/dist/obj/model.obj +26110 -0
- package/dist/{request-BfrhYBTM.js → request-D-LN5bvn.js} +3075 -3493
- package/dist/ss-component.css +3 -3
- package/dist/ss-component.js +14 -14
- package/dist/ss-component2.js +13 -13
- package/dist/ss-component3.js +1 -1
- package/dist/{threeModel-DyfwUZBe.js → threeModel-ecaJ0DIL.js} +174 -174
- package/dist/{threePreview-VgYHwBPZ.js → threePreview-BhUCpcNm.js} +12 -12
- package/dist/{threeSceneView-B741OdNa.js → threeSceneView-CF0B8Eqh.js} +24 -23
- package/dist/{threeSceneViewForCPMPIP-UjEFfPgg.js → threeSceneViewForCPMPIP-Cl0y_dru.js} +17 -16
- package/dist/{threeTrackPathView-B_uPNM5T.js → threeTrackPathView-0PmSjWTX.js} +7 -7
- package/dist/{threeViewerHost-BEGDV6UB.js → threeViewerHost-BDWUjTdj.js} +11 -11
- package/dist/{urdfTree-DFTtpJ1T.js → urdfTree-Cxg9PfRQ.js} +9 -9
- package/dist/{workpieceTreePanel-D5BfZ6Fw.js → workpieceTreePanel-BLvwYtnY.js} +60 -56
- package/package.json +1 -1
- package/public/icons/svg/functionList.svg +1 -0
- package/public/obj/model.mtl +42 -0
- package/public/obj/model.obj +26110 -0
- package/dist/index-BRSmS6mX.js +0 -10771
- package/dist/index-DwXNsgEY.js +0 -2623
- package/dist/isString-Dxm3W5iX.js +0 -8
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { ref as S, shallowRef as W0, defineComponent as C0, watch as X, onMounted as S0, nextTick as L0, onBeforeUnmount as Z0, resolveComponent as z0, openBlock as $,
|
|
2
|
-
import { ak as X0, al as f0, am as w0, R as N0, an as Q, U as Y, ao as D, ap as v0, C as q, aq as M, c as x, ar as $0, j as ee, D as ae, n as K, V as C, as as be, at as T0, au as ie, av as R0, aw as He, ax as re, a1 as J, ay as fe, az as M0, aA as ce, aB as te, aC as de, aD as c0, aE as D0, aF as t0, aG as ne, aH as oe, _ as ke, aI as e0, a2 as se, t as O0, l as ue, aJ as z, aK as le, u as E0, aL as he, h as G0, aM as ge, w as _e, aN as Ae, $ as pe, s as a0, P as me,
|
|
3
|
-
import "./index-
|
|
4
|
-
import { u as Oe, a as Ee, b as Ge, T as W, C as Ue } from "./iconfont-
|
|
5
|
-
import { M as xe, O as qe, S as Be } from "./MTLLoader-
|
|
6
|
-
import { E as p0 } from "./request-
|
|
1
|
+
import { ref as S, shallowRef as W0, defineComponent as C0, watch as X, onMounted as S0, nextTick as L0, onBeforeUnmount as Z0, resolveComponent as z0, createElementBlock as k0, openBlock as $, createElementVNode as T, withDirectives as Q0, createCommentVNode as s0, createVNode as B, unref as V, renderSlot as u0, toDisplayString as l0, withCtx as J0, createBlock as Y0, vShow as K0 } from "vue";
|
|
2
|
+
import { ak as X0, al as f0, am as w0, R as N0, an as Q, U as Y, ao as D, ap as v0, C as q, aq as M, c as x, ar as $0, j as ee, D as ae, n as K, V as C, as as be, at as T0, au as ie, av as R0, aw as He, ax as re, a1 as J, ay as fe, az as M0, aA as ce, aB as te, aC as de, aD as c0, aE as D0, aF as t0, aG as ne, aH as oe, _ as ke, aI as e0, a2 as se, t as O0, l as ue, aJ as z, aK as le, u as E0, aL as he, h as G0, aM as ge, w as _e, aN as Ae, $ as pe, s as a0, P as me, o as je, aO as Ie, aP as ye, aQ as Fe, aR as we, aS as Ne, aT as U0, aU as ve, aV as h0, aW as g0, aX as _0, aY as A0, aZ as d0, a4 as Te, a_ as Re, B as x0, a$ as Me, k as De } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-C3u-edEE.js";
|
|
3
|
+
import "./index-CtvxzFRf.js";
|
|
4
|
+
import { u as Oe, a as Ee, b as Ge, T as W, C as Ue } from "./iconfont-BRu9GzMR.js";
|
|
5
|
+
import { M as xe, O as qe, S as Be } from "./MTLLoader-DuV8_PYP.js";
|
|
6
|
+
import { E as p0 } from "./request-D-LN5bvn.js";
|
|
7
7
|
import { _ as Ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
8
|
function m0(k, e) {
|
|
9
9
|
if (e === X0)
|
|
@@ -2212,7 +2212,7 @@ const N2 = { class: "obj-viewer-container" }, v2 = { class: "buttonGroup-topLeft
|
|
|
2212
2212
|
}, null, 8, ["active"])
|
|
2213
2213
|
]),
|
|
2214
2214
|
T("div", T2, [
|
|
2215
|
-
|
|
2215
|
+
u0(j.$slots, "button-left", { switchRightPanel: v }, void 0, !0),
|
|
2216
2216
|
B(W, {
|
|
2217
2217
|
name: "clipping",
|
|
2218
2218
|
size: "24",
|
|
@@ -2222,12 +2222,12 @@ const N2 = { class: "obj-viewer-container" }, v2 = { class: "buttonGroup-topLeft
|
|
|
2222
2222
|
}, null, 8, ["active"])
|
|
2223
2223
|
]),
|
|
2224
2224
|
T("div", R2, [
|
|
2225
|
-
|
|
2225
|
+
u0(j.$slots, "button-right", {}, void 0, !0)
|
|
2226
2226
|
]),
|
|
2227
2227
|
R[3] || (R[3] = T("div", { class: "buttonGroup-bottom" }, null, -1)),
|
|
2228
2228
|
Q0(T("div", M2, [
|
|
2229
2229
|
T("div", D2, [
|
|
2230
|
-
T("span", null,
|
|
2230
|
+
T("span", null, l0(b.value), 1),
|
|
2231
2231
|
T("span", {
|
|
2232
2232
|
class: "close",
|
|
2233
2233
|
onClick: R[1] || (R[1] = (P0) => r.value = !1)
|
|
@@ -2239,7 +2239,7 @@ const N2 = { class: "obj-viewer-container" }, v2 = { class: "buttonGroup-topLeft
|
|
|
2239
2239
|
key: 0,
|
|
2240
2240
|
value: V(I),
|
|
2241
2241
|
onChange: N
|
|
2242
|
-
}, null, 8, ["value"])) :
|
|
2242
|
+
}, null, 8, ["value"])) : s0("", !0)
|
|
2243
2243
|
]),
|
|
2244
2244
|
_: 1
|
|
2245
2245
|
})
|
|
@@ -2248,8 +2248,8 @@ const N2 = { class: "obj-viewer-container" }, v2 = { class: "buttonGroup-topLeft
|
|
|
2248
2248
|
]),
|
|
2249
2249
|
V(o) ? ($(), k0("div", O2, [
|
|
2250
2250
|
R[2] || (R[2] = T("div", { class: "loading-spinner" }, null, -1)),
|
|
2251
|
-
T("p", null,
|
|
2252
|
-
])) :
|
|
2251
|
+
T("p", null, l0(V(s)), 1)
|
|
2252
|
+
])) : s0("", !0)
|
|
2253
2253
|
]);
|
|
2254
2254
|
};
|
|
2255
2255
|
}
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import { defineComponent as Le, ref as h, watch as ae, shallowRef as be, computed as Pe, onUnmounted as Ie, resolveComponent as U,
|
|
2
|
-
import { r as Te, s as Ye } from "./threeViewerHost-
|
|
3
|
-
import { u as Ne, a as Qe, b as et, T as Y, C as tt } from "./iconfont-
|
|
4
|
-
import { U as lt, u as ot,
|
|
5
|
-
import { c as st } from "./index-
|
|
6
|
-
import { av as it, E as j, aM as rt, aN as ct } from "./request-
|
|
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-BDWUjTdj.js";
|
|
3
|
+
import { u as Ne, a as Qe, b as et, T as Y, C as tt } from "./iconfont-BRu9GzMR.js";
|
|
4
|
+
import { U as lt, u as ot, a as nt, W as at } from "./workpieceTreePanel-BLvwYtnY.js";
|
|
5
|
+
import { c as st } from "./index-CtvxzFRf.js";
|
|
6
|
+
import { av as it, E as j, aM as rt, aN as ct } from "./request-D-LN5bvn.js";
|
|
7
7
|
/* empty css */
|
|
8
|
-
import {
|
|
9
|
-
import "./index-
|
|
10
|
-
import "./index-
|
|
11
|
-
import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-
|
|
12
|
-
import { y as Be, z as Ct, A as kt } from "./index-
|
|
13
|
-
import "./index-
|
|
14
|
-
import "./index-
|
|
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-
|
|
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_39e1db95_lang-C3u-edEE.js";
|
|
9
|
+
import "./index-dpMccf4n.js";
|
|
10
|
+
import "./index-BHtNKL1L.js";
|
|
11
|
+
import { _ as me } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
12
|
+
import { y as Be, z as Ct, A as kt } from "./index-DY8GPA6b.js";
|
|
13
|
+
import "./index-CXav_oAV.js";
|
|
14
|
+
import "./index-Dl1CBHxf.js";
|
|
15
|
+
import { f as Pt, a as xt, g as Rt, b as Mt } from "./animationData-DjGdx41B.js";
|
|
16
|
+
import { g as Tt, a as Vt, b as Dt, c as St, U as At, J as $t } from "./urdfTree-Cxg9PfRQ.js";
|
|
17
17
|
import { _ as Ue } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
18
|
-
import { s as Ft } from "./index-
|
|
19
|
-
const I = 1e-3, oe =
|
|
18
|
+
import { s as Ft } from "./index-11kpzK0A.js";
|
|
19
|
+
const I = 1e-3, oe = ut.degToRad, je = new dt({
|
|
20
20
|
// 灰色
|
|
21
21
|
color: 13421772,
|
|
22
22
|
metalness: 0.3,
|
|
@@ -53,7 +53,7 @@ const Je = (y) => y.reduce((v, d) => {
|
|
|
53
53
|
return v;
|
|
54
54
|
};
|
|
55
55
|
function Yt(y, v) {
|
|
56
|
-
const d = new
|
|
56
|
+
const d = new pt();
|
|
57
57
|
d.name = "CompletePipe";
|
|
58
58
|
const n = {
|
|
59
59
|
pos: new D(0, 0, 0),
|
|
@@ -668,7 +668,8 @@ ${G.value.join(" ")}
|
|
|
668
668
|
placeholder: _e.value
|
|
669
669
|
}, null, 8, ["modelValue", "placeholder"])
|
|
670
670
|
]),
|
|
671
|
-
_: 1
|
|
671
|
+
_: 1,
|
|
672
|
+
__: [11]
|
|
672
673
|
}, 8, ["modelValue"])
|
|
673
674
|
]);
|
|
674
675
|
};
|
|
@@ -724,7 +725,7 @@ ${G.value.join(" ")}
|
|
|
724
725
|
}, B = () => {
|
|
725
726
|
const { form: S, list: P } = g.value, {
|
|
726
727
|
outerDiameter: N
|
|
727
|
-
} = S, E = N / 2, J = P == null ? void 0 : P.map((
|
|
728
|
+
} = S, E = N / 2, J = P == null ? void 0 : P.map((te) => {
|
|
728
729
|
const { y: q, b: W, c: ie, r: F, Y: ne, B: fe, C: re, R: we } = te;
|
|
729
730
|
return ne ? {
|
|
730
731
|
Y: ne,
|
|
@@ -737,7 +738,7 @@ ${G.value.join(" ")}
|
|
|
737
738
|
C: ie,
|
|
738
739
|
R: F
|
|
739
740
|
};
|
|
740
|
-
})
|
|
741
|
+
});
|
|
741
742
|
p();
|
|
742
743
|
const O = Yt(J, E);
|
|
743
744
|
c(O);
|
|
@@ -986,7 +987,7 @@ ${G.value.join(" ")}
|
|
|
986
987
|
toggleAxesVisibility: ee,
|
|
987
988
|
zoomIn: G,
|
|
988
989
|
zoomOut: _e
|
|
989
|
-
} = Ne(n), { loadSceneFromFile: ve } =
|
|
990
|
+
} = Ne(n), { loadSceneFromFile: ve } = nt(
|
|
990
991
|
V,
|
|
991
992
|
T,
|
|
992
993
|
_,
|
|
@@ -1227,7 +1228,7 @@ ${G.value.join(" ")}
|
|
|
1227
1228
|
value: X(J),
|
|
1228
1229
|
onChange: we
|
|
1229
1230
|
}, null, 8, ["value"])) : ke("", !0),
|
|
1230
|
-
f.value === "工件树" ? (Q(), ye(
|
|
1231
|
+
f.value === "工件树" ? (Q(), ye(at, {
|
|
1231
1232
|
key: 2,
|
|
1232
1233
|
model: (x = X(W)) == null ? void 0 : x.obj,
|
|
1233
1234
|
onVisibleChange: X(ie),
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { defineComponent as ge, ref as r, computed as k, watch as X, onUnmounted as De, resolveComponent as G,
|
|
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,
|
|
5
|
-
import { c as Ke } from "./index-
|
|
6
|
-
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-
|
|
7
|
-
import { _ as fe } from "./index.vue_vue_type_script_setup_true_lang-
|
|
8
|
-
import { g as Qe, b as et, U as tt, J as lt, d as nt } from "./urdfTree-
|
|
9
|
-
import { E as _ } from "./request-
|
|
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-BDWUjTdj.js";
|
|
3
|
+
import { u as Ge, a as He, b as Ie, T as y, C as We } from "./iconfont-BRu9GzMR.js";
|
|
4
|
+
import { U as Xe, u as Ye, a as Ze, W as qe } from "./workpieceTreePanel-BLvwYtnY.js";
|
|
5
|
+
import { c as Ke } from "./index-CtvxzFRf.js";
|
|
6
|
+
import "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-C3u-edEE.js";
|
|
7
|
+
import { _ as fe } from "./index.vue_vue_type_script_setup_true_lang-DRzriV-s.js";
|
|
8
|
+
import { g as Qe, b as et, U as tt, J as lt, d as nt } from "./urdfTree-Cxg9PfRQ.js";
|
|
9
|
+
import { E as _ } from "./request-D-LN5bvn.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-DjGdx41B.js";
|
|
12
|
+
import { O as ot } from "./MTLLoader-DuV8_PYP.js";
|
|
13
13
|
const st = { class: "panel-content" }, it = {
|
|
14
14
|
key: 0,
|
|
15
15
|
class: "animation-controls"
|
|
@@ -171,9 +171,9 @@ ${R.value.join(" ")}
|
|
|
171
171
|
])
|
|
172
172
|
])
|
|
173
173
|
])) : U("", !0),
|
|
174
|
-
i.value.length === 0 ? (g(), x("div", dt,
|
|
174
|
+
i.value.length === 0 ? (g(), x("div", dt, l[9] || (l[9] = [
|
|
175
175
|
n("p", null, "请先创建数据", -1)
|
|
176
|
-
])
|
|
176
|
+
]))) : U("", !0),
|
|
177
177
|
s(m, {
|
|
178
178
|
modelValue: T.value,
|
|
179
179
|
"onUpdate:modelValue": l[4] || (l[4] = (p) => T.value = p),
|
|
@@ -203,7 +203,8 @@ ${R.value.join(" ")}
|
|
|
203
203
|
placeholder: ne.value
|
|
204
204
|
}, null, 8, ["modelValue", "placeholder"])
|
|
205
205
|
]),
|
|
206
|
-
_: 1
|
|
206
|
+
_: 1,
|
|
207
|
+
__: [10]
|
|
207
208
|
}, 8, ["modelValue"])
|
|
208
209
|
]);
|
|
209
210
|
};
|
|
@@ -257,7 +258,7 @@ ${R.value.join(" ")}
|
|
|
257
258
|
toggleAxesVisibility: l,
|
|
258
259
|
zoomIn: b,
|
|
259
260
|
zoomOut: A
|
|
260
|
-
} = Ge(c), { loadSceneFromFile: u } =
|
|
261
|
+
} = Ge(c), { loadSceneFromFile: u } = Ze(
|
|
261
262
|
D,
|
|
262
263
|
N,
|
|
263
264
|
h,
|
|
@@ -464,7 +465,7 @@ ${R.value.join(" ")}
|
|
|
464
465
|
value: z(E),
|
|
465
466
|
onChange: je
|
|
466
467
|
}, null, 8, ["value"])) : U("", !0),
|
|
467
|
-
v.value === "工件树" ? (g(), de(
|
|
468
|
+
v.value === "工件树" ? (g(), de(qe, {
|
|
468
469
|
key: 2,
|
|
469
470
|
model: ($ = z(Ce)) == null ? void 0 : $.obj,
|
|
470
471
|
onVisibleChange: z(Pe),
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
import { defineComponent as ce, computed as U, ref as k, resolveComponent as E,
|
|
2
|
-
import { u as De, a as Ne, b as Ze, T as w, C as Be, f as Ie, d as re } from "./iconfont-
|
|
3
|
-
import { C as O, h as Oe, b0 as Ge, t as qe, V as te, u as ue, Y as fe, a2 as Ke, w as We, a1 as Je, _ as Re, $ as He,
|
|
4
|
-
import "./index-
|
|
5
|
-
import { U as et, J as tt } from "./urdfTree-
|
|
6
|
-
import { E as B } from "./request-
|
|
1
|
+
import { defineComponent as ce, computed as U, ref as k, resolveComponent as E, createElementBlock as ee, openBlock as X, createElementVNode as d, createVNode as p, withCtx as I, toDisplayString as Y, shallowRef as D, watch as Ee, onMounted as Xe, onBeforeUnmount as Ye, withDirectives as N, createCommentVNode as S, unref as A, renderSlot as ae, createBlock as le, vShow as Z, nextTick as je } from "vue";
|
|
2
|
+
import { u as De, a as Ne, b as Ze, T as w, C as Be, f as Ie, d as re } from "./iconfont-BRu9GzMR.js";
|
|
3
|
+
import { C as O, h as Oe, b0 as Ge, t as qe, V as te, u as ue, Y as fe, a2 as Ke, w as We, a1 as Je, _ as Re, $ as He, o as Qe, b1 as Se } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-C3u-edEE.js";
|
|
4
|
+
import "./index-CtvxzFRf.js";
|
|
5
|
+
import { U as et, J as tt } from "./urdfTree-Cxg9PfRQ.js";
|
|
6
|
+
import { E as B } from "./request-D-LN5bvn.js";
|
|
7
7
|
import { _ as ve } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
8
|
-
import { i as nt } from "./isString-
|
|
8
|
+
import { i as nt } from "./isString-CXX7MUiv.js";
|
|
9
9
|
function ot(e = 0.5, n = 4) {
|
|
10
10
|
const o = new Oe(
|
|
11
11
|
new Ge(e, n, 32),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { defineComponent as U, defineAsyncComponent as b, computed as I, ref as R, watch as H,
|
|
2
|
-
import {
|
|
3
|
-
import { g as j, q as M, r as L } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-
|
|
1
|
+
import { defineComponent as U, defineAsyncComponent as b, computed as I, ref as R, watch as H, createElementBlock as N, openBlock as T, createElementVNode as K, createBlock as B, createCommentVNode as V, renderSlot as u, unref as m, withCtx as d } from "vue";
|
|
2
|
+
import { a0 as W, u as A, p as D, s as $ } from "./index-CtvxzFRf.js";
|
|
3
|
+
import { g as j, q as M, r as L } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-C3u-edEE.js";
|
|
4
4
|
import { _ as G } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
5
5
|
const re = {
|
|
6
6
|
SINGLE: "单机",
|
|
@@ -17,7 +17,7 @@ const re = {
|
|
|
17
17
|
// 重大专项场景
|
|
18
18
|
PREVIEW: "preview"
|
|
19
19
|
// 预览模式
|
|
20
|
-
},
|
|
20
|
+
}, q = W("threeState", {
|
|
21
21
|
state: () => ({
|
|
22
22
|
data: {
|
|
23
23
|
files: [],
|
|
@@ -33,8 +33,8 @@ const re = {
|
|
|
33
33
|
}
|
|
34
34
|
}
|
|
35
35
|
});
|
|
36
|
-
function
|
|
37
|
-
const E = A(D), { platform: O } = $(E), y =
|
|
36
|
+
function z() {
|
|
37
|
+
const E = A(D), { platform: O } = $(E), y = q(D), i = ["uv", "cyd", "nc"], p = ["urdf"], n = ["obj", "stl"], P = [...i, ...p, ...n], f = (e) => {
|
|
38
38
|
if (!g())
|
|
39
39
|
throw new Error("不是三维系统");
|
|
40
40
|
y.setData(e);
|
|
@@ -99,7 +99,7 @@ function q() {
|
|
|
99
99
|
}
|
|
100
100
|
};
|
|
101
101
|
}
|
|
102
|
-
const
|
|
102
|
+
const Y = { class: "three-platform mv-inline" }, J = { class: "top-menu" }, Q = {
|
|
103
103
|
key: 4,
|
|
104
104
|
class: "loading"
|
|
105
105
|
}, X = /* @__PURE__ */ U({
|
|
@@ -112,7 +112,7 @@ const z = { class: "three-platform mv-inline" }, J = { class: "top-menu" }, Q =
|
|
|
112
112
|
height: { default: "100%" }
|
|
113
113
|
},
|
|
114
114
|
setup(E) {
|
|
115
|
-
const O = b(() => import("./threeSceneView-
|
|
115
|
+
const O = b(() => import("./threeSceneView-CF0B8Eqh.js")), y = b(() => import("./threePreview-BhUCpcNm.js")), i = b(() => import("./threeTrackPathView-0PmSjWTX.js")), p = b(() => import("./threeSceneViewForCPMPIP-Cl0y_dru.js")), n = E, P = A(D), { platName: f } = $(P), { isUrdf: _, isTrackPathFile: g } = z(), c = I(() => {
|
|
116
116
|
var t;
|
|
117
117
|
return (t = n == null ? void 0 : n.files) == null ? void 0 : t.map((s) => {
|
|
118
118
|
const { url: e, name: r } = s;
|
|
@@ -163,7 +163,7 @@ const z = { class: "three-platform mv-inline" }, J = { class: "top-menu" }, Q =
|
|
|
163
163
|
await k(t || []);
|
|
164
164
|
},
|
|
165
165
|
{ immediate: !0, deep: !0 }
|
|
166
|
-
), (t, s) => (T(), N("div",
|
|
166
|
+
), (t, s) => (T(), N("div", Y, [
|
|
167
167
|
K("div", J, [
|
|
168
168
|
u(t.$slots, "top-menu", {}, void 0, !0)
|
|
169
169
|
]),
|
|
@@ -225,9 +225,9 @@ const z = { class: "three-platform mv-inline" }, J = { class: "top-menu" }, Q =
|
|
|
225
225
|
}, Symbol.toStringTag, { value: "Module" }));
|
|
226
226
|
export {
|
|
227
227
|
Z as T,
|
|
228
|
-
|
|
228
|
+
z as a,
|
|
229
229
|
re as r,
|
|
230
230
|
se as s,
|
|
231
231
|
oe as t,
|
|
232
|
-
|
|
232
|
+
q as u
|
|
233
233
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { defineComponent as I, ref as F, watch as M, onMounted as C, onUnmounted as E,
|
|
2
|
-
import { h as V } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-
|
|
1
|
+
import { defineComponent as I, ref as F, watch as M, onMounted as C, onUnmounted as E, createElementBlock as m, openBlock as f, Fragment as P, renderList as T, createElementVNode as d, createCommentVNode as U, toDisplayString as h, computed as L, resolveComponent as S, createVNode as A } from "vue";
|
|
2
|
+
import { h as V } from "./index.vue_vue_type_style_index_0_scoped_39e1db95_lang-C3u-edEE.js";
|
|
3
3
|
import { _ as b } from "./_plugin-vue_export-helper-CHgC5LLL.js";
|
|
4
4
|
const D = (i, a) => {
|
|
5
5
|
if (!a)
|
|
@@ -109,9 +109,9 @@ const D = (i, a) => {
|
|
|
109
109
|
k();
|
|
110
110
|
}), a({
|
|
111
111
|
resetAllJoints: g
|
|
112
|
-
}), (n, e) => (
|
|
113
|
-
o.value.length > 0 ? (
|
|
114
|
-
(
|
|
112
|
+
}), (n, e) => (f(), m("div", R, [
|
|
113
|
+
o.value.length > 0 ? (f(), m("div", O, [
|
|
114
|
+
(f(!0), m(P, null, T(o.value, (s) => (f(), m("div", {
|
|
115
115
|
key: s.name,
|
|
116
116
|
class: "joint-item"
|
|
117
117
|
}, [
|
|
@@ -122,7 +122,7 @@ const D = (i, a) => {
|
|
|
122
122
|
]),
|
|
123
123
|
d("span", z, h(s.type), 1)
|
|
124
124
|
]),
|
|
125
|
-
s.type === "revolute" || s.type === "prismatic" || s.type === "continuous" ? (
|
|
125
|
+
s.type === "revolute" || s.type === "prismatic" || s.type === "continuous" ? (f(), m("div", G, [
|
|
126
126
|
d("div", H, [
|
|
127
127
|
d("input", {
|
|
128
128
|
type: "range",
|
|
@@ -140,9 +140,9 @@ const D = (i, a) => {
|
|
|
140
140
|
])
|
|
141
141
|
])) : U("", !0)
|
|
142
142
|
]))), 128))
|
|
143
|
-
])) : (
|
|
143
|
+
])) : (f(), m("div", Z, e[0] || (e[0] = [
|
|
144
144
|
d("p", null, "未检测到可控制的关节", -1)
|
|
145
|
-
])
|
|
145
|
+
])))
|
|
146
146
|
]));
|
|
147
147
|
}
|
|
148
148
|
}), ce = /* @__PURE__ */ b(j, [["__scopeId", "data-v-b1467983"]]), ee = { class: "panel-content" }, te = "id", se = {
|
|
@@ -231,7 +231,7 @@ const D = (i, a) => {
|
|
|
231
231
|
{ immediate: !0 }
|
|
232
232
|
), (e, s) => {
|
|
233
233
|
const r = S("el-tree");
|
|
234
|
-
return
|
|
234
|
+
return f(), m("div", ee, [
|
|
235
235
|
A(r, {
|
|
236
236
|
data: u.value,
|
|
237
237
|
props: _,
|