@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.
Files changed (118) hide show
  1. package/dist/components/robots/DHRobot.d.ts.map +1 -1
  2. package/dist/components/robots/GenericRobot.d.ts +3 -0
  3. package/dist/components/robots/GenericRobot.d.ts.map +1 -0
  4. package/dist/components/robots/Robot.d.ts +1 -1
  5. package/dist/components/robots/Robot.d.ts.map +1 -1
  6. package/dist/components/robots/RobotAnimator.d.ts +3 -4
  7. package/dist/components/robots/RobotAnimator.d.ts.map +1 -1
  8. package/dist/components/robots/SupportedRobot.d.ts +1 -1
  9. package/dist/components/robots/SupportedRobot.d.ts.map +1 -1
  10. package/dist/components/robots/types.d.ts +1 -1
  11. package/dist/components/robots/types.d.ts.map +1 -1
  12. package/dist/index.cjs +32 -32
  13. package/dist/index.cjs.map +1 -1
  14. package/dist/index.js +5630 -13020
  15. package/dist/index.js.map +1 -1
  16. package/dist/themes/theming.d.ts +1 -1
  17. package/dist/themes/theming.d.ts.map +1 -1
  18. package/package.json +1 -1
  19. package/src/components/robots/DHRobot.tsx +1 -0
  20. package/src/components/robots/GenericRobot.tsx +54 -0
  21. package/src/components/robots/Robot.tsx +1 -1
  22. package/src/components/robots/RobotAnimator.tsx +11 -9
  23. package/src/components/robots/SupportedRobot.tsx +11 -160
  24. package/src/components/robots/types.ts +1 -1
  25. package/src/themes/theming.ts +9 -2
  26. package/dist/components/robots/ABB_1200_07_7.d.ts +0 -8
  27. package/dist/components/robots/ABB_1200_07_7.d.ts.map +0 -1
  28. package/dist/components/robots/ABB_1300_115_10.d.ts +0 -8
  29. package/dist/components/robots/ABB_1300_115_10.d.ts.map +0 -1
  30. package/dist/components/robots/FANUC_ARC_Mate_100iD.d.ts +0 -8
  31. package/dist/components/robots/FANUC_ARC_Mate_100iD.d.ts.map +0 -1
  32. package/dist/components/robots/FANUC_ARC_Mate_120iD.d.ts +0 -8
  33. package/dist/components/robots/FANUC_ARC_Mate_120iD.d.ts.map +0 -1
  34. package/dist/components/robots/FANUC_CRX10iA.d.ts +0 -8
  35. package/dist/components/robots/FANUC_CRX10iA.d.ts.map +0 -1
  36. package/dist/components/robots/FANUC_CRX10iAL.d.ts +0 -8
  37. package/dist/components/robots/FANUC_CRX10iAL.d.ts.map +0 -1
  38. package/dist/components/robots/FANUC_CRX20iAL.d.ts +0 -8
  39. package/dist/components/robots/FANUC_CRX20iAL.d.ts.map +0 -1
  40. package/dist/components/robots/FANUC_CRX25iA.d.ts +0 -8
  41. package/dist/components/robots/FANUC_CRX25iA.d.ts.map +0 -1
  42. package/dist/components/robots/FANUC_CRX25iAL.d.ts +0 -8
  43. package/dist/components/robots/FANUC_CRX25iAL.d.ts.map +0 -1
  44. package/dist/components/robots/FANUC_LR_Mate_200iD.d.ts +0 -8
  45. package/dist/components/robots/FANUC_LR_Mate_200iD.d.ts.map +0 -1
  46. package/dist/components/robots/FANUC_LR_Mate_200iD4S.d.ts +0 -8
  47. package/dist/components/robots/FANUC_LR_Mate_200iD4S.d.ts.map +0 -1
  48. package/dist/components/robots/FANUC_LR_Mate_200iD7L.d.ts +0 -8
  49. package/dist/components/robots/FANUC_LR_Mate_200iD7L.d.ts.map +0 -1
  50. package/dist/components/robots/KUKA_KR16_R2010_2.d.ts +0 -9
  51. package/dist/components/robots/KUKA_KR16_R2010_2.d.ts.map +0 -1
  52. package/dist/components/robots/KUKA_KR20_R1810_2.d.ts +0 -9
  53. package/dist/components/robots/KUKA_KR20_R1810_2.d.ts.map +0 -1
  54. package/dist/components/robots/KUKA_KR210_R2700.d.ts +0 -8
  55. package/dist/components/robots/KUKA_KR210_R2700.d.ts.map +0 -1
  56. package/dist/components/robots/KUKA_KR270_R2700.d.ts +0 -8
  57. package/dist/components/robots/KUKA_KR270_R2700.d.ts.map +0 -1
  58. package/dist/components/robots/KUKA_KR6_R700_2.d.ts +0 -9
  59. package/dist/components/robots/KUKA_KR6_R700_2.d.ts.map +0 -1
  60. package/dist/components/robots/UniversalRobots_UR10CB.d.ts +0 -3
  61. package/dist/components/robots/UniversalRobots_UR10CB.d.ts.map +0 -1
  62. package/dist/components/robots/UniversalRobots_UR10e.d.ts +0 -3
  63. package/dist/components/robots/UniversalRobots_UR10e.d.ts.map +0 -1
  64. package/dist/components/robots/UniversalRobots_UR16e.d.ts +0 -3
  65. package/dist/components/robots/UniversalRobots_UR16e.d.ts.map +0 -1
  66. package/dist/components/robots/UniversalRobots_UR3CB.d.ts +0 -3
  67. package/dist/components/robots/UniversalRobots_UR3CB.d.ts.map +0 -1
  68. package/dist/components/robots/UniversalRobots_UR3e.d.ts +0 -3
  69. package/dist/components/robots/UniversalRobots_UR3e.d.ts.map +0 -1
  70. package/dist/components/robots/UniversalRobots_UR5CB.d.ts +0 -3
  71. package/dist/components/robots/UniversalRobots_UR5CB.d.ts.map +0 -1
  72. package/dist/components/robots/UniversalRobots_UR5e.d.ts +0 -3
  73. package/dist/components/robots/UniversalRobots_UR5e.d.ts.map +0 -1
  74. package/dist/components/robots/Yaskawa_AR1440.d.ts +0 -9
  75. package/dist/components/robots/Yaskawa_AR1440.d.ts.map +0 -1
  76. package/dist/components/robots/Yaskawa_AR1730.d.ts +0 -9
  77. package/dist/components/robots/Yaskawa_AR1730.d.ts.map +0 -1
  78. package/dist/components/robots/Yaskawa_AR2010.d.ts +0 -8
  79. package/dist/components/robots/Yaskawa_AR2010.d.ts.map +0 -1
  80. package/dist/components/robots/Yaskawa_AR3120.d.ts +0 -9
  81. package/dist/components/robots/Yaskawa_AR3120.d.ts.map +0 -1
  82. package/dist/components/robots/Yaskawa_AR900.d.ts +0 -8
  83. package/dist/components/robots/Yaskawa_AR900.d.ts.map +0 -1
  84. package/dist/components/robots/Yaskawa_GP50.d.ts +0 -8
  85. package/dist/components/robots/Yaskawa_GP50.d.ts.map +0 -1
  86. package/dist/components/robots/Yaskawa_GP88.d.ts +0 -8
  87. package/dist/components/robots/Yaskawa_GP88.d.ts.map +0 -1
  88. package/src/components/robots/ABB_1200_07_7.tsx +0 -161
  89. package/src/components/robots/ABB_1300_115_10.tsx +0 -179
  90. package/src/components/robots/FANUC_ARC_Mate_100iD.tsx +0 -151
  91. package/src/components/robots/FANUC_ARC_Mate_120iD.tsx +0 -151
  92. package/src/components/robots/FANUC_CRX10iA.tsx +0 -137
  93. package/src/components/robots/FANUC_CRX10iAL.tsx +0 -205
  94. package/src/components/robots/FANUC_CRX20iAL.tsx +0 -142
  95. package/src/components/robots/FANUC_CRX25iA.tsx +0 -135
  96. package/src/components/robots/FANUC_CRX25iAL.tsx +0 -146
  97. package/src/components/robots/FANUC_LR_Mate_200iD.tsx +0 -122
  98. package/src/components/robots/FANUC_LR_Mate_200iD4S.tsx +0 -112
  99. package/src/components/robots/FANUC_LR_Mate_200iD7L.tsx +0 -157
  100. package/src/components/robots/KUKA_KR16_R2010_2.tsx +0 -149
  101. package/src/components/robots/KUKA_KR20_R1810_2.tsx +0 -205
  102. package/src/components/robots/KUKA_KR210_R2700.tsx +0 -232
  103. package/src/components/robots/KUKA_KR270_R2700.tsx +0 -194
  104. package/src/components/robots/KUKA_KR6_R700_2.tsx +0 -129
  105. package/src/components/robots/UniversalRobots_UR10CB.tsx +0 -246
  106. package/src/components/robots/UniversalRobots_UR10e.tsx +0 -273
  107. package/src/components/robots/UniversalRobots_UR16e.tsx +0 -234
  108. package/src/components/robots/UniversalRobots_UR3CB.tsx +0 -89
  109. package/src/components/robots/UniversalRobots_UR3e.tsx +0 -209
  110. package/src/components/robots/UniversalRobots_UR5CB.tsx +0 -203
  111. package/src/components/robots/UniversalRobots_UR5e.tsx +0 -219
  112. package/src/components/robots/Yaskawa_AR1440.tsx +0 -125
  113. package/src/components/robots/Yaskawa_AR1730.tsx +0 -138
  114. package/src/components/robots/Yaskawa_AR2010.tsx +0 -139
  115. package/src/components/robots/Yaskawa_AR3120.tsx +0 -133
  116. package/src/components/robots/Yaskawa_AR900.tsx +0 -148
  117. package/src/components/robots/Yaskawa_GP50.tsx +0 -196
  118. package/src/components/robots/Yaskawa_GP88.tsx +0 -169
