ss-component-new 1.2.165 → 1.2.166

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (111) hide show
  1. package/dist/{MTLLoader-DqSL2MhN.cjs → MTLLoader-DLHG9vWs.cjs} +1 -1
  2. package/dist/{MTLLoader-CZI-laNK.js → MTLLoader-DiZPxyri.js} +1 -1
  3. package/dist/{OrbitControls-suq0N_mu.cjs → OrbitControls-BQ2FPaVt.cjs} +1 -1
  4. package/dist/{OrbitControls-BGIh288-.js → OrbitControls-DTxAZ5uy.js} +1 -1
  5. package/dist/{animationData-bLISc5AB.cjs → animationData-By-roVYO.cjs} +1 -1
  6. package/dist/{animationData-DPk8z-Qc.js → animationData-G8UlGfAg.js} +2 -2
  7. package/dist/{array-DXu383Fa.cjs → array-DSI0zoeK.cjs} +1 -1
  8. package/dist/{array-B9gWNnej.js → array-hVSP5aMP.js} +1 -1
  9. package/dist/{dataUtil-Brpg9CSN.cjs → dataUtil-CqQ6nLIT.cjs} +1 -1
  10. package/dist/{dataUtil-DcGEuoWS.js → dataUtil-Db9ZcUfi.js} +1 -1
  11. package/dist/{iconfont-C-jLDDui.js → iconfont-DDhe-BUl.js} +2 -2
  12. package/dist/{iconfont-CpbN39ZP.cjs → iconfont-ZL_6BkHR.cjs} +1 -1
  13. package/dist/{index-Djli8zb_.cjs → index-0tBTYGKK.cjs} +1 -1
  14. package/dist/{index-X7rj3Bau.cjs → index-B08WJoPH.cjs} +1 -1
  15. package/dist/{index-D6ZtjYlX.cjs → index-B6VnMtMB.cjs} +1 -1
  16. package/dist/{index-BJ6RWIyr.cjs → index-BAHt3Bu3.cjs} +1 -1
  17. package/dist/{index-e3-jEBsv.js → index-BB2L3FNC.js} +2 -2
  18. package/dist/{index-BbxeIFLk.cjs → index-BGINM1ks.cjs} +1 -1
  19. package/dist/{index-Ojz4i3x-.js → index-BKuG3c9f.js} +5 -5
  20. package/dist/{index-CcAVElxY.js → index-BMonRqrI.js} +877 -877
  21. package/dist/{index-D2Wj4a2B.cjs → index-BR9EBw7N.cjs} +1 -1
  22. package/dist/{index-DHMUS6aq.cjs → index-BSUi85HP.cjs} +1 -1
  23. package/dist/{index-AUfoE1wx.cjs → index-BT26HF4q.cjs} +1 -1
  24. package/dist/{index-CiG2rXe1.cjs → index-BWrJa_TO.cjs} +1 -1
  25. package/dist/{index-B0iWiP90.cjs → index-BZ7X6w42.cjs} +1 -1
  26. package/dist/{index-OZj8RHsD.js → index-BaWTomAx.js} +2 -2
  27. package/dist/{index-DMB7b-Hz.js → index-BbdN9UIl.js} +1 -1
  28. package/dist/{index-C3iKpqMM.js → index-BdBdQUua.js} +3 -3
  29. package/dist/{index-BPdtmXp7.js → index-BkV1vzN4.js} +5 -5
  30. package/dist/{index-CGRTa_BX.js → index-Bp2u-xw_.js} +3 -3
  31. package/dist/{index-D9GdiI96.js → index-BpQQAZir.js} +5 -5
  32. package/dist/{index-Dv9gqpfs.js → index-CF7x5YCK.js} +5 -5
  33. package/dist/{index-BRkEjdIb.cjs → index-CHqr5wBd.cjs} +1 -1
  34. package/dist/{index-mDbSepFg.cjs → index-CKa59k9C.cjs} +1 -1
  35. package/dist/{index-CGm-MNi_.js → index-COGhA0Yf.js} +7 -7
  36. package/dist/{index-BRJMluce.cjs → index-CP9bLJ_L.cjs} +1 -1
  37. package/dist/{index-CQx1Np10.js → index-CT4RgoX4.js} +1 -1
  38. package/dist/{index-BPxDakwE.cjs → index-CThVsYAd.cjs} +1 -1
  39. package/dist/{index-BFMKEtGJ.js → index-CWpLpifR.js} +1 -1
  40. package/dist/{index-CqMsb2pW.cjs → index-CebVyoCl.cjs} +1 -1
  41. package/dist/{index-CR1PuEcf.js → index-CfWyd_l0.js} +1 -1
  42. package/dist/{index-Bfve7oz4.js → index-CfwKwZ3G.js} +2 -2
  43. package/dist/{index-173y0My_.js → index-Cm0SRhxt.js} +2 -2
  44. package/dist/{index-CSUfNuHC.cjs → index-Cnv7Inld.cjs} +1 -1
  45. package/dist/{index-BQQne5Jf.js → index-D4jdGfpn.js} +2 -2
  46. package/dist/{index-C_U3JqBH.cjs → index-D4mR-sHJ.cjs} +1 -1
  47. package/dist/{index-UxbTehx5.cjs → index-DAqoWq8u.cjs} +1 -1
  48. package/dist/{index-B3USisdg.js → index-DBkloVus.js} +19 -19
  49. package/dist/{index-DWozj8SO.cjs → index-DFa4xUcC.cjs} +1 -1
  50. package/dist/{index-Dr9Egq23.js → index-DOaO7KkQ.js} +1 -1
  51. package/dist/{index-DW4LUPva.cjs → index-DX7zT2RF.cjs} +1 -1
  52. package/dist/{index-t_moO5vN.cjs → index-DXjFAdeI.cjs} +1 -1
  53. package/dist/{index-B1zHaED0.js → index-D_JEtscY.js} +2 -2
  54. package/dist/{index-CnKMnhNZ.cjs → index-Dbih6a0y.cjs} +1 -1
  55. package/dist/{index-DzBBqrxe.js → index-Dc6Zn98q.js} +2 -2
  56. package/dist/{index-AYV5pgUp.cjs → index-DkMX2HkQ.cjs} +1 -1
  57. package/dist/{index-CzZ3NFp5.cjs → index-ED7a0ufp.cjs} +1 -1
  58. package/dist/{index-gcMT9ql0.js → index-EVRwHh-Y.js} +4 -4
  59. package/dist/{index-BxneVVKn.cjs → index-Fev7kp4Q.cjs} +1 -1
  60. package/dist/{index-EqgbW679.js → index-GR-D5xOi.js} +1 -1
  61. package/dist/{index-CIoVLl8r.js → index-RhBv3eG3.js} +1 -1
  62. package/dist/{index-u963fvJq.js → index-Y5EIVsCv.js} +1 -1
  63. package/dist/{index-ft2Sbu_F.cjs → index-c9mgIgXD.cjs} +1 -1
  64. package/dist/index-dbCK5n4i.cjs +1 -0
  65. package/dist/{index-BZvDnQdj.js → index-s3nl8JNm.js} +1 -1
  66. package/dist/{index-B2Fw6gYI.js → index-wBztarM7.js} +2 -2
  67. package/dist/{index-CwKRxn4d.cjs → index-wJjLPgsT.cjs} +1 -1
  68. package/dist/{index-B8ZpZmFH.js → index-zfbKyJsL.js} +11 -11
  69. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-0w_WkXKi.js → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-BAxvHILQ.js} +11 -11
  70. package/dist/{index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-Z4PcDNHn.cjs → index.vue_vue_type_style_index_0_scoped_0b6f1a18_lang-fAgP2ETK.cjs} +1 -1
  71. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BrO2CG13.js → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cb5M-Cn4.js} +1648 -1643
  72. package/dist/{index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-v_tZRKeY.cjs → index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DaF8XJ8v.cjs} +59 -59
  73. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-BojpP-bI.js → index.vue_vue_type_style_index_0_scoped_92477073_lang-BiC2ra_Y.js} +5 -5
  74. package/dist/{index.vue_vue_type_style_index_0_scoped_92477073_lang-D5yZqgZw.cjs → index.vue_vue_type_style_index_0_scoped_92477073_lang-DM1wMSXt.cjs} +1 -1
  75. package/dist/{index.vue_vue_type_style_index_1_lang-V6_Ex77u.cjs → index.vue_vue_type_style_index_1_lang-CIkXLXnr.cjs} +1 -1
  76. package/dist/{index.vue_vue_type_style_index_1_lang-_MRLV2pU.cjs → index.vue_vue_type_style_index_1_lang-CeCV2qWI.cjs} +1 -1
  77. package/dist/{index.vue_vue_type_style_index_1_lang-wEVof7j-.js → index.vue_vue_type_style_index_1_lang-CpFhVt0X.js} +4 -4
  78. package/dist/{index.vue_vue_type_style_index_1_lang-DCNwSjkL.js → index.vue_vue_type_style_index_1_lang-DojDVre8.js} +1 -1
  79. package/dist/{main-DoNgEyOK.cjs → main-BvPseoz-.cjs} +1 -1
  80. package/dist/{main-CcTySLlm.js → main-Bz9fB17S.js} +4 -4
  81. package/dist/obj/model.mtl +42 -0
  82. package/dist/obj/model.obj +26110 -0
  83. package/dist/{pointTrack-Dcp686Ea.cjs → pointTrack-CPO9-bf6.cjs} +1 -1
  84. package/dist/{pointTrack-CpqyoYjd.js → pointTrack-D9n7TSzE.js} +1 -1
  85. package/dist/{robotUtil-D79UKi8S.js → robotUtil-BFjMJVdz.js} +1 -1
  86. package/dist/{robotUtil-tvll1beF.cjs → robotUtil-NrP32vJA.cjs} +1 -1
  87. package/dist/ss-component.cjs +1 -1
  88. package/dist/ss-component.css +1 -1
  89. package/dist/ss-component.js +10 -10
  90. package/dist/ss-component2.cjs +1 -1
  91. package/dist/ss-component2.js +11 -11
  92. package/dist/{threeModel-DOPXXUCN.js → threeModel-B75qxvTb.js} +5 -5
  93. package/dist/{threeModel-CxCbnx-G.cjs → threeModel-CkP5M3fH.cjs} +1 -1
  94. package/dist/{threePreview-CvFFnufL.js → threePreview-BhigaS7l.js} +3 -3
  95. package/dist/{threePreview-Bu9WzFI1.cjs → threePreview-Ns7H_etR.cjs} +1 -1
  96. package/dist/{threeSceneView-pqmQCs1f.cjs → threeSceneView-CxVzPghK.cjs} +1 -1
  97. package/dist/{threeSceneView-BxY31hG2.js → threeSceneView-gGu_Tiet.js} +11 -11
  98. package/dist/{threeSceneViewForCPMPIP-zbXTglaB.js → threeSceneViewForCPMPIP-ByeK_Nsi.js} +10 -10
  99. package/dist/{threeSceneViewForCPMPIP-BdIt67iR.cjs → threeSceneViewForCPMPIP-CNvLUDoy.cjs} +1 -1
  100. package/dist/{threeTrackPathView-OwpZN5Yj.js → threeTrackPathView-BkvgX6iD.js} +5 -5
  101. package/dist/{threeTrackPathView-BTCabEa-.cjs → threeTrackPathView-eDXMz43B.cjs} +1 -1
  102. package/dist/{threeViewerHost-Dv-zRfI9.js → threeViewerHost-CNIsWoK3.js} +3 -3
  103. package/dist/{threeViewerHost-CQAQgsH3.cjs → threeViewerHost-MWedRVF2.cjs} +2 -2
  104. package/dist/{urdfTree-CUgm69Ah.js → urdfTree-CjCnTExe.js} +1 -1
  105. package/dist/{urdfTree-jtHwasZ-.cjs → urdfTree-NsMmy6lF.cjs} +1 -1
  106. package/dist/{workpieceTreePanel-CpYo8N4J.js → workpieceTreePanel-C7_41Iqz.js} +5 -5
  107. package/dist/{workpieceTreePanel-CGCTSCMV.cjs → workpieceTreePanel-MOJxvcHc.cjs} +1 -1
  108. package/package.json +1 -1
  109. package/public/obj/model.mtl +42 -0
  110. package/public/obj/model.obj +26110 -0
  111. package/dist/index-BdD3L97f.cjs +0 -1
