@wandelbots/wandelbots-js-react-components 1.33.4 → 1.34.0
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/DHRobot.d.ts.map +1 -1
- package/dist/components/robots/GenericRobot.d.ts +3 -0
- package/dist/components/robots/GenericRobot.d.ts.map +1 -0
- package/dist/components/robots/Robot.d.ts +1 -1
- package/dist/components/robots/Robot.d.ts.map +1 -1
- package/dist/components/robots/RobotAnimator.d.ts +3 -4
- package/dist/components/robots/RobotAnimator.d.ts.map +1 -1
- package/dist/components/robots/SupportedRobot.d.ts +1 -1
- package/dist/components/robots/SupportedRobot.d.ts.map +1 -1
- package/dist/components/robots/types.d.ts +1 -1
- package/dist/components/robots/types.d.ts.map +1 -1
- package/dist/index.cjs +32 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5630 -13020
- package/dist/index.js.map +1 -1
- package/dist/themes/theming.d.ts +1 -1
- package/dist/themes/theming.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/robots/DHRobot.tsx +1 -0
- package/src/components/robots/GenericRobot.tsx +54 -0
- package/src/components/robots/Robot.tsx +1 -1
- package/src/components/robots/RobotAnimator.tsx +11 -9
- package/src/components/robots/SupportedRobot.tsx +11 -160
- package/src/components/robots/types.ts +1 -1
- package/src/themes/theming.ts +9 -2
- package/dist/components/robots/ABB_1200_07_7.d.ts +0 -8
- package/dist/components/robots/ABB_1200_07_7.d.ts.map +0 -1
- package/dist/components/robots/ABB_1300_115_10.d.ts +0 -8
- package/dist/components/robots/ABB_1300_115_10.d.ts.map +0 -1
- package/dist/components/robots/FANUC_ARC_Mate_100iD.d.ts +0 -8
- package/dist/components/robots/FANUC_ARC_Mate_100iD.d.ts.map +0 -1
- package/dist/components/robots/FANUC_ARC_Mate_120iD.d.ts +0 -8
- package/dist/components/robots/FANUC_ARC_Mate_120iD.d.ts.map +0 -1
- package/dist/components/robots/FANUC_CRX10iA.d.ts +0 -8
- package/dist/components/robots/FANUC_CRX10iA.d.ts.map +0 -1
- package/dist/components/robots/FANUC_CRX10iAL.d.ts +0 -8
- package/dist/components/robots/FANUC_CRX10iAL.d.ts.map +0 -1
- package/dist/components/robots/FANUC_CRX20iAL.d.ts +0 -8
- package/dist/components/robots/FANUC_CRX20iAL.d.ts.map +0 -1
- package/dist/components/robots/FANUC_CRX25iA.d.ts +0 -8
- package/dist/components/robots/FANUC_CRX25iA.d.ts.map +0 -1
- package/dist/components/robots/FANUC_CRX25iAL.d.ts +0 -8
- package/dist/components/robots/FANUC_CRX25iAL.d.ts.map +0 -1
- package/dist/components/robots/FANUC_LR_Mate_200iD.d.ts +0 -8
- package/dist/components/robots/FANUC_LR_Mate_200iD.d.ts.map +0 -1
- package/dist/components/robots/FANUC_LR_Mate_200iD4S.d.ts +0 -8
- package/dist/components/robots/FANUC_LR_Mate_200iD4S.d.ts.map +0 -1
- package/dist/components/robots/FANUC_LR_Mate_200iD7L.d.ts +0 -8
- package/dist/components/robots/FANUC_LR_Mate_200iD7L.d.ts.map +0 -1
- package/dist/components/robots/KUKA_KR16_R2010_2.d.ts +0 -9
- package/dist/components/robots/KUKA_KR16_R2010_2.d.ts.map +0 -1
- package/dist/components/robots/KUKA_KR20_R1810_2.d.ts +0 -9
- package/dist/components/robots/KUKA_KR20_R1810_2.d.ts.map +0 -1
- package/dist/components/robots/KUKA_KR210_R2700.d.ts +0 -8
- package/dist/components/robots/KUKA_KR210_R2700.d.ts.map +0 -1
- package/dist/components/robots/KUKA_KR270_R2700.d.ts +0 -8
- package/dist/components/robots/KUKA_KR270_R2700.d.ts.map +0 -1
- package/dist/components/robots/KUKA_KR6_R700_2.d.ts +0 -9
- package/dist/components/robots/KUKA_KR6_R700_2.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR10CB.d.ts +0 -3
- package/dist/components/robots/UniversalRobots_UR10CB.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR10e.d.ts +0 -3
- package/dist/components/robots/UniversalRobots_UR10e.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR16e.d.ts +0 -3
- package/dist/components/robots/UniversalRobots_UR16e.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR3CB.d.ts +0 -3
- package/dist/components/robots/UniversalRobots_UR3CB.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR3e.d.ts +0 -3
- package/dist/components/robots/UniversalRobots_UR3e.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR5CB.d.ts +0 -3
- package/dist/components/robots/UniversalRobots_UR5CB.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR5e.d.ts +0 -3
- package/dist/components/robots/UniversalRobots_UR5e.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_AR1440.d.ts +0 -9
- package/dist/components/robots/Yaskawa_AR1440.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_AR1730.d.ts +0 -9
- package/dist/components/robots/Yaskawa_AR1730.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_AR2010.d.ts +0 -8
- package/dist/components/robots/Yaskawa_AR2010.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_AR3120.d.ts +0 -9
- package/dist/components/robots/Yaskawa_AR3120.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_AR900.d.ts +0 -8
- package/dist/components/robots/Yaskawa_AR900.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_GP50.d.ts +0 -8
- package/dist/components/robots/Yaskawa_GP50.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_GP88.d.ts +0 -8
- package/dist/components/robots/Yaskawa_GP88.d.ts.map +0 -1
- package/src/components/robots/ABB_1200_07_7.tsx +0 -161
- package/src/components/robots/ABB_1300_115_10.tsx +0 -179
- package/src/components/robots/FANUC_ARC_Mate_100iD.tsx +0 -151
- package/src/components/robots/FANUC_ARC_Mate_120iD.tsx +0 -151
- package/src/components/robots/FANUC_CRX10iA.tsx +0 -137
- package/src/components/robots/FANUC_CRX10iAL.tsx +0 -205
- package/src/components/robots/FANUC_CRX20iAL.tsx +0 -142
- package/src/components/robots/FANUC_CRX25iA.tsx +0 -135
- package/src/components/robots/FANUC_CRX25iAL.tsx +0 -146
- package/src/components/robots/FANUC_LR_Mate_200iD.tsx +0 -122
- package/src/components/robots/FANUC_LR_Mate_200iD4S.tsx +0 -112
- package/src/components/robots/FANUC_LR_Mate_200iD7L.tsx +0 -157
- package/src/components/robots/KUKA_KR16_R2010_2.tsx +0 -149
- package/src/components/robots/KUKA_KR20_R1810_2.tsx +0 -205
- package/src/components/robots/KUKA_KR210_R2700.tsx +0 -232
- package/src/components/robots/KUKA_KR270_R2700.tsx +0 -194
- package/src/components/robots/KUKA_KR6_R700_2.tsx +0 -129
- package/src/components/robots/UniversalRobots_UR10CB.tsx +0 -246
- package/src/components/robots/UniversalRobots_UR10e.tsx +0 -273
- package/src/components/robots/UniversalRobots_UR16e.tsx +0 -234
- package/src/components/robots/UniversalRobots_UR3CB.tsx +0 -89
- package/src/components/robots/UniversalRobots_UR3e.tsx +0 -209
- package/src/components/robots/UniversalRobots_UR5CB.tsx +0 -203
- package/src/components/robots/UniversalRobots_UR5e.tsx +0 -219
- package/src/components/robots/Yaskawa_AR1440.tsx +0 -125
- package/src/components/robots/Yaskawa_AR1730.tsx +0 -138
- package/src/components/robots/Yaskawa_AR2010.tsx +0 -139
- package/src/components/robots/Yaskawa_AR3120.tsx +0 -133
- package/src/components/robots/Yaskawa_AR900.tsx +0 -148
- package/src/components/robots/Yaskawa_GP50.tsx +0 -196
- package/src/components/robots/Yaskawa_GP88.tsx +0 -169
|
@@ -1,209 +0,0 @@
|
|
|
1
|
-
import { animated } from "@react-spring/three"
|
|
2
|
-
import { useGLTF } from "@react-three/drei"
|
|
3
|
-
import type { RobotModelProps } from "./types"
|
|
4
|
-
|
|
5
|
-
export function UniversalRobots_UR3e({
|
|
6
|
-
modelURL,
|
|
7
|
-
flangeRef,
|
|
8
|
-
...props
|
|
9
|
-
}: RobotModelProps) {
|
|
10
|
-
const gltf = useGLTF(modelURL) as any
|
|
11
|
-
const nodes = gltf.nodes
|
|
12
|
-
const materials = gltf.materials
|
|
13
|
-
|
|
14
|
-
return (
|
|
15
|
-
<group {...props} dispose={null}>
|
|
16
|
-
<group name="Empty">
|
|
17
|
-
<group name="link_0">
|
|
18
|
-
<mesh
|
|
19
|
-
name="visuals_0"
|
|
20
|
-
geometry={nodes.visuals_0.geometry}
|
|
21
|
-
material={materials.universalrobots_black}
|
|
22
|
-
/>
|
|
23
|
-
<mesh
|
|
24
|
-
name="visuals_0_1"
|
|
25
|
-
geometry={nodes.visuals_0_1.geometry}
|
|
26
|
-
material={materials.universalrobots_aluminum}
|
|
27
|
-
/>
|
|
28
|
-
</group>
|
|
29
|
-
<animated.group name="UNIVERSALROBOTS_UR3E_J00">
|
|
30
|
-
<group name="link_1">
|
|
31
|
-
<mesh
|
|
32
|
-
name="visuals_1"
|
|
33
|
-
geometry={nodes.visuals_1.geometry}
|
|
34
|
-
material={materials.universalrobots_black}
|
|
35
|
-
/>
|
|
36
|
-
<mesh
|
|
37
|
-
name="visuals_1_1"
|
|
38
|
-
geometry={nodes.visuals_1_1.geometry}
|
|
39
|
-
material={materials.universalrobots_darkgrey}
|
|
40
|
-
/>
|
|
41
|
-
<mesh
|
|
42
|
-
name="visuals_1_2"
|
|
43
|
-
geometry={nodes.visuals_1_2.geometry}
|
|
44
|
-
material={materials.universalrobots_lightblue}
|
|
45
|
-
/>
|
|
46
|
-
<mesh
|
|
47
|
-
name="visuals_1_3"
|
|
48
|
-
geometry={nodes.visuals_1_3.geometry}
|
|
49
|
-
material={materials.universalrobots_black}
|
|
50
|
-
/>
|
|
51
|
-
<mesh
|
|
52
|
-
name="visuals_1_4"
|
|
53
|
-
geometry={nodes.visuals_1_4.geometry}
|
|
54
|
-
material={materials.universalrobots_stainlesssteel}
|
|
55
|
-
/>
|
|
56
|
-
</group>
|
|
57
|
-
<animated.group
|
|
58
|
-
name="UNIVERSALROBOTS_UR3E_J01"
|
|
59
|
-
position={[0, 0.152, 0]}
|
|
60
|
-
rotation={[Math.PI / 2, 0, 0]}
|
|
61
|
-
>
|
|
62
|
-
<group
|
|
63
|
-
name="link_2"
|
|
64
|
-
position={[0, 0, 0.152]}
|
|
65
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
66
|
-
>
|
|
67
|
-
<mesh
|
|
68
|
-
name="visuals_2"
|
|
69
|
-
geometry={nodes.visuals_2.geometry}
|
|
70
|
-
material={materials.universalrobots_black}
|
|
71
|
-
/>
|
|
72
|
-
<mesh
|
|
73
|
-
name="visuals_2_1"
|
|
74
|
-
geometry={nodes.visuals_2_1.geometry}
|
|
75
|
-
material={materials.universalrobots_aluminum}
|
|
76
|
-
/>
|
|
77
|
-
<mesh
|
|
78
|
-
name="visuals_2_2"
|
|
79
|
-
geometry={nodes.visuals_2_2.geometry}
|
|
80
|
-
material={materials.universalrobots_darkgrey}
|
|
81
|
-
/>
|
|
82
|
-
<mesh
|
|
83
|
-
name="visuals_2_3"
|
|
84
|
-
geometry={nodes.visuals_2_3.geometry}
|
|
85
|
-
material={materials.universalrobots_lightblue}
|
|
86
|
-
/>
|
|
87
|
-
</group>
|
|
88
|
-
<animated.group
|
|
89
|
-
name="UNIVERSALROBOTS_UR3E_J02"
|
|
90
|
-
position={[-0.244, 0, 0]}
|
|
91
|
-
>
|
|
92
|
-
<group
|
|
93
|
-
name="link_3"
|
|
94
|
-
position={[0.244, 0, 0.152]}
|
|
95
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
96
|
-
>
|
|
97
|
-
<mesh
|
|
98
|
-
name="visuals_3"
|
|
99
|
-
geometry={nodes.visuals_3.geometry}
|
|
100
|
-
material={materials.universalrobots_black}
|
|
101
|
-
/>
|
|
102
|
-
<mesh
|
|
103
|
-
name="visuals_3_1"
|
|
104
|
-
geometry={nodes.visuals_3_1.geometry}
|
|
105
|
-
material={materials.universalrobots_aluminum}
|
|
106
|
-
/>
|
|
107
|
-
<mesh
|
|
108
|
-
name="visuals_3_2"
|
|
109
|
-
geometry={nodes.visuals_3_2.geometry}
|
|
110
|
-
material={materials.universalrobots_darkgrey}
|
|
111
|
-
/>
|
|
112
|
-
<mesh
|
|
113
|
-
name="visuals_3_3"
|
|
114
|
-
geometry={nodes.visuals_3_3.geometry}
|
|
115
|
-
material={materials.universalrobots_lightblue}
|
|
116
|
-
/>
|
|
117
|
-
</group>
|
|
118
|
-
<animated.group
|
|
119
|
-
name="UNIVERSALROBOTS_UR3E_J03"
|
|
120
|
-
position={[-0.213, 0, 0]}
|
|
121
|
-
>
|
|
122
|
-
<group
|
|
123
|
-
name="link_4"
|
|
124
|
-
position={[0.457, 0, 0.152]}
|
|
125
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
126
|
-
>
|
|
127
|
-
<mesh
|
|
128
|
-
name="visuals_4"
|
|
129
|
-
geometry={nodes.visuals_4.geometry}
|
|
130
|
-
material={materials.universalrobots_black}
|
|
131
|
-
/>
|
|
132
|
-
<mesh
|
|
133
|
-
name="visuals_4_1"
|
|
134
|
-
geometry={nodes.visuals_4_1.geometry}
|
|
135
|
-
material={materials.universalrobots_darkgrey}
|
|
136
|
-
/>
|
|
137
|
-
<mesh
|
|
138
|
-
name="visuals_4_2"
|
|
139
|
-
geometry={nodes.visuals_4_2.geometry}
|
|
140
|
-
material={materials.universalrobots_lightblue}
|
|
141
|
-
/>
|
|
142
|
-
</group>
|
|
143
|
-
<animated.group
|
|
144
|
-
name="UNIVERSALROBOTS_UR3E_J04"
|
|
145
|
-
position={[0, 0.131, 0]}
|
|
146
|
-
rotation={[Math.PI / 2, 0, 0]}
|
|
147
|
-
>
|
|
148
|
-
<group
|
|
149
|
-
name="link_5"
|
|
150
|
-
position={[0.457, 0.152, 0.131]}
|
|
151
|
-
rotation={[Math.PI, 0, 0]}
|
|
152
|
-
>
|
|
153
|
-
<mesh
|
|
154
|
-
name="visuals_5"
|
|
155
|
-
geometry={nodes.visuals_5.geometry}
|
|
156
|
-
material={materials.universalrobots_black}
|
|
157
|
-
/>
|
|
158
|
-
<mesh
|
|
159
|
-
name="visuals_5_1"
|
|
160
|
-
geometry={nodes.visuals_5_1.geometry}
|
|
161
|
-
material={materials.universalrobots_darkgrey}
|
|
162
|
-
/>
|
|
163
|
-
<mesh
|
|
164
|
-
name="visuals_5_2"
|
|
165
|
-
geometry={nodes.visuals_5_2.geometry}
|
|
166
|
-
material={materials.universalrobots_lightblue}
|
|
167
|
-
/>
|
|
168
|
-
</group>
|
|
169
|
-
<animated.group
|
|
170
|
-
name="UNIVERSALROBOTS_UR3E_J05"
|
|
171
|
-
position={[0, 0.085, 0]}
|
|
172
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
173
|
-
>
|
|
174
|
-
<group
|
|
175
|
-
name="link_6"
|
|
176
|
-
position={[0.457, -0.131, 0.067]}
|
|
177
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
178
|
-
>
|
|
179
|
-
<mesh
|
|
180
|
-
name="visuals_6"
|
|
181
|
-
geometry={nodes.visuals_6.geometry}
|
|
182
|
-
material={materials.universalrobots_stainlesssteel}
|
|
183
|
-
/>
|
|
184
|
-
<mesh
|
|
185
|
-
name="visuals_6_1"
|
|
186
|
-
geometry={nodes.visuals_6_1.geometry}
|
|
187
|
-
material={materials.universalrobots_black}
|
|
188
|
-
/>
|
|
189
|
-
<mesh
|
|
190
|
-
name="visuals_6_2"
|
|
191
|
-
geometry={nodes.visuals_6_2.geometry}
|
|
192
|
-
material={materials.universalrobots_aluminum}
|
|
193
|
-
/>
|
|
194
|
-
</group>
|
|
195
|
-
<group
|
|
196
|
-
ref={flangeRef}
|
|
197
|
-
name="UNIVERSALROBOTS_UR3E_FLG"
|
|
198
|
-
position={[0, 0.092, 0]}
|
|
199
|
-
/>
|
|
200
|
-
</animated.group>
|
|
201
|
-
</animated.group>
|
|
202
|
-
</animated.group>
|
|
203
|
-
</animated.group>
|
|
204
|
-
</animated.group>
|
|
205
|
-
</animated.group>
|
|
206
|
-
</group>
|
|
207
|
-
</group>
|
|
208
|
-
)
|
|
209
|
-
}
|
|
@@ -1,203 +0,0 @@
|
|
|
1
|
-
import { animated } from "@react-spring/three"
|
|
2
|
-
import { useGLTF } from "@react-three/drei"
|
|
3
|
-
import type { RobotModelProps } from "./types"
|
|
4
|
-
|
|
5
|
-
export function UniversalRobots_UR5CB({
|
|
6
|
-
modelURL,
|
|
7
|
-
flangeRef,
|
|
8
|
-
...props
|
|
9
|
-
}: RobotModelProps) {
|
|
10
|
-
const gltf = useGLTF(modelURL) as any
|
|
11
|
-
const nodes = gltf.nodes
|
|
12
|
-
const materials = gltf.materials
|
|
13
|
-
|
|
14
|
-
return (
|
|
15
|
-
<group {...props} dispose={null}>
|
|
16
|
-
<group name="Scene">
|
|
17
|
-
<animated.group name="UNIVERSALROBOTS_UR5CB_J00">
|
|
18
|
-
<group name="link_1">
|
|
19
|
-
<mesh
|
|
20
|
-
name="visuals_1"
|
|
21
|
-
geometry={nodes.visuals_1.geometry}
|
|
22
|
-
material={materials.universalrobots_darkgrey}
|
|
23
|
-
/>
|
|
24
|
-
<mesh
|
|
25
|
-
name="visuals_1_1"
|
|
26
|
-
geometry={nodes.visuals_1_1.geometry}
|
|
27
|
-
material={materials.universalrobots_black}
|
|
28
|
-
/>
|
|
29
|
-
<mesh
|
|
30
|
-
name="visuals_1_2"
|
|
31
|
-
geometry={nodes.visuals_1_2.geometry}
|
|
32
|
-
material={materials.universalrobots_aluminum}
|
|
33
|
-
/>
|
|
34
|
-
<mesh
|
|
35
|
-
name="visuals_1_3"
|
|
36
|
-
geometry={nodes.visuals_1_3.geometry}
|
|
37
|
-
material={materials.universalrobots_lightblue}
|
|
38
|
-
/>
|
|
39
|
-
</group>
|
|
40
|
-
<animated.group
|
|
41
|
-
name="UNIVERSALROBOTS_UR5CB_J01"
|
|
42
|
-
position={[0, 0.089, 0]}
|
|
43
|
-
rotation={[Math.PI / 2, 0, 0]}
|
|
44
|
-
>
|
|
45
|
-
<group
|
|
46
|
-
name="link_2"
|
|
47
|
-
position={[0, 0, 0.089]}
|
|
48
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
49
|
-
>
|
|
50
|
-
<mesh
|
|
51
|
-
name="visuals_2"
|
|
52
|
-
geometry={nodes.visuals_2.geometry}
|
|
53
|
-
material={materials.universalrobots_stainlesssteel}
|
|
54
|
-
/>
|
|
55
|
-
<mesh
|
|
56
|
-
name="visuals_2_1"
|
|
57
|
-
geometry={nodes.visuals_2_1.geometry}
|
|
58
|
-
material={materials.universalrobots_lightblue}
|
|
59
|
-
/>
|
|
60
|
-
<mesh
|
|
61
|
-
name="visuals_2_2"
|
|
62
|
-
geometry={nodes.visuals_2_2.geometry}
|
|
63
|
-
material={materials.universalrobots_aluminum}
|
|
64
|
-
/>
|
|
65
|
-
<mesh
|
|
66
|
-
name="visuals_2_3"
|
|
67
|
-
geometry={nodes.visuals_2_3.geometry}
|
|
68
|
-
material={materials.universalrobots_black}
|
|
69
|
-
/>
|
|
70
|
-
<mesh
|
|
71
|
-
name="visuals_2_4"
|
|
72
|
-
geometry={nodes.visuals_2_4.geometry}
|
|
73
|
-
material={materials.universalrobots_darkgrey}
|
|
74
|
-
/>
|
|
75
|
-
</group>
|
|
76
|
-
<animated.group
|
|
77
|
-
name="UNIVERSALROBOTS_UR5CB_J02"
|
|
78
|
-
position={[-0.425, 0, 0]}
|
|
79
|
-
>
|
|
80
|
-
<group
|
|
81
|
-
name="link_3"
|
|
82
|
-
position={[0.425, 0, 0.089]}
|
|
83
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
84
|
-
>
|
|
85
|
-
<mesh
|
|
86
|
-
name="visuals_3"
|
|
87
|
-
geometry={nodes.visuals_3.geometry}
|
|
88
|
-
material={materials.universalrobots_lightblue}
|
|
89
|
-
/>
|
|
90
|
-
<mesh
|
|
91
|
-
name="visuals_3_1"
|
|
92
|
-
geometry={nodes.visuals_3_1.geometry}
|
|
93
|
-
material={materials.universalrobots_black}
|
|
94
|
-
/>
|
|
95
|
-
<mesh
|
|
96
|
-
name="visuals_3_2"
|
|
97
|
-
geometry={nodes.visuals_3_2.geometry}
|
|
98
|
-
material={materials.universalrobots_aluminum}
|
|
99
|
-
/>
|
|
100
|
-
<mesh
|
|
101
|
-
name="visuals_3_3"
|
|
102
|
-
geometry={nodes.visuals_3_3.geometry}
|
|
103
|
-
material={materials.universalrobots_darkgrey}
|
|
104
|
-
/>
|
|
105
|
-
<mesh
|
|
106
|
-
name="visuals_3_4"
|
|
107
|
-
geometry={nodes.visuals_3_4.geometry}
|
|
108
|
-
material={materials.universalrobots_stainlesssteel}
|
|
109
|
-
/>
|
|
110
|
-
</group>
|
|
111
|
-
<animated.group
|
|
112
|
-
name="UNIVERSALROBOTS_UR5CB_J03"
|
|
113
|
-
position={[-0.392, 0, 0]}
|
|
114
|
-
>
|
|
115
|
-
<group
|
|
116
|
-
name="link_4"
|
|
117
|
-
position={[0.817, 0, 0.089]}
|
|
118
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
119
|
-
>
|
|
120
|
-
<mesh
|
|
121
|
-
name="visuals_4"
|
|
122
|
-
geometry={nodes.visuals_4.geometry}
|
|
123
|
-
material={materials.universalrobots_darkgrey}
|
|
124
|
-
/>
|
|
125
|
-
<mesh
|
|
126
|
-
name="visuals_4_1"
|
|
127
|
-
geometry={nodes.visuals_4_1.geometry}
|
|
128
|
-
material={materials.universalrobots_aluminum}
|
|
129
|
-
/>
|
|
130
|
-
<mesh
|
|
131
|
-
name="visuals_4_2"
|
|
132
|
-
geometry={nodes.visuals_4_2.geometry}
|
|
133
|
-
material={materials.universalrobots_lightblue}
|
|
134
|
-
/>
|
|
135
|
-
<mesh
|
|
136
|
-
name="visuals_4_3"
|
|
137
|
-
geometry={nodes.visuals_4_3.geometry}
|
|
138
|
-
material={materials.universalrobots_black}
|
|
139
|
-
/>
|
|
140
|
-
</group>
|
|
141
|
-
<animated.group
|
|
142
|
-
name="UNIVERSALROBOTS_UR5CB_J04"
|
|
143
|
-
position={[0, 0.109, 0]}
|
|
144
|
-
rotation={[Math.PI / 2, 0, 0]}
|
|
145
|
-
>
|
|
146
|
-
<group
|
|
147
|
-
name="link_5"
|
|
148
|
-
position={[0.817, 0.089, 0.109]}
|
|
149
|
-
rotation={[Math.PI, 0, 0]}
|
|
150
|
-
>
|
|
151
|
-
<mesh
|
|
152
|
-
name="visuals_5"
|
|
153
|
-
geometry={nodes.visuals_5.geometry}
|
|
154
|
-
material={materials.universalrobots_darkgrey}
|
|
155
|
-
/>
|
|
156
|
-
<mesh
|
|
157
|
-
name="visuals_5_1"
|
|
158
|
-
geometry={nodes.visuals_5_1.geometry}
|
|
159
|
-
material={materials.universalrobots_lightblue}
|
|
160
|
-
/>
|
|
161
|
-
<mesh
|
|
162
|
-
name="visuals_5_2"
|
|
163
|
-
geometry={nodes.visuals_5_2.geometry}
|
|
164
|
-
material={materials.universalrobots_aluminum}
|
|
165
|
-
/>
|
|
166
|
-
<mesh
|
|
167
|
-
name="visuals_5_3"
|
|
168
|
-
geometry={nodes.visuals_5_3.geometry}
|
|
169
|
-
material={materials.universalrobots_black}
|
|
170
|
-
/>
|
|
171
|
-
</group>
|
|
172
|
-
<animated.group
|
|
173
|
-
name="UNIVERSALROBOTS_UR5CB_J05"
|
|
174
|
-
position={[0, 0.095, 0]}
|
|
175
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
176
|
-
>
|
|
177
|
-
<mesh
|
|
178
|
-
name="link_6"
|
|
179
|
-
geometry={nodes.link_6.geometry}
|
|
180
|
-
material={materials.universalrobots_stainlesssteel}
|
|
181
|
-
position={[0.817, -0.109, -0.005]}
|
|
182
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
183
|
-
/>
|
|
184
|
-
<group
|
|
185
|
-
ref={flangeRef}
|
|
186
|
-
name="UNIVERSALROBOTS_UR5CB_FLG"
|
|
187
|
-
position={[0, 0.082, 0]}
|
|
188
|
-
/>
|
|
189
|
-
</animated.group>
|
|
190
|
-
</animated.group>
|
|
191
|
-
</animated.group>
|
|
192
|
-
</animated.group>
|
|
193
|
-
</animated.group>
|
|
194
|
-
</animated.group>
|
|
195
|
-
<mesh
|
|
196
|
-
name="link_0"
|
|
197
|
-
geometry={nodes.link_0.geometry}
|
|
198
|
-
material={materials.universalrobots_aluminum}
|
|
199
|
-
/>
|
|
200
|
-
</group>
|
|
201
|
-
</group>
|
|
202
|
-
)
|
|
203
|
-
}
|
|
@@ -1,219 +0,0 @@
|
|
|
1
|
-
import { animated } from "@react-spring/three"
|
|
2
|
-
import { useGLTF } from "@react-three/drei"
|
|
3
|
-
import type { RobotModelProps } from "./types"
|
|
4
|
-
|
|
5
|
-
export function UniversalRobots_UR5e({
|
|
6
|
-
modelURL,
|
|
7
|
-
flangeRef,
|
|
8
|
-
...props
|
|
9
|
-
}: RobotModelProps) {
|
|
10
|
-
const gltf = useGLTF(modelURL) as any
|
|
11
|
-
const nodes = gltf.nodes
|
|
12
|
-
const materials = gltf.materials
|
|
13
|
-
|
|
14
|
-
return (
|
|
15
|
-
<>
|
|
16
|
-
<group {...props} dispose={null}>
|
|
17
|
-
<group name="Scene">
|
|
18
|
-
<group name="UR5e" rotation={[Math.PI / 2, 0, 0]}>
|
|
19
|
-
<animated.group name="UR5e_J01" rotation={[-Math.PI / 2, 0, 0]}>
|
|
20
|
-
<animated.group
|
|
21
|
-
name="UR5e_J02"
|
|
22
|
-
position={[0, 0.162, 0]}
|
|
23
|
-
rotation={[Math.PI / 2, 0, 0]}
|
|
24
|
-
>
|
|
25
|
-
<animated.group name="UR5e_J03" position={[-0.425, 0, 0]}>
|
|
26
|
-
<animated.group name="UR5e_J04" position={[-0.392, 0, 0]}>
|
|
27
|
-
<animated.group
|
|
28
|
-
name="UR5e_J05"
|
|
29
|
-
position={[0, 0.133, 0]}
|
|
30
|
-
rotation={[Math.PI / 2, 0, 0]}
|
|
31
|
-
>
|
|
32
|
-
<animated.group
|
|
33
|
-
name="UR5e_J06"
|
|
34
|
-
position={[0, 0.1, 0]}
|
|
35
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
36
|
-
>
|
|
37
|
-
<group
|
|
38
|
-
ref={flangeRef}
|
|
39
|
-
name="UR5e_FLG"
|
|
40
|
-
position={[0, 0.1, 0]}
|
|
41
|
-
></group>
|
|
42
|
-
|
|
43
|
-
<group
|
|
44
|
-
name="UR5e_L06"
|
|
45
|
-
position={[0, 0.1, 0]}
|
|
46
|
-
rotation={[0, 0, -Math.PI]}
|
|
47
|
-
>
|
|
48
|
-
<>
|
|
49
|
-
<mesh
|
|
50
|
-
name="C-1000255"
|
|
51
|
-
geometry={nodes["C-1000255"].geometry}
|
|
52
|
-
material={materials.Black}
|
|
53
|
-
/>
|
|
54
|
-
<mesh
|
|
55
|
-
name="C-1000255_1"
|
|
56
|
-
geometry={nodes["C-1000255_1"].geometry}
|
|
57
|
-
material={materials.Metal}
|
|
58
|
-
/>
|
|
59
|
-
</>
|
|
60
|
-
</group>
|
|
61
|
-
</animated.group>
|
|
62
|
-
<group
|
|
63
|
-
name="UR5e_L05"
|
|
64
|
-
rotation={[-Math.PI / 2, -Math.PI / 3, 0]}
|
|
65
|
-
>
|
|
66
|
-
<>
|
|
67
|
-
<mesh
|
|
68
|
-
name="C-1000253"
|
|
69
|
-
geometry={nodes["C-1000253"].geometry}
|
|
70
|
-
material={materials.Blue}
|
|
71
|
-
/>
|
|
72
|
-
<mesh
|
|
73
|
-
name="C-1000253_1"
|
|
74
|
-
geometry={nodes["C-1000253_1"].geometry}
|
|
75
|
-
material={materials.Black}
|
|
76
|
-
/>
|
|
77
|
-
<mesh
|
|
78
|
-
name="C-1000253_2"
|
|
79
|
-
geometry={nodes["C-1000253_2"].geometry}
|
|
80
|
-
material={materials.Metal}
|
|
81
|
-
/>
|
|
82
|
-
<mesh
|
|
83
|
-
name="C-1000253_3"
|
|
84
|
-
geometry={nodes["C-1000253_3"].geometry}
|
|
85
|
-
material={materials.DarkGray}
|
|
86
|
-
/>
|
|
87
|
-
</>
|
|
88
|
-
</group>
|
|
89
|
-
</animated.group>
|
|
90
|
-
<group name="UR5e_L04" rotation={[0, -Math.PI / 3, 0]}>
|
|
91
|
-
<>
|
|
92
|
-
<mesh
|
|
93
|
-
name="C-1000251"
|
|
94
|
-
geometry={nodes["C-1000251"].geometry}
|
|
95
|
-
material={materials.Blue}
|
|
96
|
-
/>
|
|
97
|
-
<mesh
|
|
98
|
-
name="C-1000251_1"
|
|
99
|
-
geometry={nodes["C-1000251_1"].geometry}
|
|
100
|
-
material={materials.Black}
|
|
101
|
-
/>
|
|
102
|
-
<mesh
|
|
103
|
-
name="C-1000251_2"
|
|
104
|
-
geometry={nodes["C-1000251_2"].geometry}
|
|
105
|
-
material={materials.Metal}
|
|
106
|
-
/>
|
|
107
|
-
<mesh
|
|
108
|
-
name="C-1000251_3"
|
|
109
|
-
geometry={nodes["C-1000251_3"].geometry}
|
|
110
|
-
material={materials.DarkGray}
|
|
111
|
-
/>
|
|
112
|
-
</>
|
|
113
|
-
</group>
|
|
114
|
-
</animated.group>
|
|
115
|
-
<group name="UR5e_L03">
|
|
116
|
-
<>
|
|
117
|
-
<mesh
|
|
118
|
-
name="C-1000250"
|
|
119
|
-
geometry={nodes["C-1000250"].geometry}
|
|
120
|
-
material={materials.Black}
|
|
121
|
-
/>
|
|
122
|
-
<mesh
|
|
123
|
-
name="C-1000250_1"
|
|
124
|
-
geometry={nodes["C-1000250_1"].geometry}
|
|
125
|
-
material={materials.DarkGray}
|
|
126
|
-
/>
|
|
127
|
-
<mesh
|
|
128
|
-
name="C-1000250_2"
|
|
129
|
-
geometry={nodes["C-1000250_2"].geometry}
|
|
130
|
-
material={materials.Blue}
|
|
131
|
-
/>
|
|
132
|
-
<mesh
|
|
133
|
-
name="C-1000250_3"
|
|
134
|
-
geometry={nodes["C-1000250_3"].geometry}
|
|
135
|
-
material={materials.Metal}
|
|
136
|
-
/>
|
|
137
|
-
<mesh
|
|
138
|
-
name="C-1000250_4"
|
|
139
|
-
geometry={nodes["C-1000250_4"].geometry}
|
|
140
|
-
material={materials.Metal}
|
|
141
|
-
/>
|
|
142
|
-
</>
|
|
143
|
-
</group>
|
|
144
|
-
</animated.group>
|
|
145
|
-
<group name="UR5e_L02" rotation={[0, -Math.PI / 2, 0]}>
|
|
146
|
-
<>
|
|
147
|
-
<mesh
|
|
148
|
-
name="C-1000249"
|
|
149
|
-
geometry={nodes["C-1000249"].geometry}
|
|
150
|
-
material={materials.Metal}
|
|
151
|
-
/>
|
|
152
|
-
<mesh
|
|
153
|
-
name="C-1000249_1"
|
|
154
|
-
geometry={nodes["C-1000249_1"].geometry}
|
|
155
|
-
material={materials.Black}
|
|
156
|
-
/>
|
|
157
|
-
<mesh
|
|
158
|
-
name="C-1000249_2"
|
|
159
|
-
geometry={nodes["C-1000249_2"].geometry}
|
|
160
|
-
material={materials.DarkGray}
|
|
161
|
-
/>
|
|
162
|
-
<mesh
|
|
163
|
-
name="C-1000249_3"
|
|
164
|
-
geometry={nodes["C-1000249_3"].geometry}
|
|
165
|
-
material={materials.Blue}
|
|
166
|
-
/>
|
|
167
|
-
<mesh
|
|
168
|
-
name="C-1000249_4"
|
|
169
|
-
geometry={nodes["C-1000249_4"].geometry}
|
|
170
|
-
material={materials.Metal}
|
|
171
|
-
/>
|
|
172
|
-
</>
|
|
173
|
-
</group>
|
|
174
|
-
</animated.group>
|
|
175
|
-
<group name="UR5e_L01" rotation={[Math.PI / 2, 0, 0]}>
|
|
176
|
-
<>
|
|
177
|
-
<mesh
|
|
178
|
-
name="C-1000248"
|
|
179
|
-
geometry={nodes["C-1000248"].geometry}
|
|
180
|
-
material={materials.DarkGray}
|
|
181
|
-
/>
|
|
182
|
-
<mesh
|
|
183
|
-
name="C-1000248_1"
|
|
184
|
-
geometry={nodes["C-1000248_1"].geometry}
|
|
185
|
-
material={materials.Black}
|
|
186
|
-
/>
|
|
187
|
-
<mesh
|
|
188
|
-
name="C-1000248_2"
|
|
189
|
-
geometry={nodes["C-1000248_2"].geometry}
|
|
190
|
-
material={materials.Blue}
|
|
191
|
-
/>
|
|
192
|
-
<mesh
|
|
193
|
-
name="C-1000248_3"
|
|
194
|
-
geometry={nodes["C-1000248_3"].geometry}
|
|
195
|
-
material={materials.Metal}
|
|
196
|
-
/>
|
|
197
|
-
</>
|
|
198
|
-
</group>
|
|
199
|
-
</animated.group>
|
|
200
|
-
<group name="UR5e_L00">
|
|
201
|
-
<>
|
|
202
|
-
<mesh
|
|
203
|
-
name="C-1000257"
|
|
204
|
-
geometry={nodes["C-1000257"].geometry}
|
|
205
|
-
material={materials.Black}
|
|
206
|
-
/>
|
|
207
|
-
<mesh
|
|
208
|
-
name="C-1000257_1"
|
|
209
|
-
geometry={nodes["C-1000257_1"].geometry}
|
|
210
|
-
material={materials.Metal}
|
|
211
|
-
/>
|
|
212
|
-
</>
|
|
213
|
-
</group>
|
|
214
|
-
</group>
|
|
215
|
-
</group>
|
|
216
|
-
</group>
|
|
217
|
-
</>
|
|
218
|
-
)
|
|
219
|
-
}
|