[gd_scene load_steps=36 format=3 uid="uid://cn6oq3npyox2m"] [ext_resource type="Script" path="res://BITKit/Scripts/Core/Exec.cs" id="1_ahx04"] [ext_resource type="Script" path="res://BITKit/Scripts/Camera/CameraService.cs" id="1_jxrvb"] [ext_resource type="PackedScene" uid="uid://cgt3ug72q13fk" path="res://Artists/Services/SCADAService.tscn" id="4_iuksm"] [ext_resource type="Texture2D" uid="uid://bymrjkd63p3fs" path="res://Mods/EIPC/Art/Background/智慧车间.png" id="4_lngwv"] [ext_resource type="Script" path="res://BITKit/Scripts/Channel/MultiplexGroup.cs" id="4_ql4rq"] [ext_resource type="PackedScene" uid="uid://du51aijsw1md8" path="res://Mods/EIPC/Models/塞昇_仓储单元.glb" id="4_twm4i"] [ext_resource type="PackedScene" uid="uid://c3obewoadhw2g" path="res://Mods/EIPC/Models/塞昇_装配单元.glb" id="5_slm5m"] [ext_resource type="PackedScene" uid="uid://u5wgu77krbjd" path="res://Mods/EIPC/Models/塞昇_交付单元.glb" id="6_pkxbi"] [ext_resource type="PackedScene" uid="uid://dsq4xhhjxpfrn" path="res://Mods/EIPC/Models/塞昇_仓储台屏幕.glb" id="7_7bqbr"] [ext_resource type="Texture2D" uid="uid://cfqud28feqbuv" path="res://Mods/EIPC/Art/Texture/塞昇_Header.png" id="7_ejfcw"] [ext_resource type="Script" path="res://BITKit/Scripts/Web/HttpGet.cs" id="7_kr3j8"] [ext_resource type="Script" path="res://BITKit/Scripts/Camera/FreeLookCamera.cs" id="7_t1qox"] [ext_resource type="Texture2D" uid="uid://bu1alfkonwago" path="res://Mods/EIPC/Art/Texture/赛昇_DateTime_Container.png" id="8_3erlx"] [ext_resource type="PackedScene" uid="uid://ckckny52056cw" path="res://Mods/EIPC/Models/塞昇_仓储台机械臂底座.glb" id="8_kpd65"] [ext_resource type="PackedScene" uid="uid://dexpjn6olm54e" path="res://Mods/EIPC/Models/塞昇_物料箱.glb" id="9_plq0l"] [ext_resource type="PackedScene" uid="uid://b5duoofl4hmtv" path="res://Mods/EIPC/Models/塞昇_交付转台.glb" id="9_x5y85"] [ext_resource type="Script" path="res://BITKit/Scripts/Node2D/DateTimeNode.cs" id="9_y03m7"] [ext_resource type="PackedScene" uid="uid://cspfisaj7i6i6" path="res://Mods/EIPC/Models/塞昇_Lite快换放置座2v4.glb" id="10_505q5"] [ext_resource type="Script" path="res://BITKit/Scripts/Data/DataPlayer.cs" id="11_o32l8"] [ext_resource type="PackedScene" uid="uid://hwdvb2o5dqn5" path="res://Mods/EIPC/Models/塞昇_螺钉箱.glb" id="12_85p72"] [ext_resource type="PackedScene" uid="uid://b052dbve60nep" path="res://Mods/EIPC/Templates/塞昇机械臂.tscn" id="12_h3fov"] [ext_resource type="Script" path="res://BITKit/Scripts/UX/UXPanel.cs" id="14_cq27g"] [ext_resource type="Texture2D" uid="uid://cjk4xep1wgmul" path="res://Artists/Art/Icons/Icon_ic_baseline-video-file.png" id="18_h1whe"] [ext_resource type="Texture2D" uid="uid://58y4a67wwco4" path="res://Artists/Art/Icons/Icon_Settings.png" id="19_v6ulc"] [ext_resource type="Texture2D" uid="uid://df80xi7s3tq22" path="res://Artists/Art/Icons/Icon_Exit.png" id="20_rs8fa"] [ext_resource type="Script" path="res://BITKit/Scripts/Core/BITAppProxy.cs" id="21_nxmi3"] [ext_resource type="Script" path="res://Artists/Scripts/Factory/PlaybackService.cs" id="22_wvbt5"] [ext_resource type="PackedScene" uid="uid://bw0rcgp1ftr1q" path="res://Artists/Templates/UXPlayback_Element.tscn" id="23_7djjv"] [ext_resource type="PackedScene" uid="uid://njxsnsho85w6" path="res://Artists/Templates/PlaybackWindow.tscn" id="24_keupm"] [ext_resource type="PackedScene" uid="uid://cfdqixhj2v06e" path="res://Artists/Models/机械臂/Model_SR7CL11.glb" id="30_nf0w6"] [ext_resource type="Script" path="res://BITKit/Scripts/Debug/SetLocationManual.cs" id="31_ygwpk"] [sub_resource type="PanoramaSkyMaterial" id="PanoramaSkyMaterial_3gjuw"] panorama = ExtResource("4_lngwv") filter = false [sub_resource type="Sky" id="Sky_6iwuq"] sky_material = SubResource("PanoramaSkyMaterial_3gjuw") radiance_size = 0 [sub_resource type="Environment" id="Environment_8xcxk"] background_mode = 2 sky = SubResource("Sky_6iwuq") sky_custom_fov = 82.6 ambient_light_source = 2 ambient_light_color = Color(0.517647, 0.517647, 0.517647, 1) reflected_light_source = 2 ssao_enabled = true sdfgi_enabled = true fog_light_energy = 0.27 fog_sun_scatter = 0.6 [sub_resource type="Curve" id="Curve_ro1wv"] max_value = 64.0 _data = [Vector2(0.01, 8), 0.0, 0.0, 0, 0, Vector2(0.1, 32), 0.0, 0.0, 0, 0, Vector2(1, 64), 0.0, 0.0, 0, 0] point_count = 3 [node name="CPS" type="Node"] [node name="Camera3D" type="Camera3D" parent="."] transform = Transform3D(-0.753547, -0.359464, 0.550411, 0, 0.837262, 0.546802, -0.657394, 0.412041, -0.630916, 1.04752, 1.86821, -1.27831) fov = 45.0 script = ExtResource("1_jxrvb") [node name="WorldEnvironment" type="WorldEnvironment" parent="."] environment = SubResource("Environment_8xcxk") [node name="Light Group" type="Node" parent="."] [node name="DirectionalLight3D" type="DirectionalLight3D" parent="Light Group"] transform = Transform3D(0.700621, 0.223361, 0.677672, -0.313102, -0.757182, 0.573273, 0.641168, -0.613828, -0.460563, 0.126411, 0.811166, -0.0300771) light_energy = 2.101 [node name="OmniLight3D" type="OmniLight3D" parent="Light Group"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -3.57319, 1.26976, -0.478922) light_energy = 8.0 shadow_enabled = true [node name="OmniLight3D2" type="OmniLight3D" parent="Light Group"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.35489, 0.542748, 1.40482) light_energy = 8.0 shadow_enabled = true [node name="OmniLight3D3" type="OmniLight3D" parent="Light Group"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.39982, 1.75529, -1.81889) light_energy = 8.0 shadow_enabled = true [node name="Exec" type="Node" parent="."] script = ExtResource("1_ahx04") path = "Mods/EIPC/appsettings.json" [node name="SCADA Group" type="Node" parent="."] script = ExtResource("4_ql4rq") dictionary = { "HttpGet": NodePath("HttpGet") } CurrentElement = "HttpGet" [node name="DataPlayer" type="Node" parent="SCADA Group"] script = ExtResource("11_o32l8") [node name="HttpGet" type="Node" parent="SCADA Group"] script = ExtResource("7_kr3j8") url = "http://222.180.160.130:7081/WebApi/GetInfos?password=winner" [node name="SCADAService" parent="SCADA Group" instance=ExtResource("4_iuksm")] [node name="UX Node" type="Control" parent="."] layout_mode = 3 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="HUD" type="Control" parent="UX Node"] visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("14_cq27g") allowCursor = true allowInput = true isStartPanel = true [node name="TextureRect" type="TextureRect" parent="UX Node/HUD"] layout_mode = 1 anchors_preset = 5 anchor_left = 0.5 anchor_right = 0.5 offset_left = -775.0 offset_right = 776.0 offset_bottom = 132.0 grow_horizontal = 2 texture = ExtResource("7_ejfcw") expand_mode = 1 stretch_mode = 5 [node name="TextureRect2" type="NinePatchRect" parent="UX Node/HUD"] layout_direction = 2 layout_mode = 1 anchors_preset = 1 anchor_left = 1.0 anchor_right = 1.0 offset_left = -288.0 offset_top = 32.0 offset_right = -32.0 offset_bottom = 80.0 grow_horizontal = 0 texture = ExtResource("8_3erlx") patch_margin_left = 4 patch_margin_top = 16 patch_margin_right = 4 patch_margin_bottom = 16 metadata/_edit_group_ = true [node name="Label" type="Label" parent="UX Node/HUD/TextureRect2"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 text = "2023年6月14日01:47:46" horizontal_alignment = 1 vertical_alignment = 1 script = ExtResource("9_y03m7") timeFormat = "yyyy-MM-dd HH:mm:ss" [node name="Label" type="Label" parent="UX Node/HUD"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -113.0 offset_top = 227.0 offset_right = 113.0 offset_bottom = 357.0 grow_horizontal = 2 grow_vertical = 2 text = "操作方式: 按住[鼠标中键]旋转视角 按住[Shift]+[鼠标中键]拖动视角 滑动[鼠标滚轮]缩放视角 按下[Home]切换性能视图" [node name="VBoxContainer" type="HBoxContainer" parent="UX Node/HUD"] layout_mode = 1 anchors_preset = 12 anchor_top = 1.0 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 0 alignment = 1 [node name="Playback" type="Button" parent="UX Node/HUD/VBoxContainer"] layout_mode = 2 text = "回放" icon = ExtResource("18_h1whe") flat = true [node name="Settings" type="Button" parent="UX Node/HUD/VBoxContainer"] layout_mode = 2 text = "设置" icon = ExtResource("19_v6ulc") flat = true [node name="Exit" type="Button" parent="UX Node/HUD/VBoxContainer"] layout_mode = 2 text = "退出" icon = ExtResource("20_rs8fa") flat = true script = ExtResource("21_nxmi3") [node name="ItemList" type="ItemList" parent="UX Node/HUD"] layout_mode = 0 offset_left = 75.0 offset_top = 657.0 offset_right = 537.0 offset_bottom = 915.0 auto_height = true item_count = 4 same_column_width = true item_0/text = "测试数据1" item_0/selectable = false item_1/text = "测试数据2" item_1/selectable = false item_2/text = "测试数据3" item_2/selectable = false item_3/text = "测试数据4" item_3/selectable = false [node name="Playback" type="Panel" parent="UX Node" node_paths=PackedStringArray("root", "label", "dataPlayer")] visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("22_wvbt5") root = NodePath("VFlowContainer") label = NodePath("Label") template = ExtResource("23_7djjv") dataPlayer = NodePath("../../SCADA Group/DataPlayer") allowCursor = true allowInput = true [node name="ReturnButton" type="TextureButton" parent="UX Node/Playback"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="VFlowContainer" type="HFlowContainer" parent="UX Node/Playback"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 grow_horizontal = 2 grow_vertical = 2 [node name="Label" type="Label" parent="UX Node/Playback"] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -32.0 offset_top = -12.5 offset_right = 32.0 offset_bottom = 12.5 grow_horizontal = 2 grow_vertical = 2 text = "回放面板" [node name="Options" type="Panel" parent="UX Node"] visible = false layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 script = ExtResource("14_cq27g") allowCursor = true allowInput = true [node name="ReturnButton" type="TextureButton" parent="UX Node/Options"] layout_mode = 1 anchors_preset = 15 anchor_right = 1.0 anchor_bottom = 1.0 grow_horizontal = 2 grow_vertical = 2 [node name="PlaybackWindow" parent="UX Node" instance=ExtResource("24_keupm")] layout_mode = 1 anchors_preset = 8 anchor_left = 0.5 anchor_top = 0.5 anchor_right = 0.5 anchor_bottom = 0.5 offset_left = -256.0 offset_top = 230.0 offset_right = 256.0 offset_bottom = 255.0 grow_horizontal = 2 grow_vertical = 2 alignment = 1 [node name="FreeLookCamera" type="Node3D" parent="."] transform = Transform3D(0.87193, 0.185093, -0.453298, 0, 0.925795, 0.378025, 0.489631, -0.329612, 0.807228, 0.0278897, 0.747776, -0.0496664) script = ExtResource("7_t1qox") fov = 45 isEnabled = true wheelCurve = SubResource("Curve_ro1wv") distance = 4.0 maxDistance = 8.0 [node name="塞昇_仓储单元" parent="." instance=ExtResource("4_twm4i")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.13486, -0.0501724, 0) [node name="塞昇_装配单元" parent="." instance=ExtResource("5_slm5m")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0501724, 0) [node name="塞昇_交付单元" parent="." instance=ExtResource("6_pkxbi")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, -0.0501724, 0) [node name="塞昇_仓储台屏幕" parent="." instance=ExtResource("7_7bqbr")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.0696, 0.784043, 0.734538) [node name="Label3D" type="Label3D" parent="塞昇_仓储台屏幕"] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.023152, 0.203988, 0.0952591) pixel_size = 0.0007 text = "控制台" font_size = 76 width = 32.0 [node name="塞昇_仓储台机械臂底座" parent="." instance=ExtResource("8_kpd65")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.837477, 0.786089, -0.355281) [node name="塞昇_仓储台机械臂底座2" parent="." instance=ExtResource("8_kpd65")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.92656, 0.786089, -0.355281) [node name="塞昇_交付转台" parent="." instance=ExtResource("9_x5y85")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 1.303, 0.815, 0.389) [node name="塞昇_物料箱" parent="." instance=ExtResource("9_plq0l")] transform = Transform3D(4.37114e-08, -8.74228e-08, 1, -8.74228e-08, 1, 8.74228e-08, -1, -8.74228e-08, 4.37114e-08, -1.418, 0.778, 0.333) [node name="塞昇_Lite快换放置座2v4" parent="." instance=ExtResource("10_505q5")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 0.777, -0.66) [node name="装配机械臂" parent="." instance=ExtResource("12_h3fov")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.847, 0.955, -0.391) [node name="Root" parent="装配机械臂" index="0"] Id = "RB1" [node name="螺钉机械臂" parent="." instance=ExtResource("12_h3fov")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0.929088, 0.955, -0.391) [node name="Root" parent="螺钉机械臂" index="0"] Id = "RB2" [node name="塞昇_螺钉箱" parent="." instance=ExtResource("12_85p72")] [node name="Label3D" type="Label3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 0, 1.01909, 0.387762) pixel_size = 0.0019 text = "转台的零件非常多 正在纯手动优化(重画一个)" font_size = 59 [node name="Label3D2" type="Label3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -1.43103, 1.02646, 0.383217) pixel_size = 0.0009 text = "物料小车模型非常复杂 手动优化步骤非常多" font_size = 69 [node name="Label3D3" type="Label3D" parent="."] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, -0.0158046, 1.35607, -0.64637) text = "螺钉枪和夹爪的模型也非常复杂 需要很多步骤去优化" font_size = 12 [node name="Model_SR7CL11" parent="." instance=ExtResource("30_nf0w6")] transform = Transform3D(1, 0, 0, 0, 1, 0, 0, 0, 1, 2.40607, 0, 0.631328) script = ExtResource("31_ygwpk") [connection signal="OnPause" from="SCADA Group/DataPlayer" to="SCADA Group/HttpGet" method="SetActive" binds= [true]] [connection signal="OnPlay" from="SCADA Group/DataPlayer" to="UX Node/PlaybackWindow" method="show"] [connection signal="OnPlay" from="SCADA Group/DataPlayer" to="SCADA Group/HttpGet" method="SetActive" binds= [false]] [connection signal="OnPlay" from="SCADA Group/DataPlayer" to="UX Node/PlaybackWindow/HBoxContainer/TextureButton" method="set_pressed_no_signal" binds= [true]] [connection signal="OnPlayOrPause" from="SCADA Group/DataPlayer" to="UX Node/PlaybackWindow/HBoxContainer/TextureButton" method="set_pressed_no_signal"] [connection signal="OnProcessPlay" from="SCADA Group/DataPlayer" to="SCADA Group/SCADAService" method="Set"] [connection signal="OnSetNormalizeTime" from="SCADA Group/DataPlayer" to="UX Node/PlaybackWindow/HBoxContainer/NormalizeTime" method="set_value"] [connection signal="OnSetPlaybackTime" from="SCADA Group/DataPlayer" to="UX Node/PlaybackWindow/HBoxContainer/CurrentTime" method="set_text"] [connection signal="OnSetTotalTime" from="SCADA Group/DataPlayer" to="UX Node/PlaybackWindow/HBoxContainer/TotalTime" method="set_text"] [connection signal="OnStop" from="SCADA Group/DataPlayer" to="UX Node/PlaybackWindow" method="hide"] [connection signal="OnGet" from="SCADA Group/HttpGet" to="SCADA Group/SCADAService" method="Set"] [connection signal="pressed" from="UX Node/HUD/VBoxContainer/Playback" to="UX Node/Playback" method="Open"] [connection signal="pressed" from="UX Node/HUD/VBoxContainer/Settings" to="UX Node/Options" method="Open"] [connection signal="pressed" from="UX Node/HUD/VBoxContainer/Exit" to="UX Node/HUD/VBoxContainer/Exit" method="Exit"] [connection signal="pressed" from="UX Node/Playback/ReturnButton" to="UX Node/HUD" method="Open"] [connection signal="pressed" from="UX Node/Options/ReturnButton" to="UX Node/HUD" method="Open"] [connection signal="toggled" from="UX Node/PlaybackWindow/HBoxContainer/TextureButton" to="SCADA Group/DataPlayer" method="PlayOrPause"] [connection signal="value_changed" from="UX Node/PlaybackWindow/HBoxContainer/NormalizeTime" to="SCADA Group/DataPlayer" method="SetNormalizeTimeThen" binds= [false]] [editable path="UX Node/PlaybackWindow"] [editable path="装配机械臂"] [editable path="螺钉机械臂"]