@wandelbots/wandelbots-js-react-components 1.18.1 → 1.19.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/FANUC_LRMATE_200ID.d.ts +3 -0
- package/dist/components/robots/FANUC_LRMATE_200ID.d.ts.map +1 -0
- package/dist/components/robots/SupportedRobot.d.ts.map +1 -1
- package/dist/index.cjs +24 -24
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +1779 -1603
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/robots/FANUC_LRMATE_200ID.tsx +153 -0
- package/src/components/robots/SupportedRobot.tsx +4 -0
package/package.json
CHANGED
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Auto-generated by: https://github.com/pmndrs/gltfjsx
|
|
3
|
+
*/
|
|
4
|
+
|
|
5
|
+
import { animated } from "@react-spring/three"
|
|
6
|
+
import { useGLTF } from "@react-three/drei"
|
|
7
|
+
import * as THREE from "three"
|
|
8
|
+
import type { GLTF } from "three-stdlib"
|
|
9
|
+
import type { RobotModelProps } from "./types"
|
|
10
|
+
|
|
11
|
+
type GLTFResult = GLTF & {
|
|
12
|
+
nodes: {
|
|
13
|
+
shape002: THREE.Mesh
|
|
14
|
+
shape002_1: THREE.Mesh
|
|
15
|
+
link_6: THREE.Mesh
|
|
16
|
+
link_5: THREE.Mesh
|
|
17
|
+
shape010: THREE.Mesh
|
|
18
|
+
shape010_1: THREE.Mesh
|
|
19
|
+
link_3: THREE.Mesh
|
|
20
|
+
link_2: THREE.Mesh
|
|
21
|
+
link_1: THREE.Mesh
|
|
22
|
+
}
|
|
23
|
+
materials: {
|
|
24
|
+
fanuc_metal_black_AO: THREE.MeshStandardMaterial
|
|
25
|
+
fanuc_stainless_steel_AO: THREE.MeshStandardMaterial
|
|
26
|
+
fanuc_yellow_AO: THREE.MeshPhysicalMaterial
|
|
27
|
+
fanuc_aluminium_black_AO: THREE.MeshStandardMaterial
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
export function FANUC_LRMATE_200ID({ modelURL, ...props }: RobotModelProps) {
|
|
32
|
+
const { nodes, materials } = useGLTF(modelURL) as GLTFResult
|
|
33
|
+
return (
|
|
34
|
+
<group {...props} dispose={null}>
|
|
35
|
+
<group name="Empty">
|
|
36
|
+
<group name="link_0">
|
|
37
|
+
<mesh
|
|
38
|
+
name="shape002"
|
|
39
|
+
castShadow
|
|
40
|
+
receiveShadow
|
|
41
|
+
geometry={nodes.shape002.geometry}
|
|
42
|
+
material={materials.fanuc_metal_black_AO}
|
|
43
|
+
/>
|
|
44
|
+
<mesh
|
|
45
|
+
name="shape002_1"
|
|
46
|
+
castShadow
|
|
47
|
+
receiveShadow
|
|
48
|
+
geometry={nodes.shape002_1.geometry}
|
|
49
|
+
material={materials.fanuc_stainless_steel_AO}
|
|
50
|
+
/>
|
|
51
|
+
</group>
|
|
52
|
+
<animated.group name="FANUC_LRMATE-200ID_J00">
|
|
53
|
+
<animated.group
|
|
54
|
+
name="FANUC_LRMATE-200ID_J01"
|
|
55
|
+
position={[0.05, 0, 0]}
|
|
56
|
+
rotation={[Math.PI / 2, Math.PI / 2, 0]}
|
|
57
|
+
>
|
|
58
|
+
<animated.group
|
|
59
|
+
name="FANUC_LRMATE-200ID_J02"
|
|
60
|
+
position={[0.33, 0, 0]}
|
|
61
|
+
>
|
|
62
|
+
<animated.group
|
|
63
|
+
name="FANUC_LRMATE-200ID_J03"
|
|
64
|
+
position={[0.035, 0, 0]}
|
|
65
|
+
rotation={[-Math.PI / 2, 0, 0]}
|
|
66
|
+
>
|
|
67
|
+
<animated.group
|
|
68
|
+
name="FANUC_LRMATE-200ID_J04"
|
|
69
|
+
position={[0, -0.335, 0]}
|
|
70
|
+
rotation={[Math.PI / 2, 0, 0]}
|
|
71
|
+
>
|
|
72
|
+
<animated.group
|
|
73
|
+
name="FANUC_LRMATE-200ID_J05"
|
|
74
|
+
rotation={[-Math.PI / 2, 0, 0]}
|
|
75
|
+
>
|
|
76
|
+
<group
|
|
77
|
+
name="FANUC_LRMATE-200ID_FLG"
|
|
78
|
+
position={[0, -0.08, 0]}
|
|
79
|
+
rotation={[-Math.PI, 0, 0]}
|
|
80
|
+
/>
|
|
81
|
+
<mesh
|
|
82
|
+
name="link_6"
|
|
83
|
+
castShadow
|
|
84
|
+
receiveShadow
|
|
85
|
+
geometry={nodes.link_6.geometry}
|
|
86
|
+
material={materials.fanuc_metal_black_AO}
|
|
87
|
+
position={[-0.365, 0.385, 0]}
|
|
88
|
+
rotation={[0, 0, -Math.PI / 2]}
|
|
89
|
+
/>
|
|
90
|
+
</animated.group>
|
|
91
|
+
<mesh
|
|
92
|
+
name="link_5"
|
|
93
|
+
castShadow
|
|
94
|
+
receiveShadow
|
|
95
|
+
geometry={nodes.link_5.geometry}
|
|
96
|
+
material={materials.fanuc_yellow_AO}
|
|
97
|
+
position={[-0.365, 0, -0.385]}
|
|
98
|
+
rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
|
|
99
|
+
/>
|
|
100
|
+
</animated.group>
|
|
101
|
+
<group
|
|
102
|
+
name="link_4"
|
|
103
|
+
position={[-0.365, 0.05, 0]}
|
|
104
|
+
rotation={[0, 0, -Math.PI / 2]}
|
|
105
|
+
>
|
|
106
|
+
<mesh
|
|
107
|
+
name="shape010"
|
|
108
|
+
castShadow
|
|
109
|
+
receiveShadow
|
|
110
|
+
geometry={nodes.shape010.geometry}
|
|
111
|
+
material={materials.fanuc_yellow_AO}
|
|
112
|
+
/>
|
|
113
|
+
<mesh
|
|
114
|
+
name="shape010_1"
|
|
115
|
+
castShadow
|
|
116
|
+
receiveShadow
|
|
117
|
+
geometry={nodes.shape010_1.geometry}
|
|
118
|
+
material={materials.fanuc_aluminium_black_AO}
|
|
119
|
+
/>
|
|
120
|
+
</group>
|
|
121
|
+
</animated.group>
|
|
122
|
+
<mesh
|
|
123
|
+
name="link_3"
|
|
124
|
+
castShadow
|
|
125
|
+
receiveShadow
|
|
126
|
+
geometry={nodes.link_3.geometry}
|
|
127
|
+
material={materials.fanuc_yellow_AO}
|
|
128
|
+
position={[-0.33, 0, -0.05]}
|
|
129
|
+
rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
|
|
130
|
+
/>
|
|
131
|
+
</animated.group>
|
|
132
|
+
<mesh
|
|
133
|
+
name="link_2"
|
|
134
|
+
castShadow
|
|
135
|
+
receiveShadow
|
|
136
|
+
geometry={nodes.link_2.geometry}
|
|
137
|
+
material={materials.fanuc_yellow_AO}
|
|
138
|
+
position={[0, 0, -0.05]}
|
|
139
|
+
rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
|
|
140
|
+
/>
|
|
141
|
+
</animated.group>
|
|
142
|
+
<mesh
|
|
143
|
+
name="link_1"
|
|
144
|
+
castShadow
|
|
145
|
+
receiveShadow
|
|
146
|
+
geometry={nodes.link_1.geometry}
|
|
147
|
+
material={materials.fanuc_yellow_AO}
|
|
148
|
+
/>
|
|
149
|
+
</animated.group>
|
|
150
|
+
</group>
|
|
151
|
+
</group>
|
|
152
|
+
)
|
|
153
|
+
}
|
|
@@ -7,6 +7,7 @@ import { FANUC_CRX10iA } from "./FANUC_CRX10iA"
|
|
|
7
7
|
import { FANUC_CRX20iAL } from "./FANUC_CRX20iAL"
|
|
8
8
|
import { FANUC_CRX25iA } from "./FANUC_CRX25iA"
|
|
9
9
|
import { FANUC_CRX25iAL } from "./FANUC_CRX25iAL"
|
|
10
|
+
import { FANUC_LRMATE_200ID } from "./FANUC_LRMATE_200ID"
|
|
10
11
|
import { KUKA_KR16_R2010_2 } from "./KUKA_KR16_R2010_2"
|
|
11
12
|
import { KUKA_KR210_R2700 } from "./KUKA_KR210_R2700"
|
|
12
13
|
import { KUKA_KR270_R2700 } from "./KUKA_KR270_R2700"
|
|
@@ -205,6 +206,9 @@ export const SupportedRobot = externalizeComponent(
|
|
|
205
206
|
case "FANUC_CRX25iAL":
|
|
206
207
|
Robot = FANUC_CRX25iAL
|
|
207
208
|
break
|
|
209
|
+
case "FANUC_LRMATE_200ID":
|
|
210
|
+
Robot = FANUC_LRMATE_200ID
|
|
211
|
+
break
|
|
208
212
|
case "FANUC_ARC_Mate_120iD":
|
|
209
213
|
Robot = FANUC_ARC_Mate_120iD
|
|
210
214
|
break
|