人生啊人生 1 月之前
父節點
當前提交
abc1d38281
共有 1 個文件被更改,包括 223 次插入3 次删除
  1. 223 3
      src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvComClipPlaneMeshEvent.js

+ 223 - 3
src/components/ThreeWorldEventQingXiCheAndQv/js/QingXiCheAndQvComClipPlaneMeshEvent.js

@@ -39,6 +39,176 @@ export class QingXiCheAndQvComClipPlaneMeshEvent {
         let BABYLON = objThreeWorldEventMain.BABYLON;
         let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
         
+        // ChengGuangYuanJing.ComClipPlaneMesh.find().list = [
+        //     {
+        //         "name": "软管",
+        //         "code": "1746598961053",
+        //         "groupName": "卷盘管3",
+        //         "proportion": 0,
+        //         "position": {
+        //             "x": 10.84351634979248,
+        //             "y": -3.6694822311401367,
+        //             "z": -41.56673812866211
+        //         },
+        //         "positionTarget": {
+        //             "x": 7.881225109100342,
+        //             "y": 3.605771780014038,
+        //             "z": -20.214637756347656
+        //         },
+        //         "animationListEdite": [
+        //             {
+        //                 "code": "1746598961053_1746606763557",
+        //                 "name": "软管",
+        //                 "proportionStart": 100,
+        //                 "proportionEnd": 51,
+        //                 "timeEnd": 1.5
+        //             },
+        //             {
+        //                 "code": "1746598961053_1746689739706",
+        //                 "name": "软管2",
+        //                 "proportionStart": 51,
+        //                 "proportionEnd": 0,
+        //                 "timeEnd": 1.5
+        //             },
+        //             {
+        //                 "code": "1746598961053_1746756045455",
+        //                 "name": "软管3",
+        //                 "proportionStart": 0,
+        //                 "proportionEnd": 51,
+        //                 "timeEnd": 0.25
+        //             },
+        //             {
+        //                 "code": "1746598961053_1746756063793",
+        //                 "name": "软管4",
+        //                 "proportionStart": 51,
+        //                 "proportionEnd": 100,
+        //                 "timeEnd": 1.5
+        //             }
+        //         ]
+        //     },
+        //     {
+        //         "name": "解开",
+        //         "code": "1746599197585",
+        //         "groupName": "卷盘管1",
+        //         "proportion": 100,
+        //         "position": {
+        //             "x": 6.908312797546387,
+        //             "y": -0.47012007236480713,
+        //             "z": -21.414779663085938
+        //         },
+        //         "positionTarget": {
+        //             "x": 6.907680988311768,
+        //             "y": 2.944892644882202,
+        //             "z": -21.417993545532227
+        //         },
+        //         "animationListEdite": [
+        //             {
+        //                 "code": "1746599197585_1746606802725",
+        //                 "name": "解开",
+        //                 "proportionStart": 100,
+        //                 "proportionEnd": 0,
+        //                 "timeEnd": 1.5
+        //             },
+        //             {
+        //                 "code": "1746599197585_1746755998967",
+        //                 "name": "解开2",
+        //                 "proportionStart": 0,
+        //                 "proportionEnd": 100,
+        //                 "timeEnd": 1.5
+        //             }
+        //         ]
+        //     },
+        //     {
+        //         "name": "转到位",
+        //         "code": "1746599391870",
+        //         "groupName": "卷盘管2",
+        //         "proportion": 100,
+        //         "position": {
+        //             "x": 8.281990051269531,
+        //             "y": 0.09109125286340714,
+        //             "z": -23.473718643188477
+        //         },
+        //         "positionTarget": {
+        //             "x": 8.16232681274414,
+        //             "y": 2.7674410343170166,
+        //             "z": -21.505035400390625
+        //         },
+        //         "animationListEdite": [
+        //             {
+        //                 "code": "1746599391870_1746606821433",
+        //                 "name": "转到位",
+        //                 "proportionStart": 100,
+        //                 "proportionEnd": 0,
+        //                 "timeEnd": 1.5
+        //             },
+        //             {
+        //                 "code": "1746599391870_1746755972111",
+        //                 "name": "转到位2",
+        //                 "proportionStart": 0,
+        //                 "proportionEnd": 100,
+        //                 "timeEnd": 1.5
+        //             }
+        //         ]
+        //     },
+        //     {
+        //         "name": "水枪管",
+        //         "code": "1746599498542",
+        //         "groupName": "水枪管",
+        //         "proportion": 100,
+        //         "position": {
+        //             "x": 11.766251564025879,
+        //             "y": 0.3563695549964905,
+        //             "z": -15.501309394836426
+        //         },
+        //         "positionTarget": {
+        //             "x": 8.695475578308105,
+        //             "y": 2.1758973598480225,
+        //             "z": -15.439674377441406
+        //         },
+        //         "animationListEdite": [
+        //             {
+        //                 "code": "1746599498542_1746599872465",
+        //                 "name": "水枪管",
+        //                 "proportionStart": 100,
+        //                 "proportionEnd": 0,
+        //                 "timeEnd": 1.5
+        //             }
+        //         ]
+        //     },
+        //     {
+        //         "name": "安全桩",
+        //         "code": "1746689811446",
+        //         "groupName": "安全桩",
+        //         "proportion": 0,
+        //         "position": {
+        //             "x": 5.825963020324707,
+        //             "y": 0.9578046202659607,
+        //             "z": -44.686546325683594
+        //         },
+        //         "positionTarget": {
+        //             "x": 7.463858127593994,
+        //             "y": -0.8174868822097778,
+        //             "z": -10.530563354492188
+        //         },
+        //         "animationListEdite": [
+        //             {
+        //                 "code": "1746689811446_1746689949084",
+        //                 "name": "安全桩摆放",
+        //                 "proportionStart": 100,
+        //                 "proportionEnd": 0,
+        //                 "timeEnd": 1.5
+        //             },
+        //             {
+        //                 "code": "1746689811446_1746756017025",
+        //                 "name": "安全桩回收",
+        //                 "proportionStart": 0,
+        //                 "proportionEnd": 100,
+        //                 "timeEnd": 1.5
+        //             }
+        //         ]
+        //     }
+        // ];
+
         ChengGuangYuanJing.ComClipPlaneMesh.find().list = [
             {
                 "name": "软管",
@@ -90,7 +260,7 @@ export class QingXiCheAndQvComClipPlaneMeshEvent {
                 "name": "解开",
                 "code": "1746599197585",
                 "groupName": "卷盘管1",
-                "proportion": 100,
+                "proportion": 0,
                 "position": {
                     "x": 6.908312797546387,
                     "y": -0.47012007236480713,
@@ -122,7 +292,7 @@ export class QingXiCheAndQvComClipPlaneMeshEvent {
                 "name": "转到位",
                 "code": "1746599391870",
                 "groupName": "卷盘管2",
-                "proportion": 100,
+                "proportion": 0,
                 "position": {
                     "x": 8.281990051269531,
                     "y": 0.09109125286340714,
@@ -154,7 +324,7 @@ export class QingXiCheAndQvComClipPlaneMeshEvent {
                 "name": "水枪管",
                 "code": "1746599498542",
                 "groupName": "水枪管",
-                "proportion": 100,
+                "proportion": 0,
                 "position": {
                     "x": 11.766251564025879,
                     "y": 0.3563695549964905,
@@ -206,6 +376,38 @@ export class QingXiCheAndQvComClipPlaneMeshEvent {
                         "timeEnd": 1.5
                     }
                 ]
+            },
+            {
+                "name": "穿衣服安全桩",
+                "code": "1757039407244",
+                "groupName": "安全桩\n安全区",
+                "proportion": 100,
+                "position": {
+                    "x": -28.04998207092285,
+                    "y": -0.08136752247810364,
+                    "z": 62.91667938232422
+                },
+                "positionTarget": {
+                    "x": -46.506622314453125,
+                    "y": 0.006231553852558136,
+                    "z": 62.91667938232422
+                },
+                "animationListEdite": [
+                    {
+                        "code": "1757039407244_1757039561006",
+                        "name": "隐藏",
+                        "proportionStart": 0,
+                        "proportionEnd": 100,
+                        "timeEnd": 1.5
+                    },
+                    {
+                        "code": "1757039407244_1757039576166",
+                        "name": "显示",
+                        "proportionStart": 100,
+                        "proportionEnd": 0,
+                        "timeEnd": 1.5
+                    }
+                ]
             }
         ];
 
@@ -229,6 +431,7 @@ export class QingXiCheAndQvComClipPlaneMeshEvent {
         let BABYLON = objThreeWorldEventMain.BABYLON;
         let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
 
+        thisClass.anQuanZhuangChuanYiFuLookNo();
         thisClass.anQuanZhuangLookNo();
         thisClass.ruanGuanLookNo();
         thisClass.jieKaiLookNo();
@@ -239,6 +442,23 @@ export class QingXiCheAndQvComClipPlaneMeshEvent {
         
     }
 
+    /**
+     * 安全桩穿衣服 裁切隐藏
+     */
+    anQuanZhuangChuanYiFuLookNo = function() {
+
+        let thisClass = this;
+        let objThreeWorldEventMain = this.objThreeWorldEventMain;
+
+        let objIframeEdit = objThreeWorldEventMain.objIframeEdit;
+        let objIframe = objThreeWorldEventMain.objIframe;
+        let objScene = objThreeWorldEventMain.objScene;
+        let BABYLON = objThreeWorldEventMain.BABYLON;
+        let ChengGuangYuanJing = objIframe.ChengGuangYuanJing;
+
+        ChengGuangYuanJing.ComClipPlaneMesh.find().clipPlaneEvent("1757039407244", 100);
+        
+    }
 
     /**
      * 安全桩 裁切隐藏