@@ -1,135 +0,0 @@
1
- import { animated } from "@react-spring/three"
2
- import { useGLTF } from "@react-three/drei"
3
- import type { RobotModelProps } from "./types"
4
-
5
- FANUC_CRX25iA.config = {
6
- rotationOffsets: [0, Math.PI / 2, 0, 0, 0, 0],
7
- }
8
-
9
- export function FANUC_CRX25iA({
10
- modelURL,
11
- flangeRef,
12
- ...props
13
- }: RobotModelProps) {
14
- const gltf = useGLTF(modelURL) as any
15
- const nodes = gltf.nodes
16
- const materials = gltf.materials
17
-
18
- return (
19
- <>
20
- <group {...props} dispose={null}>
21
- <group name="Scene" position={[0, -0.37, 0]}>
22
- <group name="CRX25iA_L00">
23
- <mesh
24
- name="J1BASE_NetGen_Coarse"
25
- geometry={nodes.J1BASE_NetGen_Coarse.geometry}
26
- material={materials.Fanuc_BlackMetal}
27
- />
28
- <mesh
29
- name="J1BASE_NetGen_Coarse_1"
30
- geometry={nodes.J1BASE_NetGen_Coarse_1.geometry}
31
- material={materials.Fanuc_GreenPlastic}
32
- />
33
- </group>
34
- <animated.group name="CRX25iA_J00">
35
- <animated.group
36
- name="CRX25iA_J01"
37
- position={[0, 0.37, 0]}
38
- rotation={[Math.PI / 2, Math.PI / 2, 0]}
39
- >
40
- <animated.group name="CRX25iA_J02" position={[0.95, 0, 0]}>
41
- <animated.group
42
- name="CRX25iA_J03"
43
- rotation={[-Math.PI / 2, 0, 0]}
44
- >
45
- <animated.group
46
- name="CRX25iA_J04"
47
- position={[0, -0.75, 0]}
48
- rotation={[Math.PI / 2, 0, 0]}
49
- >
50
- <animated.group
51
- name="CRX25iA_J05"
52
- position={[0, 0.185, 0]}
53
- rotation={[-Math.PI / 2, 0, 0]}
54
- >
55
- <group
56
- ref={flangeRef}
57
- name="CRX25iA_FLG"
58
- position={[0, -0.18, 0]}
59
- rotation={[-Math.PI, 0, 0]}
60
- />
61
- <mesh
62
- name="CRX25iA_L06"
63
- geometry={nodes.CRX25iA_L06.geometry}
64
- material={materials.Fanuc_BlackMetal}
65
- position={[0, -0.18, 0]}
66
- />
67
- </animated.group>
68
- <group name="CRX25iA_L05" position={[0, 0.185, 0]}>
69
- <mesh
70
- name="J6CASING_NetGen_Coarse"
71
- geometry={nodes.J6CASING_NetGen_Coarse.geometry}
72
- material={materials.Fanuc_WhitePlastic}
73
- />
74
- <mesh
75
- name="J6CASING_NetGen_Coarse_1"
76
- geometry={nodes.J6CASING_NetGen_Coarse_1.geometry}
77
- material={materials.Fanuc_GreenPlastic}
78
- />
79
- </group>
80
- </animated.group>
81
- <group name="CRX25iA_L04" position={[0, -0.75, 0]}>
82
- <mesh
83
- name="J3ARM_NetGen_Coarse"
84
- geometry={nodes.J3ARM_NetGen_Coarse.geometry}
85
- material={materials.Fanuc_WhitePlastic}
86
- />
87
- <mesh
88
- name="J3ARM_NetGen_Coarse_1"
89
- geometry={nodes.J3ARM_NetGen_Coarse_1.geometry}
90
- material={materials.Fanuc_RedPlastic}
91
- />
92
- <mesh
93
- name="J3ARM_NetGen_Coarse_2"
94
- geometry={nodes.J3ARM_NetGen_Coarse_2.geometry}
95
- material={materials.Fanuc_BlackPlastic}
96
- />
97
- </group>
98
- </animated.group>
99
- <group name="CRX25iA_L03">
100
- <mesh
101
- name="J3CASING_NetGen_Coarse"
102
- geometry={nodes.J3CASING_NetGen_Coarse.geometry}
103
- material={materials.Fanuc_WhitePlastic}
104
- />
105
- <mesh
106
- name="J3CASING_NetGen_Coarse_1"
107
- geometry={nodes.J3CASING_NetGen_Coarse_1.geometry}
108
- material={materials.Fanuc_GreenPlastic}
109
- />
110
- </group>
111
- </animated.group>
112
- <mesh
113
- name="CRX25iA_L02"
114
- geometry={nodes.CRX25iA_L02.geometry}
115
- material={materials.Fanuc_WhitePlastic}
116
- />
117
- </animated.group>
118
- <group name="CRX25iA_L01" position={[0, 0.18, 0]}>
119
- <mesh
120
- name="J2BASE_NetGen_Coarse"
121
- geometry={nodes.J2BASE_NetGen_Coarse.geometry}
122
- material={materials.Fanuc_WhitePlastic}
123
- />
124
- <mesh
125
- name="J2BASE_NetGen_Coarse_1"
126
- geometry={nodes.J2BASE_NetGen_Coarse_1.geometry}
127
- material={materials.Fanuc_GreenLED}
128
- />
129
- </group>
130
- </animated.group>
131
- </group>
132
- </group>
133
- </>
134
- )
135
- }
@@ -1,146 +0,0 @@
1
- import { animated } from "@react-spring/three"
2
- import { useGLTF } from "@react-three/drei"
3
- import type { RobotModelProps } from "./types"
4
-
5
- FANUC_CRX25iAL.config = {
6
- rotationOffsets: [0, Math.PI / 2, 0, 0, 0, 0],
7
- }
8
-
9
- export function FANUC_CRX25iAL({
10
- modelURL,
11
- flangeRef,
12
- ...props
13
- }: RobotModelProps) {
14
- const gltf = useGLTF(modelURL) as any
15
- const nodes = gltf.nodes
16
- const materials = gltf.materials
17
-
18
- return (
19
- <>
20
- <group {...props} dispose={null}>
21
- <group name="Scene">
22
- <animated.group name="CRX10iA_J00">
23
- <animated.group
24
- name="CRX10iA_J01"
25
- position={[0, 0.245, 0]}
26
- rotation={[Math.PI / 2, Math.PI / 2, 0]}
27
- >
28
- <animated.group name="CRX10iA_J02" position={[0.71, 0, 0]}>
29
- <animated.group
30
- name="CRX10iA_J03"
31
- rotation={[-Math.PI / 2, 0, 0]}
32
- >
33
- <animated.group
34
- name="CRX10iA_J04"
35
- position={[0, -0.54, 0]}
36
- rotation={[Math.PI / 2, 0, 0]}
37
- >
38
- <animated.group
39
- name="CRX10iA_J05"
40
- position={[0, 0.15, 0]}
41
- rotation={[-Math.PI / 2, 0, 0]}
42
- >
43
- <group
44
- ref={flangeRef}
45
- name="CRX10iA_FLG"
46
- position={[0, -0.16, 0]}
47
- rotation={[-Math.PI, 0, 0]}
48
- />
49
- <mesh
50
- name="CRX10iA_L06"
51
- geometry={nodes.CRX10iA_L06.geometry}
52
- material={materials["Fanuc_BlackMetal.001"]}
53
- position={[0, -0.16, 0]}
54
- rotation={[0, 0, -Math.PI / 2]}
55
- />
56
- </animated.group>
57
- <group
58
- name="CRX10iA_L05"
59
- position={[0, 0.15, 0]}
60
- rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
61
- >
62
- <mesh
63
- name="J5CASING_UNIT001"
64
- geometry={nodes.J5CASING_UNIT001.geometry}
65
- material={materials["Fanuc_WhitePlastic.001"]}
66
- />
67
- <mesh
68
- name="J5CASING_UNIT001_1"
69
- geometry={nodes.J5CASING_UNIT001_1.geometry}
70
- material={materials["Fanuc_Green.001"]}
71
- />
72
- </group>
73
- </animated.group>
74
- <group
75
- name="CRX10iA_L04"
76
- position={[0, -0.54, 0]}
77
- rotation={[0, 0, -Math.PI / 2]}
78
- >
79
- <mesh
80
- name="NAME_LABEL_CRX_10iA_L001"
81
- geometry={nodes.NAME_LABEL_CRX_10iA_L001.geometry}
82
- material={materials["Fanuc_WhitePlastic.001"]}
83
- />
84
- <mesh
85
- name="NAME_LABEL_CRX_10iA_L001_1"
86
- geometry={nodes.NAME_LABEL_CRX_10iA_L001_1.geometry}
87
- material={materials["Fanuc_RedPlastic.001"]}
88
- />
89
- <mesh
90
- name="NAME_LABEL_CRX_10iA_L001_2"
91
- geometry={nodes.NAME_LABEL_CRX_10iA_L001_2.geometry}
92
- material={materials["Fanuc_BlackPlastic.001"]}
93
- />
94
- </group>
95
- </animated.group>
96
- <group
97
- name="CRX10iA_L03"
98
- rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
99
- >
100
- <mesh
101
- name="J3CASING_UNIT001"
102
- geometry={nodes.J3CASING_UNIT001.geometry}
103
- material={materials["Fanuc_WhitePlastic.001"]}
104
- />
105
- <mesh
106
- name="J3CASING_UNIT001_1"
107
- geometry={nodes.J3CASING_UNIT001_1.geometry}
108
- material={materials["Fanuc_Green.001"]}
109
- />
110
- </group>
111
- </animated.group>
112
- <mesh
113
- name="CRX10iA_L02"
114
- geometry={nodes.CRX10iA_L02.geometry}
115
- material={materials["Fanuc_WhitePlastic.001"]}
116
- rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
117
- />
118
- </animated.group>
119
- <group name="CRX10iA_L01" position={[0, 0.128, 0]}>
120
- <mesh
121
- name="J2BASE_UNIT001"
122
- geometry={nodes.J2BASE_UNIT001.geometry}
123
- material={materials["Fanuc_WhitePlastic.001"]}
124
- />
125
- <mesh
126
- name="J2BASE_UNIT001_1"
127
- geometry={nodes.J2BASE_UNIT001_1.geometry}
128
- material={materials["Fanuc_Green.001"]}
129
- />
130
- <mesh
131
- name="J2BASE_UNIT001_2"
132
- geometry={nodes.J2BASE_UNIT001_2.geometry}
133
- material={materials["Fanuc_GreenLED.001"]}
134
- />
135
- </group>
136
- </animated.group>
137
- <mesh
138
- name="CRX10iA_L00"
139
- geometry={nodes.CRX10iA_L00.geometry}
140
- material={materials["Fanuc_BlackMetal.001"]}
141
- />
142
- </group>
143
- </group>
144
- </>
145
- )
146
- }
@@ -1,122 +0,0 @@
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_200iD.config = {
10
- rotationOffsets: [0, Math.PI / 2, 0, 0, 0, 0],
11
- }
12
-
13
- export function FANUC_LR_Mate_200iD({
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
- <group name="link_0">
23
- <mesh
24
- name="shape002"
25
- geometry={nodes.shape002.geometry}
26
- material={materials.fanuc_metal_black_AO}
27
- />
28
- <mesh
29
- name="shape002_1"
30
- geometry={nodes.shape002_1.geometry}
31
- material={materials.fanuc_stainless_steel_AO}
32
- />
33
- </group>
34
- <animated.group name="FANUC_LRMATE-200ID_J00">
35
- <animated.group
36
- name="FANUC_LRMATE-200ID_J01"
37
- position={[0.05, 0, 0]}
38
- rotation={[Math.PI / 2, Math.PI / 2, 0]}
39
- >
40
- <animated.group
41
- name="FANUC_LRMATE-200ID_J02"
42
- position={[0.33, 0, 0]}
43
- >
44
- <animated.group
45
- name="FANUC_LRMATE-200ID_J03"
46
- position={[0.035, 0, 0]}
47
- rotation={[-Math.PI / 2, 0, 0]}
48
- >
49
- <animated.group
50
- name="FANUC_LRMATE-200ID_J04"
51
- position={[0, -0.335, 0]}
52
- rotation={[Math.PI / 2, 0, 0]}
53
- >
54
- <animated.group
55
- name="FANUC_LRMATE-200ID_J05"
56
- rotation={[-Math.PI / 2, 0, 0]}
57
- >
58
- <group
59
- ref={flangeRef}
60
- name="FANUC_LRMATE-200ID_FLG"
61
- position={[0, -0.08, 0]}
62
- rotation={[-Math.PI, 0, 0]}
63
- />
64
- <mesh
65
- name="link_6"
66
- geometry={nodes.link_6.geometry}
67
- material={materials.fanuc_metal_black_AO}
68
- position={[-0.365, 0.385, 0]}
69
- rotation={[0, 0, -Math.PI / 2]}
70
- />
71
- </animated.group>
72
- <mesh
73
- name="link_5"
74
- geometry={nodes.link_5.geometry}
75
- material={materials.fanuc_yellow_AO}
76
- position={[-0.365, 0, -0.385]}
77
- rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
78
- />
79
- </animated.group>
80
- <group
81
- name="link_4"
82
- position={[-0.365, 0.05, 0]}
83
- rotation={[0, 0, -Math.PI / 2]}
84
- >
85
- <mesh
86
- name="shape010"
87
- geometry={nodes.shape010.geometry}
88
- material={materials.fanuc_yellow_AO}
89
- />
90
- <mesh
91
- name="shape010_1"
92
- geometry={nodes.shape010_1.geometry}
93
- material={materials.fanuc_aluminium_black_AO}
94
- />
95
- </group>
96
- </animated.group>
97
- <mesh
98
- name="link_3"
99
- geometry={nodes.link_3.geometry}
100
- material={materials.fanuc_yellow_AO}
101
- position={[-0.33, 0, -0.05]}
102
- rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
103
- />
104
- </animated.group>
105
- <mesh
106
- name="link_2"
107
- geometry={nodes.link_2.geometry}
108
- material={materials.fanuc_yellow_AO}
109
- position={[0, 0, -0.05]}
110
- rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
111
- />
112
- </animated.group>
113
- <mesh
114
- name="link_1"
115
- geometry={nodes.link_1.geometry}
116
- material={materials.fanuc_yellow_AO}
117
- />
118
- </animated.group>
119
- </group>
120
- </group>
121
- )
122
- }
@@ -1,112 +0,0 @@
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
- }
@@ -1,157 +0,0 @@
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_200iD7L.config = {
10
- rotationOffsets: [0, Math.PI / 2, 0, 0, 0, 0],
11
- }
12
-
13
- export function FANUC_LR_Mate_200iD7L({
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="Scene">
22
- <group name="link_0">
23
- <mesh
24
- name="visuals_0"
25
- geometry={nodes.visuals_0.geometry}
26
- material={materials.fanuc_metal_black}
27
- />
28
- <mesh
29
- name="visuals_0_1"
30
- geometry={nodes.visuals_0_1.geometry}
31
- material={materials.fanuc_metal_black}
32
- />
33
- <mesh
34
- name="visuals_0_2"
35
- geometry={nodes.visuals_0_2.geometry}
36
- material={materials.fanuc_aluminium_black}
37
- />
38
- </group>
39
- <animated.group name="FANUC_LRMATE200ID7L_J00">
40
- <animated.group
41
- name="FANUC_LRMATE200ID7L_J01"
42
- position={[0.05, 0, 0]}
43
- rotation={[Math.PI / 2, Math.PI / 2, 0]}
44
- >
45
- <animated.group
46
- name="FANUC_LRMATE200ID7L_J02"
47
- position={[0.44, 0, 0]}
48
- >
49
- <animated.group
50
- name="FANUC_LRMATE200ID7L_J03"
51
- position={[0.035, 0, 0]}
52
- rotation={[-Math.PI / 2, 0, 0]}
53
- >
54
- <animated.group
55
- name="FANUC_LRMATE200ID7L_J04"
56
- position={[0, -0.42, 0]}
57
- rotation={[Math.PI / 2, 0, 0]}
58
- >
59
- <animated.group
60
- name="FANUC_LRMATE200ID7L_J05"
61
- rotation={[-Math.PI / 2, 0, 0]}
62
- >
63
- <animated.group
64
- ref={flangeRef}
65
- name="FANUC_LRMATE200ID7L_FLG"
66
- position={[0, -0.08, 0]}
67
- rotation={[-Math.PI, 0, 0]}
68
- />
69
- <mesh
70
- name="link_6"
71
- geometry={nodes.link_6.geometry}
72
- material={materials.fanuc_metal_black}
73
- position={[-0.475, 0.47, 0]}
74
- rotation={[0, 0, -Math.PI / 2]}
75
- />
76
- </animated.group>
77
- <group
78
- name="link_5"
79
- position={[-0.475, 0, -0.47]}
80
- rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
81
- >
82
- <mesh
83
- name="visuals_5"
84
- geometry={nodes.visuals_5.geometry}
85
- material={materials.fanuc_yellow}
86
- />
87
- <mesh
88
- name="visuals_5_1"
89
- geometry={nodes.visuals_5_1.geometry}
90
- material={materials.fanuc_stainless_steel}
91
- />
92
- <mesh
93
- name="visuals_5_2"
94
- geometry={nodes.visuals_5_2.geometry}
95
- material={materials.fanuc_metal_black}
96
- />
97
- </group>
98
- </animated.group>
99
- <group
100
- name="link_4"
101
- position={[-0.475, 0.05, 0]}
102
- rotation={[0, 0, -Math.PI / 2]}
103
- >
104
- <mesh
105
- name="visuals_4"
106
- geometry={nodes.visuals_4.geometry}
107
- material={materials.fanuc_yellow}
108
- />
109
- <mesh
110
- name="visuals_4_1"
111
- geometry={nodes.visuals_4_1.geometry}
112
- material={materials.fanuc_aluminium_black}
113
- />
114
- </group>
115
- </animated.group>
116
- <group
117
- name="link_3"
118
- position={[-0.44, 0, -0.05]}
119
- rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
120
- >
121
- <mesh
122
- name="visuals_3"
123
- geometry={nodes.visuals_3.geometry}
124
- material={materials.fanuc_yellow}
125
- />
126
- <mesh
127
- name="visuals_3_1"
128
- geometry={nodes.visuals_3_1.geometry}
129
- material={materials.fanuc_stainless_steel}
130
- />
131
- </group>
132
- </animated.group>
133
- <mesh
134
- name="link_2"
135
- geometry={nodes.link_2.geometry}
136
- material={materials.fanuc_yellow}
137
- position={[0, 0, -0.05]}
138
- rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
139
- />
140
- </animated.group>
141
- <group name="link_1">
142
- <mesh
143
- name="visuals_1"
144
- geometry={nodes.visuals_1.geometry}
145
- material={materials.fanuc_yellow}
146
- />
147
- <mesh
148
- name="visuals_1_1"
149
- geometry={nodes.visuals_1_1.geometry}
150
- material={materials.fanuc_stainless_steel}
151
- />
152
- </group>
153
- </animated.group>
154
- </group>
155
- </group>
156
- )
157
- }