@@ -1 +1 @@
1
- "use strict";const f=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-v_tZRKeY.cjs");function M(t){const n=[];return t.forEach(e=>{const[s,i,r]=e.trim().split(/\s+/);n.push(+s,+i,+r)}),n}function C(t,n,e){switch(t){case"X":n.x=+e||0;break;case"Y":n.y=+e||0;break;case"Z":n.z=+e||0;break}}function Y(t){const n=[],e=["X","Y","Z"];return t.forEach(s=>{const i={x:0,y:0,z:0},r=s.trim();if(!r)return;let o=null,c="";for(let a=0;a<(r==null?void 0:r.length);a++){const u=r[a],l=e.find(h=>h===u);if(l){o&&C(o,i,c),c="",o=l;continue}c=c+u}C(o,i,c),n.push(i.x,i.y,i.z)}),n}const b=t=>t==null?void 0:t.filter(e=>e.includes("=")),p=t=>t.replace(/,/g,""),z=t=>t==null?void 0:t.map(e=>p(e)),X=t=>{const n=b(t);return z(n)};function Z(t){const n=X(t),e=[];return n.forEach(s=>{var h,d,g,y,w,m;let[i,r,o,c]=s.trim().split(/\s+/);r=(h=r==null?void 0:r.trim)==null?void 0:h.call(r),o=(d=o==null?void 0:o.trim)==null?void 0:d.call(o),c=(g=c==null?void 0:c.trim)==null?void 0:g.call(c);const[,a]=(y=r==null?void 0:r.split)==null?void 0:y.call(r,"="),[,u]=(w=o==null?void 0:o.split)==null?void 0:w.call(o,"="),[,l]=(m=c==null?void 0:c.split)==null?void 0:m.call(c,"=");e.push(+a,+u,+l)}),e}const E=t=>t>="0"&&t<="9",A=t=>t==="+"||t==="-",_=t=>t===".";function q(t){return E(t)||A(t)||_(t)}function B(t){const n=[],e=new Set(["X","Y","Z"]);return t.forEach(s=>{const i={x:0,y:0,z:0},r=s.trim();if(!r)return;let o=null,c="";for(let a=0;a<(r==null?void 0:r.length);a++){const u=r[a];if(u==="T")break;const l=e.has(u)?u:null,h=q(u);if(l||!h){o&&C(o,i,c),o=l,c="";continue}c=c+u}o&&C(o,i,c),n.push(i.x,i.y,i.z)}),n}function F(t){return t==null?void 0:t.includes("=")}async function U(t){var i,r;const n=(i=t==null?void 0:t.trim())==null?void 0:i.split(/\r?\n/);if(F(t))return Z(n);const e=n==null?void 0:n[0],s=(r=e==null?void 0:e.trim())==null?void 0:r.split(/\s+/);if((s==null?void 0:s.length)>=3)return M(n);if((s==null?void 0:s.length)===1)return Y(n)}async function I(t){const n=t.trim().split(/\r?\n/),e=[];return n.forEach(s=>{const i=s.trim().split(/\s+/);if(i.length!=3)return;const[r,o,c]=i;e.push(+r,+o,+c)}),e}async function N(t){const n=t.trim().split(/\r?\n/),e=[];return n.forEach(s=>{const i=s.trim().split(/\s+/);if(i.length!=3)return;const[r,o,c]=i;e.push(+r,+o,+c)}),e}async function G(t){let n=t.trim().split(/\r?\n/);return n=n.filter(s=>{const i=s.startsWith("X")||s.startsWith("Y")||s.startsWith("Z"),r=s.startsWith("G")&&(s.includes("X")||s.includes("Y")||s.includes("Z")),o=s.startsWith("N")&&(s.includes("X")||s.includes("Y")||s.includes("Z"));return i||r||o}),B(n)}async function T(t,n){const{isCyd:e,isUv:s,isCpt:i,isNc:r}=n;return s?U(t):e?N(t):i?I(t):r?G(t):[]}function W(t){const n=[];for(let e=0;e<t.length;e+=3)n.push(new f.Vector3(t[e],t[e+1],t[e+2]));return n}function k(t){const n=new f.BufferGeometry;n.setAttribute("position",new f.Float32BufferAttribute(t,3));const e=new f.LineBasicMaterial({color:55551,linewidth:3});return new f.Line(n,e)}function V(t,n){if(!n||n.length<3)return;const{scene:e,camera:s,renderer:i,controls:r}=t();if(!e||!s||!i||!r)return;const o=k(n);return o.name="轨迹路径",e.add(o),o}function D(t,n,e,s=4,i=50){let r=1/0,o=-1/0,c=1/0,a=-1/0,u=1/0,l=-1/0;for(let m=0;m<t.length;m+=3){const P=t[m],v=t[m+1],x=t[m+2];r=Math.min(r,P),o=Math.max(o,P),c=Math.min(c,v),a=Math.max(a,v),u=Math.min(u,x),l=Math.max(l,x)}const d=Math.sqrt((o-r)**2+(a-c)**2+(l-u)**2)*.05,g=f.MathUtils.degToRad(n.fov),y=2*Math.tan(g/2)*i,w=d/y*e.domElement.height*(s/4);return Math.min(.4,w)}function L(t){if(t.length%3!==0)return console.error("points array length is not a multiple of 3:",t),null;const n=new f.BufferGeometry;n.setAttribute("position",new f.Float32BufferAttribute(t,3));const e=new Float32Array(t.length);for(let r=0;r<t.length;r+=3)e[r]=0,e[r+1]=.847,e[r+2]=1;n.setAttribute("color",new f.BufferAttribute(e,3));const s=new f.PointsMaterial({vertexColors:!0,size:.4,sizeAttenuation:!0}),i=new f.Points(n,s);return s.needsUpdate=!0,i}function O(t,n){if(!n)return;const{scene:e,camera:s,renderer:i,controls:r}=t();if(!e||!s||!i||!r)return;const o=L(n);if(!o)return;o.name="轨迹路径",e.add(o);const c=D(n,s,i,.1,50);return o.material.size=c,o}exports.convertPointsToVector3=W;exports.drawLine=V;exports.drawPoints=O;exports.getPointGeometry=L;exports.getPoints=T;
1
+ "use strict";const f=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DaF8XJ8v.cjs");function M(t){const n=[];return t.forEach(e=>{const[s,i,r]=e.trim().split(/\s+/);n.push(+s,+i,+r)}),n}function C(t,n,e){switch(t){case"X":n.x=+e||0;break;case"Y":n.y=+e||0;break;case"Z":n.z=+e||0;break}}function Y(t){const n=[],e=["X","Y","Z"];return t.forEach(s=>{const i={x:0,y:0,z:0},r=s.trim();if(!r)return;let o=null,c="";for(let a=0;a<(r==null?void 0:r.length);a++){const u=r[a],l=e.find(h=>h===u);if(l){o&&C(o,i,c),c="",o=l;continue}c=c+u}C(o,i,c),n.push(i.x,i.y,i.z)}),n}const b=t=>t==null?void 0:t.filter(e=>e.includes("=")),p=t=>t.replace(/,/g,""),z=t=>t==null?void 0:t.map(e=>p(e)),X=t=>{const n=b(t);return z(n)};function Z(t){const n=X(t),e=[];return n.forEach(s=>{var h,d,g,y,w,m;let[i,r,o,c]=s.trim().split(/\s+/);r=(h=r==null?void 0:r.trim)==null?void 0:h.call(r),o=(d=o==null?void 0:o.trim)==null?void 0:d.call(o),c=(g=c==null?void 0:c.trim)==null?void 0:g.call(c);const[,a]=(y=r==null?void 0:r.split)==null?void 0:y.call(r,"="),[,u]=(w=o==null?void 0:o.split)==null?void 0:w.call(o,"="),[,l]=(m=c==null?void 0:c.split)==null?void 0:m.call(c,"=");e.push(+a,+u,+l)}),e}const E=t=>t>="0"&&t<="9",A=t=>t==="+"||t==="-",_=t=>t===".";function q(t){return E(t)||A(t)||_(t)}function B(t){const n=[],e=new Set(["X","Y","Z"]);return t.forEach(s=>{const i={x:0,y:0,z:0},r=s.trim();if(!r)return;let o=null,c="";for(let a=0;a<(r==null?void 0:r.length);a++){const u=r[a];if(u==="T")break;const l=e.has(u)?u:null,h=q(u);if(l||!h){o&&C(o,i,c),o=l,c="";continue}c=c+u}o&&C(o,i,c),n.push(i.x,i.y,i.z)}),n}function F(t){return t==null?void 0:t.includes("=")}async function U(t){var i,r;const n=(i=t==null?void 0:t.trim())==null?void 0:i.split(/\r?\n/);if(F(t))return Z(n);const e=n==null?void 0:n[0],s=(r=e==null?void 0:e.trim())==null?void 0:r.split(/\s+/);if((s==null?void 0:s.length)>=3)return M(n);if((s==null?void 0:s.length)===1)return Y(n)}async function I(t){const n=t.trim().split(/\r?\n/),e=[];return n.forEach(s=>{const i=s.trim().split(/\s+/);if(i.length!=3)return;const[r,o,c]=i;e.push(+r,+o,+c)}),e}async function N(t){const n=t.trim().split(/\r?\n/),e=[];return n.forEach(s=>{const i=s.trim().split(/\s+/);if(i.length!=3)return;const[r,o,c]=i;e.push(+r,+o,+c)}),e}async function G(t){let n=t.trim().split(/\r?\n/);return n=n.filter(s=>{const i=s.startsWith("X")||s.startsWith("Y")||s.startsWith("Z"),r=s.startsWith("G")&&(s.includes("X")||s.includes("Y")||s.includes("Z")),o=s.startsWith("N")&&(s.includes("X")||s.includes("Y")||s.includes("Z"));return i||r||o}),B(n)}async function T(t,n){const{isCyd:e,isUv:s,isCpt:i,isNc:r}=n;return s?U(t):e?N(t):i?I(t):r?G(t):[]}function W(t){const n=[];for(let e=0;e<t.length;e+=3)n.push(new f.Vector3(t[e],t[e+1],t[e+2]));return n}function k(t){const n=new f.BufferGeometry;n.setAttribute("position",new f.Float32BufferAttribute(t,3));const e=new f.LineBasicMaterial({color:55551,linewidth:3});return new f.Line(n,e)}function V(t,n){if(!n||n.length<3)return;const{scene:e,camera:s,renderer:i,controls:r}=t();if(!e||!s||!i||!r)return;const o=k(n);return o.name="轨迹路径",e.add(o),o}function D(t,n,e,s=4,i=50){let r=1/0,o=-1/0,c=1/0,a=-1/0,u=1/0,l=-1/0;for(let m=0;m<t.length;m+=3){const P=t[m],v=t[m+1],x=t[m+2];r=Math.min(r,P),o=Math.max(o,P),c=Math.min(c,v),a=Math.max(a,v),u=Math.min(u,x),l=Math.max(l,x)}const d=Math.sqrt((o-r)**2+(a-c)**2+(l-u)**2)*.05,g=f.MathUtils.degToRad(n.fov),y=2*Math.tan(g/2)*i,w=d/y*e.domElement.height*(s/4);return Math.min(.4,w)}function L(t){if(t.length%3!==0)return console.error("points array length is not a multiple of 3:",t),null;const n=new f.BufferGeometry;n.setAttribute("position",new f.Float32BufferAttribute(t,3));const e=new Float32Array(t.length);for(let r=0;r<t.length;r+=3)e[r]=0,e[r+1]=.847,e[r+2]=1;n.setAttribute("color",new f.BufferAttribute(e,3));const s=new f.PointsMaterial({vertexColors:!0,size:.4,sizeAttenuation:!0}),i=new f.Points(n,s);return s.needsUpdate=!0,i}function O(t,n){if(!n)return;const{scene:e,camera:s,renderer:i,controls:r}=t();if(!e||!s||!i||!r)return;const o=L(n);if(!o)return;o.name="轨迹路径",e.add(o);const c=D(n,s,i,.1,50);return o.material.size=c,o}exports.convertPointsToVector3=W;exports.drawLine=V;exports.drawPoints=O;exports.getPointGeometry=L;exports.getPoints=T;
@@ -1,4 +1,4 @@
1
- import { V as M, w as v, aU as L, ai as Y, y as b, a5 as p, ag as z, ao as X, s as Z } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BrO2CG13.js";
1
+ import { V as M, w as v, aU as L, ai as Y, y as b, a5 as p, ag as z, ao as X, s as Z } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cb5M-Cn4.js";
2
2
  function E(n) {
3
3
  const t = [];
4
4
  return n.forEach((e) => {
@@ -1,4 +1,4 @@
1
- import { k as i } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-BrO2CG13.js";
1
+ import { k as i } from "./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-Cb5M-Cn4.js";
2
2
  const c = 1e-3, o = (n, t) => {
3
3
  if (!t)
4
4
  return null;
@@ -1 +1 @@
1
- "use strict";const i=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-v_tZRKeY.cjs"),u=.001,o=(n,t)=>{if(!t)return null;const e=n.joints[t];return e||null},c=(n,t)=>{if(!t)return null;const e=o(n,t);if(!e)return null;let r=null;return e.traverse(s=>{s instanceof i.Mesh&&!r&&(r=s)}),r},g=(n,t)=>{if(!t)return null;const e=n.links[t];return e||null},a=(n,t)=>{if(!t)return null;const e=g(n,t);if(!e)return null;let r=null;return e.traverse(s=>{s instanceof i.Mesh&&!r&&(r=s)}),r},l=n=>{const t=n.joints;return Object.values(t)},f=n=>l(n).filter(r=>r.jointType!=="fixed"),J=n=>{const t=n.links;return Object.keys(t)},m=(n,t)=>{if(!n)return null;let e=null;return n.traverse(r=>{r.name===t&&(e=r.matrixWorld.clone())}),e};exports.getAllLinkName=J;exports.getJoints=l;exports.getMeshFromJoint=c;exports.getMeshFromLink=a;exports.getNonFixedJoints=f;exports.getObjectWorldMatrix=m;exports.getTargetJoint=o;exports.mm2m=u;
1
+ "use strict";const i=require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DaF8XJ8v.cjs"),u=.001,o=(n,t)=>{if(!t)return null;const e=n.joints[t];return e||null},c=(n,t)=>{if(!t)return null;const e=o(n,t);if(!e)return null;let r=null;return e.traverse(s=>{s instanceof i.Mesh&&!r&&(r=s)}),r},g=(n,t)=>{if(!t)return null;const e=n.links[t];return e||null},a=(n,t)=>{if(!t)return null;const e=g(n,t);if(!e)return null;let r=null;return e.traverse(s=>{s instanceof i.Mesh&&!r&&(r=s)}),r},l=n=>{const t=n.joints;return Object.values(t)},f=n=>l(n).filter(r=>r.jointType!=="fixed"),J=n=>{const t=n.links;return Object.keys(t)},m=(n,t)=>{if(!n)return null;let e=null;return n.traverse(r=>{r.name===t&&(e=r.matrixWorld.clone())}),e};exports.getAllLinkName=J;exports.getJoints=l;exports.getMeshFromJoint=c;exports.getMeshFromLink=a;exports.getNonFixedJoints=f;exports.getObjectWorldMatrix=m;exports.getTargetJoint=o;exports.mm2m=u;
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),v=require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-v_tZRKeY.cjs");const C=require("./index.vue_vue_type_style_index_1_lang-_MRLV2pU.cjs");require("./index-C8qRkCgn.cjs");const s=require("./ss-component2.cjs"),t=require("./index-9hspBVrQ.cjs"),r=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./main-DoNgEyOK.cjs")));r.install=e=>{e.component("ssComponent",r)};const i=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-CiG2rXe1.cjs")).then(e=>e.index$1));i.install=e=>{e.component("ssTab",i)};const c=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BRJMluce.cjs")));c.install=e=>{e.component("ssMenu",c)};const l=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-CqMsb2pW.cjs")));l.install=e=>{e.component("ssMenuComponent",l)};const m=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BJ6RWIyr.cjs")));m.install=e=>{e.component("ssCanvas",m)};const u=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BVaHwt5f.cjs")));u.install=e=>{e.component("ssFold",u)};const a=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-B0iWiP90.cjs")).then(e=>e.index));a.install=e=>{e.component("ssAvatar",a)};const h=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./threeModel-CxCbnx-G.cjs")));h.install=e=>{e.component("ssThree",h)};const f=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./threeViewerHost-CQAQgsH3.cjs")).then(e=>e.threeViewerHost));f.install=e=>{e.component("threeViewerHost",f)};const p=C.useMenuState(),P=[r,i,c,l,m,u,a,h,f],q=e=>{P.forEach(o=>{e.use(o)}),e.use(s),e.config.globalProperties.$router=s},g=e=>{switch(e){case"browser":return t.browserThemeConfig;case"client":return t.clientThemeConfig;case"three":return t.threeThemeConfig}},y=e=>{const o=document.documentElement;e==null||e.forEach(d=>{o.style.setProperty(d.name,d.value)})},A=e=>{p.setPlatform(e);const o=g(e);y(o)},T={getPlatform:p.getPlatform,setPlatform:p.setPlatform,initPlatform:A};exports.SvgIcon=v.SvgIcon;exports.router=s;exports.default=q;exports.platformApi=T;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("vue"),v=require("./index-BpPyaNFa.cjs");require("./index.vue_vue_type_style_index_0_scoped_0f027c8c_lang-DaF8XJ8v.cjs");const C=require("./index.vue_vue_type_style_index_1_lang-CeCV2qWI.cjs");require("./index-C8qRkCgn.cjs");const s=require("./ss-component2.cjs"),t=require("./index-9hspBVrQ.cjs"),r=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./main-BvPseoz-.cjs")));r.install=e=>{e.component("ssComponent",r)};const i=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BWrJa_TO.cjs")).then(e=>e.index$1));i.install=e=>{e.component("ssTab",i)};const c=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-CP9bLJ_L.cjs")));c.install=e=>{e.component("ssMenu",c)};const l=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-CebVyoCl.cjs")));l.install=e=>{e.component("ssMenuComponent",l)};const m=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BAHt3Bu3.cjs")));m.install=e=>{e.component("ssCanvas",m)};const u=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BVaHwt5f.cjs")));u.install=e=>{e.component("ssFold",u)};const a=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./index-BZ7X6w42.cjs")).then(e=>e.index));a.install=e=>{e.component("ssAvatar",a)};const h=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./threeModel-CkP5M3fH.cjs")));h.install=e=>{e.component("ssThree",h)};const f=n.defineAsyncComponent(()=>Promise.resolve().then(()=>require("./threeViewerHost-MWedRVF2.cjs")).then(e=>e.threeViewerHost));f.install=e=>{e.component("threeViewerHost",f)};const p=C.useMenuState(),P=[r,i,c,l,m,u,a,h,f],q=e=>{P.forEach(o=>{e.use(o)}),e.use(s),e.config.globalProperties.$router=s},g=e=>{switch(e){case"browser":return t.browserThemeConfig;case"client":return t.clientThemeConfig;case"three":return t.threeThemeConfig}},y=e=>{const o=document.documentElement;e==null||e.forEach(d=>{o.style.setProperty(d.name,d.value)})},A=e=>{p.setPlatform(e);const o=g(e);y(o)},T={getPlatform:p.getPlatform,setPlatform:p.setPlatform,initPlatform:A};exports.SvgIcon=v.SvgIcon;exports.router=s;exports.default=q;exports.platformApi=T;