@wandelbots/wandelbots-js-react-components 1.28.2 → 1.29.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/{FANUC_LR_MATE_200iD7L.d.ts → FANUC_LR_Mate_200iD4S.d.ts} +3 -3
- package/dist/components/robots/FANUC_LR_Mate_200iD4S.d.ts.map +1 -0
- package/dist/components/robots/FANUC_LR_Mate_200iD7L.d.ts +8 -0
- package/dist/components/robots/FANUC_LR_Mate_200iD7L.d.ts.map +1 -0
- package/dist/components/robots/SupportedRobot.d.ts.map +1 -1
- package/dist/index.cjs +27 -27
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3517 -3364
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/robots/FANUC_LR_Mate_200iD4S.tsx +112 -0
- package/src/components/robots/{FANUC_LR_MATE_200iD7L.tsx → FANUC_LR_Mate_200iD7L.tsx} +2 -2
- package/src/components/robots/SupportedRobot.tsx +6 -2
- package/src/components/robots/UniversalRobots_UR10e.tsx +1 -1
- package/dist/components/robots/FANUC_LR_MATE_200iD7L.d.ts.map +0 -1
package/package.json
CHANGED
|
@@ -0,0 +1,112 @@
|
|
|
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 type { RobotModelProps } from "./types"
|
|
8
|
+
|
|
9
|
+
FANUC_LR_Mate_200iD4S.config = {
|
|
10
|
+
rotationOffsets: [0, Math.PI / 2, 0, 0, 0, 0],
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
export function FANUC_LR_Mate_200iD4S({
|
|
14
|
+
modelURL,
|
|
15
|
+
flangeRef,
|
|
16
|
+
...props
|
|
17
|
+
}: RobotModelProps) {
|
|
18
|
+
const { nodes, materials } = useGLTF(modelURL) as any
|
|
19
|
+
return (
|
|
20
|
+
<group {...props} dispose={null}>
|
|
21
|
+
<group name="Empty">
|
|
22
|
+
<mesh
|
|
23
|
+
name="link_0"
|
|
24
|
+
geometry={nodes.link_0.geometry}
|
|
25
|
+
material={materials.fanuc_metal_black}
|
|
26
|
+
/>
|
|
27
|
+
<animated.group name="FANUC_LRMATE200ID4S_J00">
|
|
28
|
+
<animated.group
|
|
29
|
+
name="FANUC_LRMATE200ID4S_J01"
|
|
30
|
+
rotation={[Math.PI / 2, Math.PI / 2, 0]}
|
|
31
|
+
>
|
|
32
|
+
<animated.group
|
|
33
|
+
name="FANUC_LRMATE200ID4S_J02"
|
|
34
|
+
position={[0.26, 0, 0]}
|
|
35
|
+
>
|
|
36
|
+
<animated.group
|
|
37
|
+
name="FANUC_LRMATE200ID4S_J03"
|
|
38
|
+
position={[0.02, 0, 0]}
|
|
39
|
+
rotation={[-Math.PI / 2, 0, 0]}
|
|
40
|
+
>
|
|
41
|
+
<animated.group
|
|
42
|
+
name="FANUC_LRMATE200ID4S_J04"
|
|
43
|
+
position={[0, -0.29, 0]}
|
|
44
|
+
rotation={[Math.PI / 2, 0, 0]}
|
|
45
|
+
>
|
|
46
|
+
<animated.group
|
|
47
|
+
name="FANUC_LRMATE200ID4S_J05"
|
|
48
|
+
rotation={[-Math.PI / 2, 0, 0]}
|
|
49
|
+
>
|
|
50
|
+
<group
|
|
51
|
+
name="FANUC_LRMATE200ID4S_FLG"
|
|
52
|
+
position={[0, -0.07, 0]}
|
|
53
|
+
rotation={[-Math.PI, 0, 0]}
|
|
54
|
+
/>
|
|
55
|
+
<mesh
|
|
56
|
+
name="link_6"
|
|
57
|
+
geometry={nodes.link_6.geometry}
|
|
58
|
+
material={materials.fanuc_metal_black}
|
|
59
|
+
position={[-0.28, 0.29, 0]}
|
|
60
|
+
rotation={[0, 0, -Math.PI / 2]}
|
|
61
|
+
/>
|
|
62
|
+
</animated.group>
|
|
63
|
+
<mesh
|
|
64
|
+
name="link_5"
|
|
65
|
+
geometry={nodes.link_5.geometry}
|
|
66
|
+
material={materials.fanuc_yellow}
|
|
67
|
+
position={[-0.28, 0, -0.29]}
|
|
68
|
+
rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
|
|
69
|
+
/>
|
|
70
|
+
</animated.group>
|
|
71
|
+
<group
|
|
72
|
+
name="link_4"
|
|
73
|
+
position={[-0.28, 0, 0]}
|
|
74
|
+
rotation={[0, 0, -Math.PI / 2]}
|
|
75
|
+
>
|
|
76
|
+
<mesh
|
|
77
|
+
name="J3ARM_UNIT"
|
|
78
|
+
geometry={nodes.J3ARM_UNIT.geometry}
|
|
79
|
+
material={materials.fanuc_yellow}
|
|
80
|
+
/>
|
|
81
|
+
<mesh
|
|
82
|
+
name="J3ARM_UNIT_1"
|
|
83
|
+
geometry={nodes.J3ARM_UNIT_1.geometry}
|
|
84
|
+
material={materials.fanuc_aluminium_black}
|
|
85
|
+
/>
|
|
86
|
+
</group>
|
|
87
|
+
</animated.group>
|
|
88
|
+
<mesh
|
|
89
|
+
name="link_3"
|
|
90
|
+
geometry={nodes.link_3.geometry}
|
|
91
|
+
material={materials.fanuc_yellow}
|
|
92
|
+
position={[-0.26, 0, 0]}
|
|
93
|
+
rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
|
|
94
|
+
/>
|
|
95
|
+
</animated.group>
|
|
96
|
+
<mesh
|
|
97
|
+
name="link_2"
|
|
98
|
+
geometry={nodes.link_2.geometry}
|
|
99
|
+
material={materials.fanuc_yellow}
|
|
100
|
+
rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
|
|
101
|
+
/>
|
|
102
|
+
</animated.group>
|
|
103
|
+
<mesh
|
|
104
|
+
name="link_1"
|
|
105
|
+
geometry={nodes.link_1.geometry}
|
|
106
|
+
material={materials.fanuc_yellow}
|
|
107
|
+
/>
|
|
108
|
+
</animated.group>
|
|
109
|
+
</group>
|
|
110
|
+
</group>
|
|
111
|
+
)
|
|
112
|
+
}
|
|
@@ -6,11 +6,11 @@ import { animated } from "@react-spring/three"
|
|
|
6
6
|
import { useGLTF } from "@react-three/drei"
|
|
7
7
|
import type { RobotModelProps } from "./types"
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
FANUC_LR_Mate_200iD7L.config = {
|
|
10
10
|
rotationOffsets: [0, Math.PI / 2, 0, 0, 0, 0],
|
|
11
11
|
}
|
|
12
12
|
|
|
13
|
-
export function
|
|
13
|
+
export function FANUC_LR_Mate_200iD7L({
|
|
14
14
|
modelURL,
|
|
15
15
|
flangeRef,
|
|
16
16
|
...props
|
|
@@ -9,7 +9,8 @@ import { FANUC_CRX20iAL } from "./FANUC_CRX20iAL"
|
|
|
9
9
|
import { FANUC_CRX25iA } from "./FANUC_CRX25iA"
|
|
10
10
|
import { FANUC_CRX25iAL } from "./FANUC_CRX25iAL"
|
|
11
11
|
import { FANUC_LR_Mate_200iD } from "./FANUC_LR_Mate_200iD"
|
|
12
|
-
import {
|
|
12
|
+
import { FANUC_LR_Mate_200iD4S } from "./FANUC_LR_Mate_200iD4S"
|
|
13
|
+
import { FANUC_LR_Mate_200iD7L } from "./FANUC_LR_Mate_200iD7L"
|
|
13
14
|
import { KUKA_KR16_R2010_2 } from "./KUKA_KR16_R2010_2"
|
|
14
15
|
import { KUKA_KR210_R2700 } from "./KUKA_KR210_R2700"
|
|
15
16
|
import { KUKA_KR270_R2700 } from "./KUKA_KR270_R2700"
|
|
@@ -221,8 +222,11 @@ export const SupportedRobot = externalizeComponent(
|
|
|
221
222
|
case "FANUC_LR_Mate_200iD":
|
|
222
223
|
Robot = FANUC_LR_Mate_200iD
|
|
223
224
|
break
|
|
225
|
+
case "FANUC_LR_Mate_200iD4S":
|
|
226
|
+
Robot = FANUC_LR_Mate_200iD4S
|
|
227
|
+
break
|
|
224
228
|
case "FANUC_LR_Mate_200iD7L":
|
|
225
|
-
Robot =
|
|
229
|
+
Robot = FANUC_LR_Mate_200iD7L
|
|
226
230
|
break
|
|
227
231
|
case "FANUC_ARC_Mate_120iD":
|
|
228
232
|
Robot = FANUC_ARC_Mate_120iD
|
|
@@ -31,11 +31,11 @@ export function UniversalRobots_UR10e({
|
|
|
31
31
|
>
|
|
32
32
|
<animated.group
|
|
33
33
|
name="UR10e_J06"
|
|
34
|
+
ref={flangeRef}
|
|
34
35
|
position={[0, 0.12, 0]}
|
|
35
36
|
rotation={[-Math.PI / 2, 0, 0]}
|
|
36
37
|
>
|
|
37
38
|
<animated.group
|
|
38
|
-
ref={flangeRef}
|
|
39
39
|
name="UR10e_FLG"
|
|
40
40
|
position={[1.184, -0.174, 0.061]}
|
|
41
41
|
rotation={[-Math.PI / 2, 0, 0]}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"FANUC_LR_MATE_200iD7L.d.ts","sourceRoot":"","sources":["../../../src/components/robots/FANUC_LR_MATE_200iD7L.tsx"],"names":[],"mappings":"AAMA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAM9C,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CA4IjB;yBAhJe,qBAAqB"}
|