Browse Source

[Mod 0000] 修改模型位置

hongrunxia 1 month ago
parent
commit
09cf3cdf67
1 changed files with 3 additions and 4 deletions
  1. 3 4
      src/views/vent/home/configurable/components/three3D.vue

+ 3 - 4
src/views/vent/home/configurable/components/three3D.vue

@@ -55,8 +55,8 @@
         pidai: {
           render: null,
           group: modalGroup ? modalGroup : null,
-          newP: { x: -0.8292668304847632, y: 27.328559112319077, z: -13.883314493708111 },
-          newT: { x: -0.7961264623845425, y: -8.037007172591878, z: -1.646425804633182 },
+          newP: { x: -0.5914335489879506, y: 27.923772285542388, z: -12.163745046232812 },
+          newT: { x: -0.5582925489879514, y: -7.4417937144576145, z: 0.07314295376718441 },
         },
       };
       await initModal();
@@ -89,8 +89,7 @@
         addLight();
         customModal();
         modal.animate();
-        // addMouseEvent();
-        debugger;
+        addMouseEvent();
         // this.group.name = this.modelName;
         // setModalCenter(this.group);
         // this.group.scale.set(2.5, 2.5, 2.5);