@wandelbots/wandelbots-js-react-components 1.27.8 → 1.28.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/ABB_1200_07_7.d.ts +1 -1
- package/dist/components/robots/ABB_1200_07_7.d.ts.map +1 -1
- package/dist/components/robots/ABB_1300_115_10.d.ts +1 -1
- package/dist/components/robots/ABB_1300_115_10.d.ts.map +1 -1
- package/dist/components/robots/FANUC_ARC_Mate_100iD.d.ts +1 -1
- package/dist/components/robots/FANUC_ARC_Mate_100iD.d.ts.map +1 -1
- package/dist/components/robots/FANUC_ARC_Mate_120iD.d.ts +1 -1
- package/dist/components/robots/FANUC_ARC_Mate_120iD.d.ts.map +1 -1
- package/dist/components/robots/FANUC_CRX10iA.d.ts +1 -1
- package/dist/components/robots/FANUC_CRX10iA.d.ts.map +1 -1
- package/dist/components/robots/FANUC_CRX10iAL.d.ts +1 -1
- package/dist/components/robots/FANUC_CRX10iAL.d.ts.map +1 -1
- package/dist/components/robots/FANUC_CRX20iAL.d.ts +1 -1
- package/dist/components/robots/FANUC_CRX20iAL.d.ts.map +1 -1
- package/dist/components/robots/FANUC_CRX25iA.d.ts +1 -1
- package/dist/components/robots/FANUC_CRX25iA.d.ts.map +1 -1
- package/dist/components/robots/FANUC_CRX25iAL.d.ts +1 -1
- package/dist/components/robots/FANUC_CRX25iAL.d.ts.map +1 -1
- package/dist/components/robots/FANUC_LR_MATE_200iD7L.d.ts +1 -1
- package/dist/components/robots/FANUC_LR_MATE_200iD7L.d.ts.map +1 -1
- package/dist/components/robots/FANUC_LR_Mate_200iD.d.ts +1 -1
- package/dist/components/robots/FANUC_LR_Mate_200iD.d.ts.map +1 -1
- package/dist/components/robots/KUKA_KR16_R2010_2.d.ts +1 -1
- package/dist/components/robots/KUKA_KR16_R2010_2.d.ts.map +1 -1
- package/dist/components/robots/KUKA_KR210_R2700.d.ts +1 -1
- package/dist/components/robots/KUKA_KR210_R2700.d.ts.map +1 -1
- package/dist/components/robots/KUKA_KR270_R2700.d.ts +1 -1
- package/dist/components/robots/KUKA_KR270_R2700.d.ts.map +1 -1
- package/dist/components/robots/KUKA_KR6_R700_2.d.ts +1 -1
- package/dist/components/robots/KUKA_KR6_R700_2.d.ts.map +1 -1
- package/dist/components/robots/Robot.d.ts +3 -1
- package/dist/components/robots/Robot.d.ts.map +1 -1
- package/dist/components/robots/SupportedRobot.d.ts +3 -1
- package/dist/components/robots/SupportedRobot.d.ts.map +1 -1
- package/dist/components/robots/UniversalRobots_UR10CB.d.ts +1 -1
- package/dist/components/robots/UniversalRobots_UR10CB.d.ts.map +1 -1
- package/dist/components/robots/UniversalRobots_UR10e.d.ts +1 -1
- package/dist/components/robots/UniversalRobots_UR10e.d.ts.map +1 -1
- package/dist/components/robots/UniversalRobots_UR3CB.d.ts +1 -1
- package/dist/components/robots/UniversalRobots_UR3CB.d.ts.map +1 -1
- package/dist/components/robots/UniversalRobots_UR3e.d.ts +1 -1
- package/dist/components/robots/UniversalRobots_UR3e.d.ts.map +1 -1
- package/dist/components/robots/UniversalRobots_UR5CB.d.ts +1 -1
- package/dist/components/robots/UniversalRobots_UR5CB.d.ts.map +1 -1
- package/dist/components/robots/UniversalRobots_UR5e.d.ts +1 -1
- package/dist/components/robots/UniversalRobots_UR5e.d.ts.map +1 -1
- package/dist/components/robots/Yaskawa_AR1440.d.ts +1 -1
- package/dist/components/robots/Yaskawa_AR1440.d.ts.map +1 -1
- package/dist/components/robots/Yaskawa_AR1730.d.ts +1 -1
- package/dist/components/robots/Yaskawa_AR1730.d.ts.map +1 -1
- package/dist/components/robots/Yaskawa_AR2010.d.ts +1 -1
- package/dist/components/robots/Yaskawa_AR2010.d.ts.map +1 -1
- package/dist/components/robots/Yaskawa_AR3120.d.ts +1 -1
- package/dist/components/robots/Yaskawa_AR3120.d.ts.map +1 -1
- package/dist/components/robots/Yaskawa_AR900.d.ts +1 -1
- package/dist/components/robots/Yaskawa_AR900.d.ts.map +1 -1
- package/dist/components/robots/Yaskawa_GP50.d.ts +1 -1
- package/dist/components/robots/Yaskawa_GP50.d.ts.map +1 -1
- package/dist/components/robots/types.d.ts +2 -0
- package/dist/components/robots/types.d.ts.map +1 -1
- package/dist/index.cjs +29 -29
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5110 -5744
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/robots/ABB_1200_07_7.tsx +10 -2
- package/src/components/robots/ABB_1300_115_10.tsx +6 -1
- package/src/components/robots/FANUC_ARC_Mate_100iD.tsx +6 -27
- package/src/components/robots/FANUC_ARC_Mate_120iD.tsx +6 -27
- package/src/components/robots/FANUC_CRX10iA.tsx +6 -25
- package/src/components/robots/FANUC_CRX10iAL.tsx +6 -49
- package/src/components/robots/FANUC_CRX20iAL.tsx +6 -25
- package/src/components/robots/FANUC_CRX25iA.tsx +6 -27
- package/src/components/robots/FANUC_CRX25iAL.tsx +6 -27
- package/src/components/robots/FANUC_LR_MATE_200iD7L.tsx +6 -29
- package/src/components/robots/FANUC_LR_Mate_200iD.tsx +6 -19
- package/src/components/robots/KUKA_KR16_R2010_2.tsx +6 -29
- package/src/components/robots/KUKA_KR210_R2700.tsx +6 -49
- package/src/components/robots/KUKA_KR270_R2700.tsx +6 -37
- package/src/components/robots/KUKA_KR6_R700_2.tsx +6 -21
- package/src/components/robots/Robot.tsx +4 -0
- package/src/components/robots/SupportedRobot.tsx +7 -1
- package/src/components/robots/UniversalRobots_UR10CB.tsx +2 -62
- package/src/components/robots/UniversalRobots_UR10e.tsx +6 -51
- package/src/components/robots/UniversalRobots_UR3CB.tsx +10 -16
- package/src/components/robots/UniversalRobots_UR3e.tsx +6 -49
- package/src/components/robots/UniversalRobots_UR5CB.tsx +6 -49
- package/src/components/robots/UniversalRobots_UR5e.tsx +10 -54
- package/src/components/robots/Yaskawa_AR1440.tsx +6 -21
- package/src/components/robots/Yaskawa_AR1730.tsx +6 -21
- package/src/components/robots/Yaskawa_AR2010.tsx +6 -25
- package/src/components/robots/Yaskawa_AR3120.tsx +6 -21
- package/src/components/robots/Yaskawa_AR900.tsx +6 -15
- package/src/components/robots/Yaskawa_GP50.tsx +6 -45
- package/src/components/robots/types.ts +2 -0
package/package.json
CHANGED
|
@@ -6,7 +6,11 @@ ABB_1200_07_7.config = {
|
|
|
6
6
|
rotationOffsets: [0, -Math.PI / 2, 0, 0, 0, 0],
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export function ABB_1200_07_7({
|
|
9
|
+
export function ABB_1200_07_7({
|
|
10
|
+
modelURL,
|
|
11
|
+
flangeRef,
|
|
12
|
+
...props
|
|
13
|
+
}: RobotModelProps) {
|
|
10
14
|
const gltf = useGLTF(modelURL) as any
|
|
11
15
|
const nodes = gltf.nodes
|
|
12
16
|
const materials = gltf.materials
|
|
@@ -47,7 +51,11 @@ export function ABB_1200_07_7({ modelURL, ...props }: RobotModelProps) {
|
|
|
47
51
|
name="ABB_IRB1200_J05"
|
|
48
52
|
rotation={[Math.PI / 2, 0, -Math.PI]}
|
|
49
53
|
>
|
|
50
|
-
<group
|
|
54
|
+
<group
|
|
55
|
+
ref={flangeRef}
|
|
56
|
+
name="ABB_IRB1200_FLG"
|
|
57
|
+
position={[0, 0.082, 0]}
|
|
58
|
+
/>
|
|
51
59
|
<mesh
|
|
52
60
|
name="visuals006"
|
|
53
61
|
geometry={nodes.visuals006.geometry}
|
|
@@ -6,7 +6,11 @@ ABB_1300_115_10.config = {
|
|
|
6
6
|
rotationOffsets: [0, -Math.PI / 2, 0, 0, 0, 0],
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export function ABB_1300_115_10({
|
|
9
|
+
export function ABB_1300_115_10({
|
|
10
|
+
modelURL,
|
|
11
|
+
flangeRef,
|
|
12
|
+
...props
|
|
13
|
+
}: RobotModelProps) {
|
|
10
14
|
const gltf = useGLTF(modelURL) as any
|
|
11
15
|
const nodes = gltf.nodes
|
|
12
16
|
const materials = gltf.materials
|
|
@@ -61,6 +65,7 @@ export function ABB_1300_115_10({ modelURL, ...props }: RobotModelProps) {
|
|
|
61
65
|
rotation={[Math.PI / 2, 0, -Math.PI]}
|
|
62
66
|
>
|
|
63
67
|
<group
|
|
68
|
+
ref={flangeRef}
|
|
64
69
|
name="ABB_IRB1300_115_10_FLG"
|
|
65
70
|
position={[0, 0.092, 0]}
|
|
66
71
|
/>
|
|
@@ -6,7 +6,11 @@ FANUC_ARC_Mate_100iD.config = {
|
|
|
6
6
|
rotationOffsets: [0, Math.PI / 2, 0, 0, 0, 0],
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export function FANUC_ARC_Mate_100iD({
|
|
9
|
+
export function FANUC_ARC_Mate_100iD({
|
|
10
|
+
modelURL,
|
|
11
|
+
flangeRef,
|
|
12
|
+
...props
|
|
13
|
+
}: RobotModelProps) {
|
|
10
14
|
const gltf = useGLTF(modelURL) as any
|
|
11
15
|
const nodes = gltf.nodes
|
|
12
16
|
const materials = gltf.materials
|
|
@@ -38,14 +42,13 @@ export function FANUC_ARC_Mate_100iD({ modelURL, ...props }: RobotModelProps) {
|
|
|
38
42
|
rotation={[-Math.PI / 2, 0, 0]}
|
|
39
43
|
>
|
|
40
44
|
<group
|
|
45
|
+
ref={flangeRef}
|
|
41
46
|
name="M10iD_FLG"
|
|
42
47
|
position={[0, -0.075, 0]}
|
|
43
48
|
rotation={[-Math.PI, 0, 0]}
|
|
44
49
|
/>
|
|
45
50
|
<mesh
|
|
46
51
|
name="M10iD_L06"
|
|
47
|
-
castShadow
|
|
48
|
-
receiveShadow
|
|
49
52
|
geometry={nodes.M10iD_L06.geometry}
|
|
50
53
|
material={materials.Fanuc_BlackMetal_AO}
|
|
51
54
|
position={[-0.835, 0.775, 0]}
|
|
@@ -54,8 +57,6 @@ export function FANUC_ARC_Mate_100iD({ modelURL, ...props }: RobotModelProps) {
|
|
|
54
57
|
</animated.group>
|
|
55
58
|
<mesh
|
|
56
59
|
name="M10iD_L05"
|
|
57
|
-
castShadow
|
|
58
|
-
receiveShadow
|
|
59
60
|
geometry={nodes.M10iD_L05.geometry}
|
|
60
61
|
material={materials.Fanuc_BlackMetal_AO}
|
|
61
62
|
position={[-0.835, 0, -0.775]}
|
|
@@ -69,15 +70,11 @@ export function FANUC_ARC_Mate_100iD({ modelURL, ...props }: RobotModelProps) {
|
|
|
69
70
|
>
|
|
70
71
|
<mesh
|
|
71
72
|
name="Mesh_654"
|
|
72
|
-
castShadow
|
|
73
|
-
receiveShadow
|
|
74
73
|
geometry={nodes.Mesh_654.geometry}
|
|
75
74
|
material={materials.Fanuc_Yellow_Textured_AO}
|
|
76
75
|
/>
|
|
77
76
|
<mesh
|
|
78
77
|
name="Mesh_654_1"
|
|
79
|
-
castShadow
|
|
80
|
-
receiveShadow
|
|
81
78
|
geometry={nodes.Mesh_654_1.geometry}
|
|
82
79
|
material={materials.Fanuc_BlackMetal_AO}
|
|
83
80
|
/>
|
|
@@ -90,22 +87,16 @@ export function FANUC_ARC_Mate_100iD({ modelURL, ...props }: RobotModelProps) {
|
|
|
90
87
|
>
|
|
91
88
|
<mesh
|
|
92
89
|
name="Mesh_378"
|
|
93
|
-
castShadow
|
|
94
|
-
receiveShadow
|
|
95
90
|
geometry={nodes.Mesh_378.geometry}
|
|
96
91
|
material={materials.Material_1_AO}
|
|
97
92
|
/>
|
|
98
93
|
<mesh
|
|
99
94
|
name="Mesh_378_1"
|
|
100
|
-
castShadow
|
|
101
|
-
receiveShadow
|
|
102
95
|
geometry={nodes.Mesh_378_1.geometry}
|
|
103
96
|
material={materials.Fanuc_Yellow_Textured_AO}
|
|
104
97
|
/>
|
|
105
98
|
<mesh
|
|
106
99
|
name="Mesh_378_2"
|
|
107
|
-
castShadow
|
|
108
|
-
receiveShadow
|
|
109
100
|
geometry={nodes.Mesh_378_2.geometry}
|
|
110
101
|
material={materials.Fanuc_BlackMetal_AO}
|
|
111
102
|
/>
|
|
@@ -118,15 +109,11 @@ export function FANUC_ARC_Mate_100iD({ modelURL, ...props }: RobotModelProps) {
|
|
|
118
109
|
>
|
|
119
110
|
<mesh
|
|
120
111
|
name="Mesh_358"
|
|
121
|
-
castShadow
|
|
122
|
-
receiveShadow
|
|
123
112
|
geometry={nodes.Mesh_358.geometry}
|
|
124
113
|
material={materials.Fanuc_Yellow_Textured_AO}
|
|
125
114
|
/>
|
|
126
115
|
<mesh
|
|
127
116
|
name="Mesh_358_1"
|
|
128
|
-
castShadow
|
|
129
|
-
receiveShadow
|
|
130
117
|
geometry={nodes.Mesh_358_1.geometry}
|
|
131
118
|
material={materials.Fanuc_BlackMetal_AO}
|
|
132
119
|
/>
|
|
@@ -135,22 +122,16 @@ export function FANUC_ARC_Mate_100iD({ modelURL, ...props }: RobotModelProps) {
|
|
|
135
122
|
<group name="M10iD_L01">
|
|
136
123
|
<mesh
|
|
137
124
|
name="Mesh_356"
|
|
138
|
-
castShadow
|
|
139
|
-
receiveShadow
|
|
140
125
|
geometry={nodes.Mesh_356.geometry}
|
|
141
126
|
material={materials.Fanuc_Yellow_Textured_AO}
|
|
142
127
|
/>
|
|
143
128
|
<mesh
|
|
144
129
|
name="Mesh_356_1"
|
|
145
|
-
castShadow
|
|
146
|
-
receiveShadow
|
|
147
130
|
geometry={nodes.Mesh_356_1.geometry}
|
|
148
131
|
material={materials.Material_1_AO}
|
|
149
132
|
/>
|
|
150
133
|
<mesh
|
|
151
134
|
name="Mesh_356_2"
|
|
152
|
-
castShadow
|
|
153
|
-
receiveShadow
|
|
154
135
|
geometry={nodes.Mesh_356_2.geometry}
|
|
155
136
|
material={materials.Fanuc_BlackMetal_AO}
|
|
156
137
|
/>
|
|
@@ -158,8 +139,6 @@ export function FANUC_ARC_Mate_100iD({ modelURL, ...props }: RobotModelProps) {
|
|
|
158
139
|
</animated.group>
|
|
159
140
|
<mesh
|
|
160
141
|
name="M10iD_L00"
|
|
161
|
-
castShadow
|
|
162
|
-
receiveShadow
|
|
163
142
|
geometry={nodes.M10iD_L00.geometry}
|
|
164
143
|
material={materials.Fanuc_BlackMetal_AO}
|
|
165
144
|
rotation={[-Math.PI / 2, 0, 0]}
|
|
@@ -6,7 +6,11 @@ FANUC_ARC_Mate_120iD.config = {
|
|
|
6
6
|
rotationOffsets: [0, Math.PI / 2, 0, 0, 0, 0],
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export function FANUC_ARC_Mate_120iD({
|
|
9
|
+
export function FANUC_ARC_Mate_120iD({
|
|
10
|
+
modelURL,
|
|
11
|
+
flangeRef,
|
|
12
|
+
...props
|
|
13
|
+
}: RobotModelProps) {
|
|
10
14
|
const gltf = useGLTF(modelURL) as any
|
|
11
15
|
const nodes = gltf.nodes
|
|
12
16
|
const materials = gltf.materials
|
|
@@ -38,14 +42,13 @@ export function FANUC_ARC_Mate_120iD({ modelURL, ...props }: RobotModelProps) {
|
|
|
38
42
|
rotation={[-Math.PI / 2, 0, 0]}
|
|
39
43
|
>
|
|
40
44
|
<group
|
|
45
|
+
ref={flangeRef}
|
|
41
46
|
name="M20iD25_FLG"
|
|
42
47
|
position={[0, -0.09, 0]}
|
|
43
48
|
rotation={[-Math.PI, 0, 0]}
|
|
44
49
|
/>
|
|
45
50
|
<mesh
|
|
46
51
|
name="M20iD25_L06"
|
|
47
|
-
castShadow
|
|
48
|
-
receiveShadow
|
|
49
52
|
geometry={nodes.M20iD25_L06.geometry}
|
|
50
53
|
material={materials.Fanuc_BlackMetal_AO}
|
|
51
54
|
position={[0, -0.09, 0]}
|
|
@@ -54,8 +57,6 @@ export function FANUC_ARC_Mate_120iD({ modelURL, ...props }: RobotModelProps) {
|
|
|
54
57
|
</animated.group>
|
|
55
58
|
<mesh
|
|
56
59
|
name="M20iD25_L05"
|
|
57
|
-
castShadow
|
|
58
|
-
receiveShadow
|
|
59
60
|
geometry={nodes.M20iD25_L05.geometry}
|
|
60
61
|
material={materials.Fanuc_BlackMetal_AO}
|
|
61
62
|
rotation={[Math.PI, Math.PI / 2, 0]}
|
|
@@ -68,15 +69,11 @@ export function FANUC_ARC_Mate_120iD({ modelURL, ...props }: RobotModelProps) {
|
|
|
68
69
|
>
|
|
69
70
|
<mesh
|
|
70
71
|
name="Mesh_2"
|
|
71
|
-
castShadow
|
|
72
|
-
receiveShadow
|
|
73
72
|
geometry={nodes.Mesh_2.geometry}
|
|
74
73
|
material={materials.Fanuc_Yellow_Textured_AO}
|
|
75
74
|
/>
|
|
76
75
|
<mesh
|
|
77
76
|
name="Mesh_2_1"
|
|
78
|
-
castShadow
|
|
79
|
-
receiveShadow
|
|
80
77
|
geometry={nodes.Mesh_2_1.geometry}
|
|
81
78
|
material={materials.Fanuc_BlackMetal_AO}
|
|
82
79
|
/>
|
|
@@ -89,22 +86,16 @@ export function FANUC_ARC_Mate_120iD({ modelURL, ...props }: RobotModelProps) {
|
|
|
89
86
|
>
|
|
90
87
|
<mesh
|
|
91
88
|
name="Mesh_15"
|
|
92
|
-
castShadow
|
|
93
|
-
receiveShadow
|
|
94
89
|
geometry={nodes.Mesh_15.geometry}
|
|
95
90
|
material={materials.Fanuc_BlackMetal_AO}
|
|
96
91
|
/>
|
|
97
92
|
<mesh
|
|
98
93
|
name="Mesh_15_1"
|
|
99
|
-
castShadow
|
|
100
|
-
receiveShadow
|
|
101
94
|
geometry={nodes.Mesh_15_1.geometry}
|
|
102
95
|
material={materials.Fanuc_Yellow_Textured_AO}
|
|
103
96
|
/>
|
|
104
97
|
<mesh
|
|
105
98
|
name="Mesh_15_2"
|
|
106
|
-
castShadow
|
|
107
|
-
receiveShadow
|
|
108
99
|
geometry={nodes.Mesh_15_2.geometry}
|
|
109
100
|
material={materials.Material_9_AO}
|
|
110
101
|
/>
|
|
@@ -117,15 +108,11 @@ export function FANUC_ARC_Mate_120iD({ modelURL, ...props }: RobotModelProps) {
|
|
|
117
108
|
>
|
|
118
109
|
<mesh
|
|
119
110
|
name="Mesh_37"
|
|
120
|
-
castShadow
|
|
121
|
-
receiveShadow
|
|
122
111
|
geometry={nodes.Mesh_37.geometry}
|
|
123
112
|
material={materials.Fanuc_BlackMetal_AO}
|
|
124
113
|
/>
|
|
125
114
|
<mesh
|
|
126
115
|
name="Mesh_37_1"
|
|
127
|
-
castShadow
|
|
128
|
-
receiveShadow
|
|
129
116
|
geometry={nodes.Mesh_37_1.geometry}
|
|
130
117
|
material={materials.Fanuc_Yellow_Textured_AO}
|
|
131
118
|
/>
|
|
@@ -134,22 +121,16 @@ export function FANUC_ARC_Mate_120iD({ modelURL, ...props }: RobotModelProps) {
|
|
|
134
121
|
<group name="M20iD25_L01" rotation={[-Math.PI / 2, 0, 0]}>
|
|
135
122
|
<mesh
|
|
136
123
|
name="Mesh_45"
|
|
137
|
-
castShadow
|
|
138
|
-
receiveShadow
|
|
139
124
|
geometry={nodes.Mesh_45.geometry}
|
|
140
125
|
material={materials.Material_9_AO}
|
|
141
126
|
/>
|
|
142
127
|
<mesh
|
|
143
128
|
name="Mesh_45_1"
|
|
144
|
-
castShadow
|
|
145
|
-
receiveShadow
|
|
146
129
|
geometry={nodes.Mesh_45_1.geometry}
|
|
147
130
|
material={materials.Fanuc_Yellow_Textured_AO}
|
|
148
131
|
/>
|
|
149
132
|
<mesh
|
|
150
133
|
name="Mesh_45_2"
|
|
151
|
-
castShadow
|
|
152
|
-
receiveShadow
|
|
153
134
|
geometry={nodes.Mesh_45_2.geometry}
|
|
154
135
|
material={materials.Fanuc_BlackMetal_AO}
|
|
155
136
|
/>
|
|
@@ -157,8 +138,6 @@ export function FANUC_ARC_Mate_120iD({ modelURL, ...props }: RobotModelProps) {
|
|
|
157
138
|
</animated.group>
|
|
158
139
|
<mesh
|
|
159
140
|
name="M20iD25_L00"
|
|
160
|
-
castShadow
|
|
161
|
-
receiveShadow
|
|
162
141
|
geometry={nodes.M20iD25_L00.geometry}
|
|
163
142
|
material={materials.Fanuc_BlackMetal_AO}
|
|
164
143
|
position={[0, -0.425, 0]}
|
|
@@ -6,7 +6,11 @@ FANUC_CRX10iA.config = {
|
|
|
6
6
|
rotationOffsets: [0, Math.PI / 2, 0, 0, 0, 0],
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export function FANUC_CRX10iA({
|
|
9
|
+
export function FANUC_CRX10iA({
|
|
10
|
+
modelURL,
|
|
11
|
+
flangeRef,
|
|
12
|
+
...props
|
|
13
|
+
}: RobotModelProps) {
|
|
10
14
|
const gltf = useGLTF(modelURL) as any
|
|
11
15
|
const nodes = gltf.nodes
|
|
12
16
|
const materials = gltf.materials
|
|
@@ -36,14 +40,13 @@ export function FANUC_CRX10iA({ modelURL, ...props }: RobotModelProps) {
|
|
|
36
40
|
rotation={[-Math.PI / 2, 0, 0]}
|
|
37
41
|
>
|
|
38
42
|
<group
|
|
43
|
+
ref={flangeRef}
|
|
39
44
|
name="CRX10iA_FLG"
|
|
40
45
|
position={[0, -0.16, 0]}
|
|
41
46
|
rotation={[-Math.PI, 0, 0]}
|
|
42
47
|
/>
|
|
43
48
|
<mesh
|
|
44
49
|
name="CRX10iA_L06"
|
|
45
|
-
castShadow
|
|
46
|
-
receiveShadow
|
|
47
50
|
geometry={nodes.CRX10iA_L06.geometry}
|
|
48
51
|
material={materials.Fanuc_BlackMetal}
|
|
49
52
|
position={[0, -0.16, 0]}
|
|
@@ -57,15 +60,11 @@ export function FANUC_CRX10iA({ modelURL, ...props }: RobotModelProps) {
|
|
|
57
60
|
>
|
|
58
61
|
<mesh
|
|
59
62
|
name="J5CASING_UNIT001"
|
|
60
|
-
castShadow
|
|
61
|
-
receiveShadow
|
|
62
63
|
geometry={nodes.J5CASING_UNIT001.geometry}
|
|
63
64
|
material={materials.Fanuc_WhitePlastic}
|
|
64
65
|
/>
|
|
65
66
|
<mesh
|
|
66
67
|
name="J5CASING_UNIT001_1"
|
|
67
|
-
castShadow
|
|
68
|
-
receiveShadow
|
|
69
68
|
geometry={nodes.J5CASING_UNIT001_1.geometry}
|
|
70
69
|
material={materials.Fanuc_Green}
|
|
71
70
|
/>
|
|
@@ -78,22 +77,16 @@ export function FANUC_CRX10iA({ modelURL, ...props }: RobotModelProps) {
|
|
|
78
77
|
>
|
|
79
78
|
<mesh
|
|
80
79
|
name="NAME_LABEL_CRX_10iA"
|
|
81
|
-
castShadow
|
|
82
|
-
receiveShadow
|
|
83
80
|
geometry={nodes.NAME_LABEL_CRX_10iA.geometry}
|
|
84
81
|
material={materials.Fanuc_RedPlastic}
|
|
85
82
|
/>
|
|
86
83
|
<mesh
|
|
87
84
|
name="NAME_LABEL_CRX_10iA_1"
|
|
88
|
-
castShadow
|
|
89
|
-
receiveShadow
|
|
90
85
|
geometry={nodes.NAME_LABEL_CRX_10iA_1.geometry}
|
|
91
86
|
material={materials.Fanuc_BlackPlastic}
|
|
92
87
|
/>
|
|
93
88
|
<mesh
|
|
94
89
|
name="NAME_LABEL_CRX_10iA_2"
|
|
95
|
-
castShadow
|
|
96
|
-
receiveShadow
|
|
97
90
|
geometry={nodes.NAME_LABEL_CRX_10iA_2.geometry}
|
|
98
91
|
material={materials.Fanuc_WhitePlastic}
|
|
99
92
|
/>
|
|
@@ -101,8 +94,6 @@ export function FANUC_CRX10iA({ modelURL, ...props }: RobotModelProps) {
|
|
|
101
94
|
</animated.group>
|
|
102
95
|
<mesh
|
|
103
96
|
name="CRX10iA_L03"
|
|
104
|
-
castShadow
|
|
105
|
-
receiveShadow
|
|
106
97
|
geometry={nodes.CRX10iA_L03.geometry}
|
|
107
98
|
material={materials.Fanuc_WhitePlastic}
|
|
108
99
|
rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
|
|
@@ -110,8 +101,6 @@ export function FANUC_CRX10iA({ modelURL, ...props }: RobotModelProps) {
|
|
|
110
101
|
</animated.group>
|
|
111
102
|
<mesh
|
|
112
103
|
name="CRX10iA_L02"
|
|
113
|
-
castShadow
|
|
114
|
-
receiveShadow
|
|
115
104
|
geometry={nodes.CRX10iA_L02.geometry}
|
|
116
105
|
material={materials.Fanuc_WhitePlastic}
|
|
117
106
|
rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
|
|
@@ -120,22 +109,16 @@ export function FANUC_CRX10iA({ modelURL, ...props }: RobotModelProps) {
|
|
|
120
109
|
<group name="CRX10iA_L01" position={[0, -0.117, 0]}>
|
|
121
110
|
<mesh
|
|
122
111
|
name="J2BASE_UNIT001"
|
|
123
|
-
castShadow
|
|
124
|
-
receiveShadow
|
|
125
112
|
geometry={nodes.J2BASE_UNIT001.geometry}
|
|
126
113
|
material={materials.Fanuc_Green}
|
|
127
114
|
/>
|
|
128
115
|
<mesh
|
|
129
116
|
name="J2BASE_UNIT001_1"
|
|
130
|
-
castShadow
|
|
131
|
-
receiveShadow
|
|
132
117
|
geometry={nodes.J2BASE_UNIT001_1.geometry}
|
|
133
118
|
material={materials.Fanuc_WhitePlastic}
|
|
134
119
|
/>
|
|
135
120
|
<mesh
|
|
136
121
|
name="J2BASE_UNIT001_2"
|
|
137
|
-
castShadow
|
|
138
|
-
receiveShadow
|
|
139
122
|
geometry={nodes.J2BASE_UNIT001_2.geometry}
|
|
140
123
|
material={materials.Fanuc_GreenLED}
|
|
141
124
|
/>
|
|
@@ -143,8 +126,6 @@ export function FANUC_CRX10iA({ modelURL, ...props }: RobotModelProps) {
|
|
|
143
126
|
</animated.group>
|
|
144
127
|
<mesh
|
|
145
128
|
name="CRX10iA_L00"
|
|
146
|
-
castShadow
|
|
147
|
-
receiveShadow
|
|
148
129
|
geometry={nodes.CRX10iA_L00.geometry}
|
|
149
130
|
material={materials.Fanuc_BlackMetal}
|
|
150
131
|
position={[0, -0.245, 0]}
|
|
@@ -6,7 +6,11 @@ FANUC_CRX10iAL.config = {
|
|
|
6
6
|
rotationOffsets: [0, Math.PI / 2, 0, 0, 0, 0],
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export function FANUC_CRX10iAL({
|
|
9
|
+
export function FANUC_CRX10iAL({
|
|
10
|
+
modelURL,
|
|
11
|
+
flangeRef,
|
|
12
|
+
...props
|
|
13
|
+
}: RobotModelProps) {
|
|
10
14
|
const gltf = useGLTF(modelURL) as any
|
|
11
15
|
const nodes = gltf.nodes
|
|
12
16
|
const materials = gltf.materials
|
|
@@ -17,50 +21,36 @@ export function FANUC_CRX10iAL({ modelURL, ...props }: RobotModelProps) {
|
|
|
17
21
|
<group name="link_0">
|
|
18
22
|
<mesh
|
|
19
23
|
name="visuals_0"
|
|
20
|
-
castShadow
|
|
21
|
-
receiveShadow
|
|
22
24
|
geometry={nodes.visuals_0.geometry}
|
|
23
25
|
material={materials.fanuc_metal_black}
|
|
24
26
|
/>
|
|
25
27
|
<mesh
|
|
26
28
|
name="visuals_0_1"
|
|
27
|
-
castShadow
|
|
28
|
-
receiveShadow
|
|
29
29
|
geometry={nodes.visuals_0_1.geometry}
|
|
30
30
|
material={materials.fanuc_stainless_steel}
|
|
31
31
|
/>
|
|
32
32
|
<mesh
|
|
33
33
|
name="visuals_0_2"
|
|
34
|
-
castShadow
|
|
35
|
-
receiveShadow
|
|
36
34
|
geometry={nodes.visuals_0_2.geometry}
|
|
37
35
|
material={materials.fanuc_metal_black}
|
|
38
36
|
/>
|
|
39
37
|
<mesh
|
|
40
38
|
name="visuals_0_3"
|
|
41
|
-
castShadow
|
|
42
|
-
receiveShadow
|
|
43
39
|
geometry={nodes.visuals_0_3.geometry}
|
|
44
40
|
material={materials.fanuc_stainless_steel}
|
|
45
41
|
/>
|
|
46
42
|
<mesh
|
|
47
43
|
name="visuals_0_4"
|
|
48
|
-
castShadow
|
|
49
|
-
receiveShadow
|
|
50
44
|
geometry={nodes.visuals_0_4.geometry}
|
|
51
45
|
material={materials.fanuc_aluminium_black}
|
|
52
46
|
/>
|
|
53
47
|
<mesh
|
|
54
48
|
name="visuals_0_5"
|
|
55
|
-
castShadow
|
|
56
|
-
receiveShadow
|
|
57
49
|
geometry={nodes.visuals_0_5.geometry}
|
|
58
50
|
material={materials.fanuc_aluminium_black}
|
|
59
51
|
/>
|
|
60
52
|
<mesh
|
|
61
53
|
name="visuals_0_6"
|
|
62
|
-
castShadow
|
|
63
|
-
receiveShadow
|
|
64
54
|
geometry={nodes.visuals_0_6.geometry}
|
|
65
55
|
material={materials.fanuc_rubber}
|
|
66
56
|
/>
|
|
@@ -86,6 +76,7 @@ export function FANUC_CRX10iAL({ modelURL, ...props }: RobotModelProps) {
|
|
|
86
76
|
rotation={[-Math.PI / 2, 0, 0]}
|
|
87
77
|
>
|
|
88
78
|
<group
|
|
79
|
+
ref={flangeRef}
|
|
89
80
|
name="FANUC_CRX10IAL_FLG"
|
|
90
81
|
position={[0, -0.16, 0]}
|
|
91
82
|
rotation={[-Math.PI, 0, 0]}
|
|
@@ -97,29 +88,21 @@ export function FANUC_CRX10iAL({ modelURL, ...props }: RobotModelProps) {
|
|
|
97
88
|
>
|
|
98
89
|
<mesh
|
|
99
90
|
name="visuals_6"
|
|
100
|
-
castShadow
|
|
101
|
-
receiveShadow
|
|
102
91
|
geometry={nodes.visuals_6.geometry}
|
|
103
92
|
material={materials.fanuc_metal_black}
|
|
104
93
|
/>
|
|
105
94
|
<mesh
|
|
106
95
|
name="visuals_6_1"
|
|
107
|
-
castShadow
|
|
108
|
-
receiveShadow
|
|
109
96
|
geometry={nodes.visuals_6_1.geometry}
|
|
110
97
|
material={materials.fanuc_stainless_steel}
|
|
111
98
|
/>
|
|
112
99
|
<mesh
|
|
113
100
|
name="visuals_6_2"
|
|
114
|
-
castShadow
|
|
115
|
-
receiveShadow
|
|
116
101
|
geometry={nodes.visuals_6_2.geometry}
|
|
117
102
|
material={materials.fanuc_aluminium_black}
|
|
118
103
|
/>
|
|
119
104
|
<mesh
|
|
120
105
|
name="visuals_6_3"
|
|
121
|
-
castShadow
|
|
122
|
-
receiveShadow
|
|
123
106
|
geometry={nodes.visuals_6_3.geometry}
|
|
124
107
|
material={materials.fanuc_aluminium_black}
|
|
125
108
|
/>
|
|
@@ -132,22 +115,16 @@ export function FANUC_CRX10iAL({ modelURL, ...props }: RobotModelProps) {
|
|
|
132
115
|
>
|
|
133
116
|
<mesh
|
|
134
117
|
name="visuals_5"
|
|
135
|
-
castShadow
|
|
136
|
-
receiveShadow
|
|
137
118
|
geometry={nodes.visuals_5.geometry}
|
|
138
119
|
material={materials.fanuc_white}
|
|
139
120
|
/>
|
|
140
121
|
<mesh
|
|
141
122
|
name="visuals_5_1"
|
|
142
|
-
castShadow
|
|
143
|
-
receiveShadow
|
|
144
123
|
geometry={nodes.visuals_5_1.geometry}
|
|
145
124
|
material={materials.fanuc_green}
|
|
146
125
|
/>
|
|
147
126
|
<mesh
|
|
148
127
|
name="visuals_5_2"
|
|
149
|
-
castShadow
|
|
150
|
-
receiveShadow
|
|
151
128
|
geometry={nodes.visuals_5_2.geometry}
|
|
152
129
|
material={materials.fanuc_stainless_steel}
|
|
153
130
|
/>
|
|
@@ -160,29 +137,21 @@ export function FANUC_CRX10iAL({ modelURL, ...props }: RobotModelProps) {
|
|
|
160
137
|
>
|
|
161
138
|
<mesh
|
|
162
139
|
name="visuals_4"
|
|
163
|
-
castShadow
|
|
164
|
-
receiveShadow
|
|
165
140
|
geometry={nodes.visuals_4.geometry}
|
|
166
141
|
material={materials.fanuc_white}
|
|
167
142
|
/>
|
|
168
143
|
<mesh
|
|
169
144
|
name="visuals_4_1"
|
|
170
|
-
castShadow
|
|
171
|
-
receiveShadow
|
|
172
145
|
geometry={nodes.visuals_4_1.geometry}
|
|
173
146
|
material={materials.fanuc_white}
|
|
174
147
|
/>
|
|
175
148
|
<mesh
|
|
176
149
|
name="visuals_4_2"
|
|
177
|
-
castShadow
|
|
178
|
-
receiveShadow
|
|
179
150
|
geometry={nodes.visuals_4_2.geometry}
|
|
180
151
|
material={materials.fanuc_metal_black}
|
|
181
152
|
/>
|
|
182
153
|
<mesh
|
|
183
154
|
name="visuals_4_3"
|
|
184
|
-
castShadow
|
|
185
|
-
receiveShadow
|
|
186
155
|
geometry={nodes.visuals_4_3.geometry}
|
|
187
156
|
material={materials.fanuc_red}
|
|
188
157
|
/>
|
|
@@ -195,15 +164,11 @@ export function FANUC_CRX10iAL({ modelURL, ...props }: RobotModelProps) {
|
|
|
195
164
|
>
|
|
196
165
|
<mesh
|
|
197
166
|
name="visuals_3"
|
|
198
|
-
castShadow
|
|
199
|
-
receiveShadow
|
|
200
167
|
geometry={nodes.visuals_3.geometry}
|
|
201
168
|
material={materials.fanuc_white}
|
|
202
169
|
/>
|
|
203
170
|
<mesh
|
|
204
171
|
name="visuals_3_1"
|
|
205
|
-
castShadow
|
|
206
|
-
receiveShadow
|
|
207
172
|
geometry={nodes.visuals_3_1.geometry}
|
|
208
173
|
material={materials.fanuc_green}
|
|
209
174
|
/>
|
|
@@ -211,8 +176,6 @@ export function FANUC_CRX10iAL({ modelURL, ...props }: RobotModelProps) {
|
|
|
211
176
|
</animated.group>
|
|
212
177
|
<mesh
|
|
213
178
|
name="link_2"
|
|
214
|
-
castShadow
|
|
215
|
-
receiveShadow
|
|
216
179
|
geometry={nodes.link_2.geometry}
|
|
217
180
|
material={materials.fanuc_white}
|
|
218
181
|
rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
|
|
@@ -221,22 +184,16 @@ export function FANUC_CRX10iAL({ modelURL, ...props }: RobotModelProps) {
|
|
|
221
184
|
<group name="link_1">
|
|
222
185
|
<mesh
|
|
223
186
|
name="visuals_1"
|
|
224
|
-
castShadow
|
|
225
|
-
receiveShadow
|
|
226
187
|
geometry={nodes.visuals_1.geometry}
|
|
227
188
|
material={materials.fanuc_green}
|
|
228
189
|
/>
|
|
229
190
|
<mesh
|
|
230
191
|
name="visuals_1_1"
|
|
231
|
-
castShadow
|
|
232
|
-
receiveShadow
|
|
233
192
|
geometry={nodes.visuals_1_1.geometry}
|
|
234
193
|
material={materials.fanuc_white}
|
|
235
194
|
/>
|
|
236
195
|
<mesh
|
|
237
196
|
name="visuals_1_2"
|
|
238
|
-
castShadow
|
|
239
|
-
receiveShadow
|
|
240
197
|
geometry={nodes.visuals_1_2.geometry}
|
|
241
198
|
material={materials.fanuc_green}
|
|
242
199
|
/>
|