@wandelbots/wandelbots-js-react-components 1.28.0 → 1.28.1
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/components/robots/Yaskawa_AR900.d.ts.map +1 -1
- package/dist/index.cjs +18 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +437 -362
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/robots/SupportedRobot.tsx +3 -3
- package/src/components/robots/Yaskawa_AR900.tsx +107 -60
package/package.json
CHANGED
|
@@ -161,19 +161,19 @@ export const SupportedRobot = externalizeComponent(
|
|
|
161
161
|
}, [isGhost])
|
|
162
162
|
|
|
163
163
|
switch (modelFromController) {
|
|
164
|
-
case "
|
|
164
|
+
case "UniversalRobots_UR3CB":
|
|
165
165
|
Robot = UniversalRobots_UR3CB
|
|
166
166
|
break
|
|
167
167
|
case "UniversalRobots_UR3e":
|
|
168
168
|
Robot = UniversalRobots_UR3e
|
|
169
169
|
break
|
|
170
|
-
case "
|
|
170
|
+
case "UniversalRobots_UR5CB":
|
|
171
171
|
Robot = UniversalRobots_UR5CB
|
|
172
172
|
break
|
|
173
173
|
case "UniversalRobots_UR5e":
|
|
174
174
|
Robot = UniversalRobots_UR5e
|
|
175
175
|
break
|
|
176
|
-
case "
|
|
176
|
+
case "UniversalRobots_UR10CB":
|
|
177
177
|
Robot = UniversalRobots_UR10CB
|
|
178
178
|
break
|
|
179
179
|
case "UniversalRobots_UR10e":
|
|
@@ -19,81 +19,128 @@ export function Yaskawa_AR900({
|
|
|
19
19
|
<>
|
|
20
20
|
<group {...props} dispose={null}>
|
|
21
21
|
<group name="Scene">
|
|
22
|
-
<group name="
|
|
23
|
-
<
|
|
22
|
+
<group name="link_0">
|
|
23
|
+
<mesh
|
|
24
|
+
name="visuals"
|
|
25
|
+
geometry={nodes.visuals.geometry}
|
|
26
|
+
material={materials.yaskawa_blue}
|
|
27
|
+
/>
|
|
28
|
+
<mesh
|
|
29
|
+
name="visuals_1"
|
|
30
|
+
geometry={nodes.visuals_1.geometry}
|
|
31
|
+
material={materials.yaskawa_black}
|
|
32
|
+
/>
|
|
33
|
+
<mesh
|
|
34
|
+
name="visuals_2"
|
|
35
|
+
geometry={nodes.visuals_2.geometry}
|
|
36
|
+
material={materials.yaskawa_metalsilver}
|
|
37
|
+
/>
|
|
38
|
+
</group>
|
|
39
|
+
<animated.group name="YASKAWA_GP7_J00">
|
|
40
|
+
<mesh
|
|
41
|
+
name="link_1"
|
|
42
|
+
geometry={nodes.link_1.geometry}
|
|
43
|
+
material={materials.yaskawa_blue}
|
|
44
|
+
/>
|
|
45
|
+
<animated.group
|
|
46
|
+
name="YASKAWA_GP7_J01"
|
|
47
|
+
position={[0.04, 0, 0]}
|
|
48
|
+
rotation={[-Math.PI / 2, -Math.PI / 2, 0]}
|
|
49
|
+
>
|
|
50
|
+
<mesh
|
|
51
|
+
name="link_2"
|
|
52
|
+
geometry={nodes.link_2.geometry}
|
|
53
|
+
material={materials.yaskawa_blue}
|
|
54
|
+
position={[0, 0, 0.04]}
|
|
55
|
+
rotation={[Math.PI / 2, 0, -Math.PI / 2]}
|
|
56
|
+
/>
|
|
24
57
|
<animated.group
|
|
25
|
-
name="
|
|
26
|
-
position={[0.
|
|
27
|
-
rotation={[-Math.PI
|
|
58
|
+
name="YASKAWA_GP7_J02"
|
|
59
|
+
position={[0.445, 0, 0]}
|
|
60
|
+
rotation={[-Math.PI, 0, 0]}
|
|
28
61
|
>
|
|
62
|
+
<group
|
|
63
|
+
name="link_3"
|
|
64
|
+
position={[-0.445, 0, -0.04]}
|
|
65
|
+
rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
|
|
66
|
+
>
|
|
67
|
+
<mesh
|
|
68
|
+
name="visuals003"
|
|
69
|
+
geometry={nodes.visuals003.geometry}
|
|
70
|
+
material={materials.yaskawa_blue}
|
|
71
|
+
/>
|
|
72
|
+
<mesh
|
|
73
|
+
name="visuals003_1"
|
|
74
|
+
geometry={nodes.visuals003_1.geometry}
|
|
75
|
+
material={materials.material_Material_Metall__1_}
|
|
76
|
+
/>
|
|
77
|
+
<mesh
|
|
78
|
+
name="visuals003_2"
|
|
79
|
+
geometry={nodes.visuals003_2.geometry}
|
|
80
|
+
material={materials.yaskawa_black}
|
|
81
|
+
/>
|
|
82
|
+
</group>
|
|
29
83
|
<animated.group
|
|
30
|
-
name="
|
|
31
|
-
position={[0.
|
|
32
|
-
rotation={[-Math.PI, 0, 0]}
|
|
84
|
+
name="YASKAWA_GP7_J03"
|
|
85
|
+
position={[0.04, 0, 0]}
|
|
86
|
+
rotation={[-Math.PI / 2, 0, 0]}
|
|
33
87
|
>
|
|
88
|
+
<group
|
|
89
|
+
name="link_4"
|
|
90
|
+
position={[-0.485, 0.04, 0]}
|
|
91
|
+
rotation={[0, 0, -Math.PI / 2]}
|
|
92
|
+
>
|
|
93
|
+
<mesh
|
|
94
|
+
name="visuals004"
|
|
95
|
+
geometry={nodes.visuals004.geometry}
|
|
96
|
+
material={materials.yaskawa_white}
|
|
97
|
+
/>
|
|
98
|
+
<mesh
|
|
99
|
+
name="visuals004_1"
|
|
100
|
+
geometry={nodes.visuals004_1.geometry}
|
|
101
|
+
material={materials.yaskawa_black}
|
|
102
|
+
/>
|
|
103
|
+
<mesh
|
|
104
|
+
name="visuals004_2"
|
|
105
|
+
geometry={nodes.visuals004_2.geometry}
|
|
106
|
+
material={materials.yaskawa_blue}
|
|
107
|
+
/>
|
|
108
|
+
</group>
|
|
34
109
|
<animated.group
|
|
35
|
-
name="
|
|
36
|
-
position={[0
|
|
37
|
-
rotation={[
|
|
110
|
+
name="YASKAWA_GP7_J04"
|
|
111
|
+
position={[0, -0.44, 0]}
|
|
112
|
+
rotation={[Math.PI / 2, 0, 0]}
|
|
38
113
|
>
|
|
114
|
+
<mesh
|
|
115
|
+
name="link_5"
|
|
116
|
+
geometry={nodes.link_5.geometry}
|
|
117
|
+
material={materials.yaskawa_blue}
|
|
118
|
+
position={[-0.485, 0, -0.48]}
|
|
119
|
+
rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
|
|
120
|
+
/>
|
|
39
121
|
<animated.group
|
|
40
|
-
name="
|
|
41
|
-
|
|
42
|
-
rotation={[Math.PI / 2, 0, 0]}
|
|
122
|
+
name="YASKAWA_GP7_J05"
|
|
123
|
+
rotation={[-Math.PI / 2, 0, 0]}
|
|
43
124
|
>
|
|
44
|
-
<animated.group
|
|
45
|
-
name="AR900_J06"
|
|
46
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
47
|
-
>
|
|
48
|
-
<group
|
|
49
|
-
ref={flangeRef}
|
|
50
|
-
name="AR900_FLG"
|
|
51
|
-
position={[0, -0.08, 0]}
|
|
52
|
-
rotation={[-Math.PI, 0, 0]}
|
|
53
|
-
/>
|
|
54
|
-
<mesh
|
|
55
|
-
name="AR900_L06"
|
|
56
|
-
geometry={nodes.AR900_L06.geometry}
|
|
57
|
-
material={materials["#BBA474.001"]}
|
|
58
|
-
/>
|
|
59
|
-
</animated.group>
|
|
60
125
|
<mesh
|
|
61
|
-
name="
|
|
62
|
-
geometry={nodes.
|
|
63
|
-
material={materials
|
|
126
|
+
name="link_6"
|
|
127
|
+
geometry={nodes.link_6.geometry}
|
|
128
|
+
material={materials.yaskawa_metalgold}
|
|
129
|
+
position={[-0.485, 0.48, 0]}
|
|
130
|
+
rotation={[0, 0, -Math.PI / 2]}
|
|
131
|
+
/>
|
|
132
|
+
<group
|
|
133
|
+
ref={flangeRef}
|
|
134
|
+
name="YASKAWA_GP7_FLG"
|
|
135
|
+
position={[0, -0.08, 0]}
|
|
136
|
+
rotation={[-Math.PI, 0, 0]}
|
|
64
137
|
/>
|
|
65
138
|
</animated.group>
|
|
66
|
-
<mesh
|
|
67
|
-
name="AR900_L04"
|
|
68
|
-
geometry={nodes.AR900_L04.geometry}
|
|
69
|
-
material={materials["#0056b9.001"]}
|
|
70
|
-
/>
|
|
71
139
|
</animated.group>
|
|
72
|
-
<mesh
|
|
73
|
-
name="AR900_L03"
|
|
74
|
-
geometry={nodes.AR900_L03.geometry}
|
|
75
|
-
material={materials["#0056b9.001"]}
|
|
76
|
-
/>
|
|
77
140
|
</animated.group>
|
|
78
|
-
<mesh
|
|
79
|
-
name="AR900_L02"
|
|
80
|
-
geometry={nodes.AR900_L02.geometry}
|
|
81
|
-
material={materials["#0056b9.001"]}
|
|
82
|
-
/>
|
|
83
141
|
</animated.group>
|
|
84
|
-
<mesh
|
|
85
|
-
name="AR900_L01"
|
|
86
|
-
geometry={nodes.AR900_L01.geometry}
|
|
87
|
-
material={materials["#0056b9.001"]}
|
|
88
|
-
/>
|
|
89
142
|
</animated.group>
|
|
90
|
-
|
|
91
|
-
name="AR900_L00"
|
|
92
|
-
geometry={nodes.AR900_L00.geometry}
|
|
93
|
-
material={materials["#0056b9.001"]}
|
|
94
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
95
|
-
/>
|
|
96
|
-
</group>
|
|
143
|
+
</animated.group>
|
|
97
144
|
</group>
|
|
98
145
|
</group>
|
|
99
146
|
</>
|