@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,125 +0,0 @@
1
- import { animated } from "@react-spring/three"
2
- import { useGLTF } from "@react-three/drei"
3
- import type { RobotModelProps } from "./types"
4
-
5
- Yaskawa_AR1440.config = {
6
- rotationOffsets: [0, -Math.PI / 2, 0, 0, 0, 0],
7
- rotationSign: [1, -1, 1, 1, 1, 1],
8
- }
9
-
10
- export function Yaskawa_AR1440({
11
- modelURL,
12
- flangeRef,
13
- ...props
14
- }: RobotModelProps) {
15
- const gltf = useGLTF(modelURL) as any
16
-
17
- const nodes = gltf.nodes
18
- const materials = gltf.materials
19
-
20
- return (
21
- <>
22
- <group {...props} dispose={null}>
23
- <group name="Scene">
24
- <group name="AR1440" rotation={[Math.PI / 2, 0, 0]}>
25
- <animated.group name="AR1440_J01" rotation={[-Math.PI / 2, 0, 0]}>
26
- <animated.group
27
- name="AR1440_J02"
28
- position={[0.155, 0, 0]}
29
- rotation={[Math.PI / 2, 0, Math.PI]}
30
- >
31
- <animated.group
32
- name="AR1440_J03"
33
- position={[0.614, 0, 0]}
34
- rotation={[Math.PI, 0, 0]}
35
- >
36
- <animated.group
37
- name="AR1440_J04"
38
- position={[0.2, 0, 0]}
39
- rotation={[-Math.PI / 2, 0, 0]}
40
- >
41
- <animated.group
42
- name="AR1440_J05"
43
- position={[0, -0.64, 0]}
44
- rotation={[Math.PI / 2, 0, 0]}
45
- >
46
- <animated.group
47
- name="AR1440_J06"
48
- rotation={[-Math.PI / 2, 0, 0]}
49
- >
50
- <group
51
- ref={flangeRef}
52
- name="AR1440_FLG"
53
- position={[0, -0.1, 0]}
54
- rotation={[-Math.PI, 0, 0]}
55
- ></group>
56
- <mesh
57
- name="AR1440_L06_CAD"
58
- geometry={nodes.AR1440_L06_CAD.geometry}
59
- material={materials.metall}
60
- />
61
- </animated.group>
62
- <mesh
63
- name="AR1440_L05_CAD"
64
- geometry={nodes.AR1440_L05_CAD.geometry}
65
- material={materials.yaskawaBlueMetall}
66
- />
67
- </animated.group>
68
- <group name="AR1440_L04_CAD">
69
- <mesh
70
- name="AR1440_L04_CAD001"
71
- geometry={nodes.AR1440_L04_CAD001.geometry}
72
- material={materials.yaskawaBlueMetall}
73
- />
74
- <mesh
75
- name="AR1440_L04_CAD001_1"
76
- geometry={nodes.AR1440_L04_CAD001_1.geometry}
77
- material={materials.white}
78
- />
79
- </group>
80
- </animated.group>
81
- <group name="AR1440_L03_CAD">
82
- <mesh
83
- name="AR1440_L03_CAD001"
84
- geometry={nodes.AR1440_L03_CAD001.geometry}
85
- material={materials.yaskawaBlueMetall}
86
- />
87
- <mesh
88
- name="AR1440_L03_CAD001_1"
89
- geometry={nodes.AR1440_L03_CAD001_1.geometry}
90
- material={materials.blackMetall}
91
- />
92
- </group>
93
- </animated.group>
94
- <mesh
95
- name="AR1440_L02_CAD"
96
- geometry={nodes.AR1440_L02_CAD.geometry}
97
- material={materials.yaskawaBlueMetall}
98
- />
99
- </animated.group>
100
- <group name="AR1440_L01_CAD">
101
- <mesh
102
- name="AR1440_L01_CAD001"
103
- geometry={nodes.AR1440_L01_CAD001.geometry}
104
- material={materials.yaskawaBlueMetall}
105
- />
106
- <mesh
107
- name="AR1440_L01_CAD001_1"
108
- geometry={nodes.AR1440_L01_CAD001_1.geometry}
109
- material={materials.blackMetall}
110
- />
111
- </group>
112
- </animated.group>
113
- <mesh
114
- name="AR1440_L00_CAD"
115
- geometry={nodes.AR1440_L00_CAD.geometry}
116
- material={materials.yaskawaBlueMetall}
117
- position={[0, 0, 0.45]}
118
- rotation={[-Math.PI / 2, 0, 0]}
119
- />
120
- </group>
121
- </group>
122
- </group>
123
- </>
124
- )
125
- }
@@ -1,138 +0,0 @@
1
- import { animated } from "@react-spring/three"
2
- import { useGLTF } from "@react-three/drei"
3
- import type { RobotModelProps } from "./types"
4
-
5
- Yaskawa_AR1730.config = {
6
- rotationOffsets: [0, -Math.PI / 2, 0, 0, 0, 0],
7
- rotationSign: [1, -1, 1, 1, 1, 1],
8
- }
9
-
10
- export function Yaskawa_AR1730({
11
- modelURL,
12
- flangeRef,
13
- ...props
14
- }: RobotModelProps) {
15
- const gltf = useGLTF(modelURL) as any
16
-
17
- const nodes = gltf.nodes
18
- const materials = gltf.materials
19
-
20
- return (
21
- <>
22
- <group {...props} dispose={null}>
23
- <group name="Scene">
24
- <animated.group name="AR1730_J00">
25
- <animated.group
26
- name="AR1730_J01"
27
- position={[0.15, 0, 0]}
28
- rotation={[-Math.PI / 2, -Math.PI / 2, 0]}
29
- >
30
- <animated.group
31
- name="AR1730_J02"
32
- position={[0.76, 0, 0]}
33
- rotation={[-Math.PI, 0, 0]}
34
- >
35
- <animated.group
36
- name="AR1730_J03"
37
- position={[0.2, 0, 0]}
38
- rotation={[-Math.PI / 2, 0, 0]}
39
- >
40
- <animated.group
41
- name="AR1730_J04"
42
- position={[0, -0.795, 0]}
43
- rotation={[Math.PI / 2, 0, 0]}
44
- >
45
- <animated.group
46
- name="AR1730_J05"
47
- rotation={[-Math.PI / 2, 0, 0]}
48
- >
49
- <group
50
- ref={flangeRef}
51
- name="AR1730_FLG"
52
- position={[0, -0.1, 0]}
53
- rotation={[-Math.PI, 0, 0]}
54
- />
55
- <mesh
56
- name="AR1730_L06"
57
- geometry={nodes.AR1730_L06.geometry}
58
- material={materials.Metal}
59
- rotation={[Math.PI / 2, -Math.PI / 2, 0]}
60
- />
61
- </animated.group>
62
- <mesh
63
- name="AR1730_L05"
64
- geometry={nodes.AR1730_L05.geometry}
65
- material={materials.Blue}
66
- rotation={[Math.PI / 2, 0, Math.PI / 2]}
67
- />
68
- </animated.group>
69
- <group
70
- name="AR1730_L04"
71
- position={[0, -0.302, 0]}
72
- rotation={[0, 0, -Math.PI / 2]}
73
- >
74
- <mesh
75
- name="_R_AXIS_SW0001002"
76
- geometry={nodes._R_AXIS_SW0001002.geometry}
77
- material={materials.Blue}
78
- />
79
- <mesh
80
- name="_R_AXIS_SW0001002_1"
81
- geometry={nodes._R_AXIS_SW0001002_1.geometry}
82
- material={materials.White}
83
- />
84
- </group>
85
- </animated.group>
86
- <group
87
- name="AR1730_L03"
88
- rotation={[Math.PI / 2, 0, -Math.PI / 2]}
89
- >
90
- <mesh
91
- name="_U_AXIS_SW0001002"
92
- geometry={nodes._U_AXIS_SW0001002.geometry}
93
- material={materials.Blue}
94
- />
95
- <mesh
96
- name="_U_AXIS_SW0001002_1"
97
- geometry={nodes._U_AXIS_SW0001002_1.geometry}
98
- material={materials.Black}
99
- />
100
- </group>
101
- </animated.group>
102
- <mesh
103
- name="AR1730_L02"
104
- geometry={nodes.AR1730_L02.geometry}
105
- material={materials.Blue}
106
- position={[0, -0.157, 0]}
107
- rotation={[-Math.PI, -1.571, 0]}
108
- />
109
- </animated.group>
110
- <group
111
- name="AR1730_L01"
112
- position={[0, -0.336, 0]}
113
- rotation={[Math.PI / 2, 0, -Math.PI / 2]}
114
- >
115
- <mesh
116
- name="_S_AXIS_SW0001002"
117
- geometry={nodes._S_AXIS_SW0001002.geometry}
118
- material={materials.Blue}
119
- />
120
- <mesh
121
- name="_S_AXIS_SW0001002_1"
122
- geometry={nodes._S_AXIS_SW0001002_1.geometry}
123
- material={materials.Black}
124
- />
125
- </group>
126
- </animated.group>
127
- <mesh
128
- name="AR1730_L00"
129
- geometry={nodes.AR1730_L00.geometry}
130
- material={materials.Blue}
131
- position={[0, -0.505, 0]}
132
- rotation={[Math.PI / 2, 0, -Math.PI / 2]}
133
- />
134
- </group>
135
- </group>
136
- </>
137
- )
138
- }
@@ -1,139 +0,0 @@
1
- import { animated } from "@react-spring/three"
2
- import { useGLTF } from "@react-three/drei"
3
- import type { RobotModelProps } from "./types"
4
-
5
- Yaskawa_AR2010.config = {
6
- rotationOffsets: [0, -Math.PI / 2, 0, 0, 0, 0],
7
- }
8
-
9
- export function Yaskawa_AR2010({
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
- <group {...props} dispose={null}>
20
- <group name="Scene">
21
- <group name="link_0">
22
- <mesh
23
- name="shape"
24
- geometry={nodes.shape.geometry}
25
- material={materials.yaskawa_black}
26
- />
27
- <mesh
28
- name="shape_1"
29
- geometry={nodes.shape_1.geometry}
30
- material={materials.yaskawa_metalsilver}
31
- />
32
- <mesh
33
- name="shape_2"
34
- geometry={nodes.shape_2.geometry}
35
- material={materials.yaskawa_blue}
36
- />
37
- <mesh
38
- name="shape_3"
39
- geometry={nodes.shape_3.geometry}
40
- material={materials.yaskawa_metalsilver}
41
- />
42
- </group>
43
- <animated.group name="YASKAWA_AR2010_J00">
44
- <group name="link_1">
45
- <mesh
46
- name="shape001"
47
- geometry={nodes.shape001.geometry}
48
- material={materials.yaskawa_black}
49
- />
50
- <mesh
51
- name="shape001_1"
52
- geometry={nodes.shape001_1.geometry}
53
- material={materials.yaskawa_blue}
54
- />
55
- </group>
56
- <animated.group
57
- name="YASKAWA_AR2010_J01"
58
- position={[0.15, 0, 0]}
59
- rotation={[-Math.PI / 2, -Math.PI / 2, 0]}
60
- >
61
- <mesh
62
- name="link_2"
63
- geometry={nodes.link_2.geometry}
64
- material={materials.yaskawa_blue}
65
- position={[0, 0, 0.15]}
66
- rotation={[Math.PI / 2, 0, -Math.PI / 2]}
67
- />
68
- <animated.group
69
- name="YASKAWA_AR2010_J02"
70
- position={[0.76, 0, 0]}
71
- rotation={[-Math.PI, 0, 0]}
72
- >
73
- <group
74
- name="link_3"
75
- position={[-0.76, 0, -0.15]}
76
- rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
77
- >
78
- <mesh
79
- name="shape003"
80
- geometry={nodes.shape003.geometry}
81
- material={materials.yaskawa_black}
82
- />
83
- <mesh
84
- name="shape003_1"
85
- geometry={nodes.shape003_1.geometry}
86
- material={materials.yaskawa_blue}
87
- />
88
- </group>
89
- <animated.group
90
- name="YASKAWA_AR2010_J03"
91
- position={[0.2, 0, 0]}
92
- rotation={[-Math.PI / 2, 0, 0]}
93
- >
94
- <mesh
95
- name="link_4"
96
- geometry={nodes.link_4.geometry}
97
- material={materials.yaskawa_blue}
98
- position={[-0.96, 0.15, 0]}
99
- rotation={[0, 0, -Math.PI / 2]}
100
- />
101
- <animated.group
102
- name="YASKAWA_AR2010_J04"
103
- position={[0, -1.082, 0]}
104
- rotation={[Math.PI / 2, 0, 0]}
105
- >
106
- <mesh
107
- name="link_5"
108
- geometry={nodes.link_5.geometry}
109
- material={materials.yaskawa_blue}
110
- position={[-0.96, 0, -1.232]}
111
- rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
112
- />
113
- <animated.group
114
- name="YASKAWA_AR2010_J05"
115
- rotation={[-Math.PI / 2, 0, 0]}
116
- >
117
- <mesh
118
- name="link_6"
119
- geometry={nodes.link_6.geometry}
120
- material={materials.yaskawa_metalsilver}
121
- position={[-0.96, 1.232, 0]}
122
- rotation={[0, 0, -Math.PI / 2]}
123
- />
124
- <group
125
- ref={flangeRef}
126
- name="YASKAWA_AR2010_FLG"
127
- position={[0, -0.1, 0]}
128
- rotation={[-Math.PI, 0, 0]}
129
- />
130
- </animated.group>
131
- </animated.group>
132
- </animated.group>
133
- </animated.group>
134
- </animated.group>
135
- </animated.group>
136
- </group>
137
- </group>
138
- )
139
- }
@@ -1,133 +0,0 @@
1
- import { animated } from "@react-spring/three"
2
- import { useGLTF } from "@react-three/drei"
3
- import type { RobotModelProps } from "./types"
4
-
5
- Yaskawa_AR3120.config = {
6
- rotationOffsets: [0, -Math.PI / 2, 0, 0, 0, 0],
7
- rotationSign: [1, -1, 1, 1, 1, 1],
8
- }
9
-
10
- export function Yaskawa_AR3120({
11
- modelURL,
12
- flangeRef,
13
- ...props
14
- }: RobotModelProps) {
15
- const gltf = useGLTF(modelURL) as any
16
-
17
- const nodes = gltf.nodes
18
- const materials = gltf.materials
19
-
20
- return (
21
- <>
22
- <group {...props} dispose={null}>
23
- <group name="Scene">
24
- <animated.group name="AR3120_J00">
25
- <animated.group
26
- name="AR3120_J01"
27
- position={[0.145, 0, 0]}
28
- rotation={[-Math.PI / 2, -Math.PI / 2, 0]}
29
- >
30
- <animated.group
31
- name="AR3120_J02"
32
- position={[1.15, 0, 0]}
33
- rotation={[-Math.PI, 0, 0]}
34
- >
35
- <animated.group
36
- name="AR3120_J03"
37
- position={[0.25, 0, 0]}
38
- rotation={[-Math.PI / 2, 0, 0]}
39
- >
40
- <animated.group
41
- name="AR3120_J04"
42
- position={[0, -1.812, 0]}
43
- rotation={[Math.PI / 2, 0, 0]}
44
- >
45
- <animated.group
46
- name="AR3120_J05"
47
- rotation={[-Math.PI / 2, 0, 0]}
48
- >
49
- <group
50
- ref={flangeRef}
51
- name="AR3120_FLG"
52
- position={[0, -0.1, 0]}
53
- rotation={[-Math.PI, 0, 0]}
54
- />
55
- <mesh
56
- name="AR3120_L06"
57
- geometry={nodes.AR3120_L06.geometry}
58
- material={materials["Metal.001"]}
59
- rotation={[Math.PI / 2, -Math.PI / 2, 0]}
60
- />
61
- </animated.group>
62
- <mesh
63
- name="AR3120_L05"
64
- geometry={nodes.AR3120_L05.geometry}
65
- material={materials["Blue.001"]}
66
- rotation={[Math.PI / 2, 0, Math.PI / 2]}
67
- />
68
- </animated.group>
69
- <group
70
- name="AR3120_L04"
71
- rotation={[Math.PI / 2, -Math.PI / 2, 0]}
72
- >
73
- <mesh
74
- name="R_AXIS_GP20HL001"
75
- geometry={nodes.R_AXIS_GP20HL001.geometry}
76
- material={materials["Blue.001"]}
77
- />
78
- <mesh
79
- name="R_AXIS_GP20HL001_1"
80
- geometry={nodes.R_AXIS_GP20HL001_1.geometry}
81
- material={materials["White.001"]}
82
- />
83
- </group>
84
- </animated.group>
85
- <group name="AR3120_L03" rotation={[Math.PI, 0, -Math.PI / 2]}>
86
- <mesh
87
- name="Mesh_3001"
88
- geometry={nodes.Mesh_3001.geometry}
89
- material={materials["Blue.001"]}
90
- />
91
- <mesh
92
- name="Mesh_3001_1"
93
- geometry={nodes.Mesh_3001_1.geometry}
94
- material={materials["Black.001"]}
95
- />
96
- </group>
97
- </animated.group>
98
- <mesh
99
- name="AR3120_L02"
100
- geometry={nodes.AR3120_L02.geometry}
101
- material={materials["Blue.001"]}
102
- position={[0, -0.146, 0]}
103
- rotation={[Math.PI, 0, 0]}
104
- />
105
- </animated.group>
106
- <group
107
- name="AR3120_L01"
108
- position={[0, -0.228, 0]}
109
- rotation={[0, -1.571, 0]}
110
- >
111
- <mesh
112
- name="S_AXIS_GP20HL001"
113
- geometry={nodes.S_AXIS_GP20HL001.geometry}
114
- material={materials["Blue.001"]}
115
- />
116
- <mesh
117
- name="S_AXIS_GP20HL001_1"
118
- geometry={nodes.S_AXIS_GP20HL001_1.geometry}
119
- material={materials["Black.001"]}
120
- />
121
- </group>
122
- </animated.group>
123
- <mesh
124
- name="AR3120_L00"
125
- geometry={nodes.AR3120_L00.geometry}
126
- material={materials["Blue.001"]}
127
- position={[0, -0.54, 0]}
128
- />
129
- </group>
130
- </group>
131
- </>
132
- )
133
- }
@@ -1,148 +0,0 @@
1
- import { animated } from "@react-spring/three"
2
- import { useGLTF } from "@react-three/drei"
3
- import type { RobotModelProps } from "./types"
4
-
5
- Yaskawa_AR900.config = {
6
- rotationOffsets: [0, -Math.PI / 2, 0, 0, 0, 0],
7
- }
8
-
9
- export function Yaskawa_AR900({
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
- <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
- />
57
- <animated.group
58
- name="YASKAWA_GP7_J02"
59
- position={[0.445, 0, 0]}
60
- rotation={[-Math.PI, 0, 0]}
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>
83
- <animated.group
84
- name="YASKAWA_GP7_J03"
85
- position={[0.04, 0, 0]}
86
- rotation={[-Math.PI / 2, 0, 0]}
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>
109
- <animated.group
110
- name="YASKAWA_GP7_J04"
111
- position={[0, -0.44, 0]}
112
- rotation={[Math.PI / 2, 0, 0]}
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
- />
121
- <animated.group
122
- name="YASKAWA_GP7_J05"
123
- rotation={[-Math.PI / 2, 0, 0]}
124
- >
125
- <mesh
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]}
137
- />
138
- </animated.group>
139
- </animated.group>
140
- </animated.group>
141
- </animated.group>
142
- </animated.group>
143
- </animated.group>
144
- </group>
145
- </group>
146
- </>
147
- )
148
- }