@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.
- package/dist/components/robots/DHRobot.d.ts.map +1 -1
- package/dist/components/robots/GenericRobot.d.ts +3 -0
- package/dist/components/robots/GenericRobot.d.ts.map +1 -0
- package/dist/components/robots/Robot.d.ts +1 -1
- package/dist/components/robots/Robot.d.ts.map +1 -1
- package/dist/components/robots/RobotAnimator.d.ts +3 -4
- package/dist/components/robots/RobotAnimator.d.ts.map +1 -1
- package/dist/components/robots/SupportedRobot.d.ts +1 -1
- package/dist/components/robots/SupportedRobot.d.ts.map +1 -1
- package/dist/components/robots/types.d.ts +1 -1
- package/dist/components/robots/types.d.ts.map +1 -1
- package/dist/index.cjs +32 -32
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +5630 -13020
- package/dist/index.js.map +1 -1
- package/dist/themes/theming.d.ts +1 -1
- package/dist/themes/theming.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/robots/DHRobot.tsx +1 -0
- package/src/components/robots/GenericRobot.tsx +54 -0
- package/src/components/robots/Robot.tsx +1 -1
- package/src/components/robots/RobotAnimator.tsx +11 -9
- package/src/components/robots/SupportedRobot.tsx +11 -160
- package/src/components/robots/types.ts +1 -1
- package/src/themes/theming.ts +9 -2
- package/dist/components/robots/ABB_1200_07_7.d.ts +0 -8
- package/dist/components/robots/ABB_1200_07_7.d.ts.map +0 -1
- package/dist/components/robots/ABB_1300_115_10.d.ts +0 -8
- package/dist/components/robots/ABB_1300_115_10.d.ts.map +0 -1
- package/dist/components/robots/FANUC_ARC_Mate_100iD.d.ts +0 -8
- package/dist/components/robots/FANUC_ARC_Mate_100iD.d.ts.map +0 -1
- package/dist/components/robots/FANUC_ARC_Mate_120iD.d.ts +0 -8
- package/dist/components/robots/FANUC_ARC_Mate_120iD.d.ts.map +0 -1
- package/dist/components/robots/FANUC_CRX10iA.d.ts +0 -8
- package/dist/components/robots/FANUC_CRX10iA.d.ts.map +0 -1
- package/dist/components/robots/FANUC_CRX10iAL.d.ts +0 -8
- package/dist/components/robots/FANUC_CRX10iAL.d.ts.map +0 -1
- package/dist/components/robots/FANUC_CRX20iAL.d.ts +0 -8
- package/dist/components/robots/FANUC_CRX20iAL.d.ts.map +0 -1
- package/dist/components/robots/FANUC_CRX25iA.d.ts +0 -8
- package/dist/components/robots/FANUC_CRX25iA.d.ts.map +0 -1
- package/dist/components/robots/FANUC_CRX25iAL.d.ts +0 -8
- package/dist/components/robots/FANUC_CRX25iAL.d.ts.map +0 -1
- package/dist/components/robots/FANUC_LR_Mate_200iD.d.ts +0 -8
- package/dist/components/robots/FANUC_LR_Mate_200iD.d.ts.map +0 -1
- package/dist/components/robots/FANUC_LR_Mate_200iD4S.d.ts +0 -8
- package/dist/components/robots/FANUC_LR_Mate_200iD4S.d.ts.map +0 -1
- package/dist/components/robots/FANUC_LR_Mate_200iD7L.d.ts +0 -8
- package/dist/components/robots/FANUC_LR_Mate_200iD7L.d.ts.map +0 -1
- package/dist/components/robots/KUKA_KR16_R2010_2.d.ts +0 -9
- package/dist/components/robots/KUKA_KR16_R2010_2.d.ts.map +0 -1
- package/dist/components/robots/KUKA_KR20_R1810_2.d.ts +0 -9
- package/dist/components/robots/KUKA_KR20_R1810_2.d.ts.map +0 -1
- package/dist/components/robots/KUKA_KR210_R2700.d.ts +0 -8
- package/dist/components/robots/KUKA_KR210_R2700.d.ts.map +0 -1
- package/dist/components/robots/KUKA_KR270_R2700.d.ts +0 -8
- package/dist/components/robots/KUKA_KR270_R2700.d.ts.map +0 -1
- package/dist/components/robots/KUKA_KR6_R700_2.d.ts +0 -9
- package/dist/components/robots/KUKA_KR6_R700_2.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR10CB.d.ts +0 -3
- package/dist/components/robots/UniversalRobots_UR10CB.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR10e.d.ts +0 -3
- package/dist/components/robots/UniversalRobots_UR10e.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR16e.d.ts +0 -3
- package/dist/components/robots/UniversalRobots_UR16e.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR3CB.d.ts +0 -3
- package/dist/components/robots/UniversalRobots_UR3CB.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR3e.d.ts +0 -3
- package/dist/components/robots/UniversalRobots_UR3e.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR5CB.d.ts +0 -3
- package/dist/components/robots/UniversalRobots_UR5CB.d.ts.map +0 -1
- package/dist/components/robots/UniversalRobots_UR5e.d.ts +0 -3
- package/dist/components/robots/UniversalRobots_UR5e.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_AR1440.d.ts +0 -9
- package/dist/components/robots/Yaskawa_AR1440.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_AR1730.d.ts +0 -9
- package/dist/components/robots/Yaskawa_AR1730.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_AR2010.d.ts +0 -8
- package/dist/components/robots/Yaskawa_AR2010.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_AR3120.d.ts +0 -9
- package/dist/components/robots/Yaskawa_AR3120.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_AR900.d.ts +0 -8
- package/dist/components/robots/Yaskawa_AR900.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_GP50.d.ts +0 -8
- package/dist/components/robots/Yaskawa_GP50.d.ts.map +0 -1
- package/dist/components/robots/Yaskawa_GP88.d.ts +0 -8
- package/dist/components/robots/Yaskawa_GP88.d.ts.map +0 -1
- package/src/components/robots/ABB_1200_07_7.tsx +0 -161
- package/src/components/robots/ABB_1300_115_10.tsx +0 -179
- package/src/components/robots/FANUC_ARC_Mate_100iD.tsx +0 -151
- package/src/components/robots/FANUC_ARC_Mate_120iD.tsx +0 -151
- package/src/components/robots/FANUC_CRX10iA.tsx +0 -137
- package/src/components/robots/FANUC_CRX10iAL.tsx +0 -205
- package/src/components/robots/FANUC_CRX20iAL.tsx +0 -142
- package/src/components/robots/FANUC_CRX25iA.tsx +0 -135
- package/src/components/robots/FANUC_CRX25iAL.tsx +0 -146
- package/src/components/robots/FANUC_LR_Mate_200iD.tsx +0 -122
- package/src/components/robots/FANUC_LR_Mate_200iD4S.tsx +0 -112
- package/src/components/robots/FANUC_LR_Mate_200iD7L.tsx +0 -157
- package/src/components/robots/KUKA_KR16_R2010_2.tsx +0 -149
- package/src/components/robots/KUKA_KR20_R1810_2.tsx +0 -205
- package/src/components/robots/KUKA_KR210_R2700.tsx +0 -232
- package/src/components/robots/KUKA_KR270_R2700.tsx +0 -194
- package/src/components/robots/KUKA_KR6_R700_2.tsx +0 -129
- package/src/components/robots/UniversalRobots_UR10CB.tsx +0 -246
- package/src/components/robots/UniversalRobots_UR10e.tsx +0 -273
- package/src/components/robots/UniversalRobots_UR16e.tsx +0 -234
- package/src/components/robots/UniversalRobots_UR3CB.tsx +0 -89
- package/src/components/robots/UniversalRobots_UR3e.tsx +0 -209
- package/src/components/robots/UniversalRobots_UR5CB.tsx +0 -203
- package/src/components/robots/UniversalRobots_UR5e.tsx +0 -219
- package/src/components/robots/Yaskawa_AR1440.tsx +0 -125
- package/src/components/robots/Yaskawa_AR1730.tsx +0 -138
- package/src/components/robots/Yaskawa_AR2010.tsx +0 -139
- package/src/components/robots/Yaskawa_AR3120.tsx +0 -133
- package/src/components/robots/Yaskawa_AR900.tsx +0 -148
- package/src/components/robots/Yaskawa_GP50.tsx +0 -196
- package/src/components/robots/Yaskawa_GP88.tsx +0 -169
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UniversalRobots_UR10e.d.ts","sourceRoot":"","sources":["../../../src/components/robots/UniversalRobots_UR10e.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAwQjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UniversalRobots_UR16e.d.ts","sourceRoot":"","sources":["../../../src/components/robots/UniversalRobots_UR16e.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAiOjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UniversalRobots_UR3CB.d.ts","sourceRoot":"","sources":["../../../src/components/robots/UniversalRobots_UR3CB.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAgFjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UniversalRobots_UR3e.d.ts","sourceRoot":"","sources":["../../../src/components/robots/UniversalRobots_UR3e.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAwMjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UniversalRobots_UR5CB.d.ts","sourceRoot":"","sources":["../../../src/components/robots/UniversalRobots_UR5CB.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,wBAAgB,qBAAqB,CAAC,EACpC,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAkMjB"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"UniversalRobots_UR5e.d.ts","sourceRoot":"","sources":["../../../src/components/robots/UniversalRobots_UR5e.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAE9C,wBAAgB,oBAAoB,CAAC,EACnC,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAkNjB"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { RobotModelProps } from "./types";
|
|
2
|
-
export declare function Yaskawa_AR1440({ modelURL, flangeRef, ...props }: RobotModelProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace Yaskawa_AR1440 {
|
|
4
|
-
var config: {
|
|
5
|
-
rotationOffsets: number[];
|
|
6
|
-
rotationSign: number[];
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=Yaskawa_AR1440.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Yaskawa_AR1440.d.ts","sourceRoot":"","sources":["../../../src/components/robots/Yaskawa_AR1440.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAO9C,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CA+GjB;yBAnHe,cAAc"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { RobotModelProps } from "./types";
|
|
2
|
-
export declare function Yaskawa_AR1730({ modelURL, flangeRef, ...props }: RobotModelProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace Yaskawa_AR1730 {
|
|
4
|
-
var config: {
|
|
5
|
-
rotationOffsets: number[];
|
|
6
|
-
rotationSign: number[];
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=Yaskawa_AR1730.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Yaskawa_AR1730.d.ts","sourceRoot":"","sources":["../../../src/components/robots/Yaskawa_AR1730.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAO9C,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CA4HjB;yBAhIe,cAAc"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { RobotModelProps } from "./types";
|
|
2
|
-
export declare function Yaskawa_AR2010({ modelURL, flangeRef, ...props }: RobotModelProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace Yaskawa_AR2010 {
|
|
4
|
-
var config: {
|
|
5
|
-
rotationOffsets: number[];
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=Yaskawa_AR2010.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Yaskawa_AR2010.d.ts","sourceRoot":"","sources":["../../../src/components/robots/Yaskawa_AR2010.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAM9C,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CA8HjB;yBAlIe,cAAc"}
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { RobotModelProps } from "./types";
|
|
2
|
-
export declare function Yaskawa_AR3120({ modelURL, flangeRef, ...props }: RobotModelProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace Yaskawa_AR3120 {
|
|
4
|
-
var config: {
|
|
5
|
-
rotationOffsets: number[];
|
|
6
|
-
rotationSign: number[];
|
|
7
|
-
};
|
|
8
|
-
}
|
|
9
|
-
//# sourceMappingURL=Yaskawa_AR3120.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Yaskawa_AR3120.d.ts","sourceRoot":"","sources":["../../../src/components/robots/Yaskawa_AR3120.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAO9C,wBAAgB,cAAc,CAAC,EAC7B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAuHjB;yBA3He,cAAc"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { RobotModelProps } from "./types";
|
|
2
|
-
export declare function Yaskawa_AR900({ modelURL, flangeRef, ...props }: RobotModelProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace Yaskawa_AR900 {
|
|
4
|
-
var config: {
|
|
5
|
-
rotationOffsets: number[];
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=Yaskawa_AR900.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Yaskawa_AR900.d.ts","sourceRoot":"","sources":["../../../src/components/robots/Yaskawa_AR900.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAM9C,wBAAgB,aAAa,CAAC,EAC5B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAuIjB;yBA3Ie,aAAa"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { RobotModelProps } from "./types";
|
|
2
|
-
export declare function Yaskawa_GP50({ modelURL, flangeRef, ...props }: RobotModelProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace Yaskawa_GP50 {
|
|
4
|
-
var config: {
|
|
5
|
-
rotationOffsets: number[];
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=Yaskawa_GP50.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Yaskawa_GP50.d.ts","sourceRoot":"","sources":["../../../src/components/robots/Yaskawa_GP50.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAM9C,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CAuLjB;yBA3Le,YAAY"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { RobotModelProps } from "./types";
|
|
2
|
-
export declare function Yaskawa_GP88({ modelURL, flangeRef, ...props }: RobotModelProps): import("react/jsx-runtime").JSX.Element;
|
|
3
|
-
export declare namespace Yaskawa_GP88 {
|
|
4
|
-
var config: {
|
|
5
|
-
rotationOffsets: number[];
|
|
6
|
-
};
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=Yaskawa_GP88.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"Yaskawa_GP88.d.ts","sourceRoot":"","sources":["../../../src/components/robots/Yaskawa_GP88.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAA;AAM9C,wBAAgB,YAAY,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,eAAe,2CA4JjB;yBAhKe,YAAY"}
|
|
@@ -1,161 +0,0 @@
|
|
|
1
|
-
import { animated } from "@react-spring/three"
|
|
2
|
-
import { useGLTF } from "@react-three/drei"
|
|
3
|
-
import type { RobotModelProps } from "./types"
|
|
4
|
-
|
|
5
|
-
ABB_1200_07_7.config = {
|
|
6
|
-
rotationOffsets: [0, -Math.PI / 2, 0, 0, 0, 0],
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export function ABB_1200_07_7({
|
|
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="Empty">
|
|
21
|
-
<group name="visuals">
|
|
22
|
-
<mesh
|
|
23
|
-
name="visuals_1"
|
|
24
|
-
geometry={nodes.visuals_1.geometry}
|
|
25
|
-
material={materials.abb_metal_polished}
|
|
26
|
-
/>
|
|
27
|
-
<mesh
|
|
28
|
-
name="visuals_2"
|
|
29
|
-
geometry={nodes.visuals_2.geometry}
|
|
30
|
-
material={materials.abb_white}
|
|
31
|
-
/>
|
|
32
|
-
</group>
|
|
33
|
-
<animated.group name="ABB_IRB1200_J00">
|
|
34
|
-
<group
|
|
35
|
-
name="ABB_IRB1200_J01"
|
|
36
|
-
position={[0, 0.399, 0]}
|
|
37
|
-
rotation={[-Math.PI / 2, -Math.PI / 2, 0]}
|
|
38
|
-
>
|
|
39
|
-
<animated.group name="ABB_IRB1200_J02" position={[0.35, 0, 0]}>
|
|
40
|
-
<animated.group
|
|
41
|
-
name="ABB_IRB1200_J03"
|
|
42
|
-
position={[0.042, 0, 0]}
|
|
43
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
44
|
-
>
|
|
45
|
-
<animated.group
|
|
46
|
-
name="ABB_IRB1200_J04"
|
|
47
|
-
position={[0, 0.351, 0]}
|
|
48
|
-
rotation={[Math.PI / 2, 0, 0]}
|
|
49
|
-
>
|
|
50
|
-
<animated.group
|
|
51
|
-
name="ABB_IRB1200_J05"
|
|
52
|
-
rotation={[Math.PI / 2, 0, -Math.PI]}
|
|
53
|
-
>
|
|
54
|
-
<group
|
|
55
|
-
ref={flangeRef}
|
|
56
|
-
name="ABB_IRB1200_FLG"
|
|
57
|
-
position={[0, 0.082, 0]}
|
|
58
|
-
/>
|
|
59
|
-
<mesh
|
|
60
|
-
name="visuals006"
|
|
61
|
-
geometry={nodes.visuals006.geometry}
|
|
62
|
-
material={materials.abb_metal_black}
|
|
63
|
-
position={[0.791, -0.351, 0]}
|
|
64
|
-
rotation={[0, 0, Math.PI / 2]}
|
|
65
|
-
/>
|
|
66
|
-
</animated.group>
|
|
67
|
-
<group
|
|
68
|
-
name="visuals005"
|
|
69
|
-
position={[-0.791, 0, 0.351]}
|
|
70
|
-
rotation={[Math.PI / 2, 0, -Math.PI / 2]}
|
|
71
|
-
>
|
|
72
|
-
<mesh
|
|
73
|
-
name="visuals005_1"
|
|
74
|
-
geometry={nodes.visuals005_1.geometry}
|
|
75
|
-
material={materials.abb_metal_polished}
|
|
76
|
-
/>
|
|
77
|
-
<mesh
|
|
78
|
-
name="visuals005_2"
|
|
79
|
-
geometry={nodes.visuals005_2.geometry}
|
|
80
|
-
material={materials.abb_white}
|
|
81
|
-
/>
|
|
82
|
-
</group>
|
|
83
|
-
</animated.group>
|
|
84
|
-
<group
|
|
85
|
-
name="visuals004"
|
|
86
|
-
position={[-0.791, 0, 0]}
|
|
87
|
-
rotation={[-Math.PI, 0, -Math.PI / 2]}
|
|
88
|
-
>
|
|
89
|
-
<mesh
|
|
90
|
-
name="visuals004_1"
|
|
91
|
-
geometry={nodes.visuals004_1.geometry}
|
|
92
|
-
material={materials.abb_metal_polished}
|
|
93
|
-
/>
|
|
94
|
-
<mesh
|
|
95
|
-
name="visuals004_2"
|
|
96
|
-
geometry={nodes.visuals004_2.geometry}
|
|
97
|
-
material={materials.abb_white}
|
|
98
|
-
/>
|
|
99
|
-
<mesh
|
|
100
|
-
name="visuals004_3"
|
|
101
|
-
geometry={nodes.visuals004_3.geometry}
|
|
102
|
-
material={materials.abb_red}
|
|
103
|
-
/>
|
|
104
|
-
</group>
|
|
105
|
-
</animated.group>
|
|
106
|
-
<group
|
|
107
|
-
name="visuals003"
|
|
108
|
-
position={[-0.749, 0, 0]}
|
|
109
|
-
rotation={[Math.PI / 2, 0, -Math.PI / 2]}
|
|
110
|
-
>
|
|
111
|
-
<mesh
|
|
112
|
-
name="visuals003_1"
|
|
113
|
-
geometry={nodes.visuals003_1.geometry}
|
|
114
|
-
material={materials.abb_white}
|
|
115
|
-
/>
|
|
116
|
-
<mesh
|
|
117
|
-
name="visuals003_2"
|
|
118
|
-
geometry={nodes.visuals003_2.geometry}
|
|
119
|
-
material={materials.abb_red}
|
|
120
|
-
/>
|
|
121
|
-
<mesh
|
|
122
|
-
name="visuals003_3"
|
|
123
|
-
geometry={nodes.visuals003_3.geometry}
|
|
124
|
-
material={materials.abb_metal_polished}
|
|
125
|
-
/>
|
|
126
|
-
</group>
|
|
127
|
-
</animated.group>
|
|
128
|
-
<group
|
|
129
|
-
name="visuals002"
|
|
130
|
-
position={[-0.399, 0, 0]}
|
|
131
|
-
rotation={[Math.PI / 2, 0, -Math.PI / 2]}
|
|
132
|
-
>
|
|
133
|
-
<mesh
|
|
134
|
-
name="visuals002_1"
|
|
135
|
-
geometry={nodes.visuals002_1.geometry}
|
|
136
|
-
material={materials.abb_white}
|
|
137
|
-
/>
|
|
138
|
-
<mesh
|
|
139
|
-
name="visuals002_2"
|
|
140
|
-
geometry={nodes.visuals002_2.geometry}
|
|
141
|
-
material={materials.abb_metal_polished}
|
|
142
|
-
/>
|
|
143
|
-
</group>
|
|
144
|
-
</group>
|
|
145
|
-
<group name="visuals001">
|
|
146
|
-
<mesh
|
|
147
|
-
name="visuals001_1"
|
|
148
|
-
geometry={nodes.visuals001_1.geometry}
|
|
149
|
-
material={materials.abb_white}
|
|
150
|
-
/>
|
|
151
|
-
<mesh
|
|
152
|
-
name="visuals001_2"
|
|
153
|
-
geometry={nodes.visuals001_2.geometry}
|
|
154
|
-
material={materials.abb_metal_polished}
|
|
155
|
-
/>
|
|
156
|
-
</group>
|
|
157
|
-
</animated.group>
|
|
158
|
-
</group>
|
|
159
|
-
</group>
|
|
160
|
-
)
|
|
161
|
-
}
|
|
@@ -1,179 +0,0 @@
|
|
|
1
|
-
import { animated } from "@react-spring/three"
|
|
2
|
-
import { useGLTF } from "@react-three/drei"
|
|
3
|
-
import type { RobotModelProps } from "./types"
|
|
4
|
-
|
|
5
|
-
ABB_1300_115_10.config = {
|
|
6
|
-
rotationOffsets: [0, -Math.PI / 2, 0, 0, 0, 0],
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export function ABB_1300_115_10({
|
|
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="visuals_0"
|
|
24
|
-
geometry={nodes.visuals_0.geometry}
|
|
25
|
-
material={materials.abb_metal_black}
|
|
26
|
-
/>
|
|
27
|
-
<mesh
|
|
28
|
-
name="visuals_0_1"
|
|
29
|
-
geometry={nodes.visuals_0_1.geometry}
|
|
30
|
-
material={materials.abb_white}
|
|
31
|
-
/>
|
|
32
|
-
<mesh
|
|
33
|
-
name="visuals_0_2"
|
|
34
|
-
geometry={nodes.visuals_0_2.geometry}
|
|
35
|
-
material={materials.abb_metal_polished}
|
|
36
|
-
/>
|
|
37
|
-
<mesh
|
|
38
|
-
name="visuals_0_3"
|
|
39
|
-
geometry={nodes.visuals_0_3.geometry}
|
|
40
|
-
material={materials.abb_red}
|
|
41
|
-
/>
|
|
42
|
-
</group>
|
|
43
|
-
<animated.group name="ABB_IRB1300_115_10_J00">
|
|
44
|
-
<animated.group
|
|
45
|
-
name="ABB_IRB1300_115_10_J01"
|
|
46
|
-
position={[0.15, 0.544, 0]}
|
|
47
|
-
rotation={[-Math.PI / 2, -Math.PI / 2, 0]}
|
|
48
|
-
>
|
|
49
|
-
<animated.group
|
|
50
|
-
name="ABB_IRB1300_115_10_J02"
|
|
51
|
-
position={[0.575, 0, 0]}
|
|
52
|
-
>
|
|
53
|
-
<animated.group
|
|
54
|
-
name="ABB_IRB1300_115_10_J03"
|
|
55
|
-
position={[0.04, 0, 0]}
|
|
56
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
57
|
-
>
|
|
58
|
-
<animated.group
|
|
59
|
-
name="ABB_IRB1300_115_10_J04"
|
|
60
|
-
position={[0, 0.425, 0]}
|
|
61
|
-
rotation={[Math.PI / 2, 0, 0]}
|
|
62
|
-
>
|
|
63
|
-
<animated.group
|
|
64
|
-
name="ABB_IRB1300_115_10_J05"
|
|
65
|
-
rotation={[Math.PI / 2, 0, -Math.PI]}
|
|
66
|
-
>
|
|
67
|
-
<group
|
|
68
|
-
ref={flangeRef}
|
|
69
|
-
name="ABB_IRB1300_115_10_FLG"
|
|
70
|
-
position={[0, 0.092, 0]}
|
|
71
|
-
/>
|
|
72
|
-
<mesh
|
|
73
|
-
name="link_6"
|
|
74
|
-
geometry={nodes.link_6.geometry}
|
|
75
|
-
material={materials.abb_metal_polished}
|
|
76
|
-
position={[1.159, -0.575, 0]}
|
|
77
|
-
rotation={[0, 0, Math.PI / 2]}
|
|
78
|
-
/>
|
|
79
|
-
</animated.group>
|
|
80
|
-
<group
|
|
81
|
-
name="link_5"
|
|
82
|
-
position={[-1.159, 0, 0.575]}
|
|
83
|
-
rotation={[Math.PI / 2, 0, -Math.PI / 2]}
|
|
84
|
-
>
|
|
85
|
-
<mesh
|
|
86
|
-
name="visuals_5"
|
|
87
|
-
geometry={nodes.visuals_5.geometry}
|
|
88
|
-
material={materials.abb_white}
|
|
89
|
-
/>
|
|
90
|
-
<mesh
|
|
91
|
-
name="visuals_5_1"
|
|
92
|
-
geometry={nodes.visuals_5_1.geometry}
|
|
93
|
-
material={materials.abb_metal_black}
|
|
94
|
-
/>
|
|
95
|
-
</group>
|
|
96
|
-
</animated.group>
|
|
97
|
-
<group
|
|
98
|
-
name="link_4"
|
|
99
|
-
position={[-1.159, -0.15, 0]}
|
|
100
|
-
rotation={[-Math.PI, 0, -Math.PI / 2]}
|
|
101
|
-
>
|
|
102
|
-
<mesh
|
|
103
|
-
name="visuals_4"
|
|
104
|
-
geometry={nodes.visuals_4.geometry}
|
|
105
|
-
material={materials.abb_metal_polished}
|
|
106
|
-
/>
|
|
107
|
-
<mesh
|
|
108
|
-
name="visuals_4_1"
|
|
109
|
-
geometry={nodes.visuals_4_1.geometry}
|
|
110
|
-
material={materials.abb_white}
|
|
111
|
-
/>
|
|
112
|
-
<mesh
|
|
113
|
-
name="visuals_4_2"
|
|
114
|
-
geometry={nodes.visuals_4_2.geometry}
|
|
115
|
-
material={materials.abb_red}
|
|
116
|
-
/>
|
|
117
|
-
<mesh
|
|
118
|
-
name="visuals_4_3"
|
|
119
|
-
geometry={nodes.visuals_4_3.geometry}
|
|
120
|
-
material={materials.abb_metal_black}
|
|
121
|
-
/>
|
|
122
|
-
</group>
|
|
123
|
-
</animated.group>
|
|
124
|
-
<group
|
|
125
|
-
name="link_3"
|
|
126
|
-
position={[-1.119, 0, 0.15]}
|
|
127
|
-
rotation={[Math.PI / 2, 0, -Math.PI / 2]}
|
|
128
|
-
>
|
|
129
|
-
<mesh
|
|
130
|
-
name="visuals_3"
|
|
131
|
-
geometry={nodes.visuals_3.geometry}
|
|
132
|
-
material={materials.abb_white}
|
|
133
|
-
/>
|
|
134
|
-
<mesh
|
|
135
|
-
name="visuals_3_1"
|
|
136
|
-
geometry={nodes.visuals_3_1.geometry}
|
|
137
|
-
material={materials.abb_red}
|
|
138
|
-
/>
|
|
139
|
-
<mesh
|
|
140
|
-
name="visuals_3_2"
|
|
141
|
-
geometry={nodes.visuals_3_2.geometry}
|
|
142
|
-
material={materials.abb_metal_black}
|
|
143
|
-
/>
|
|
144
|
-
</group>
|
|
145
|
-
</animated.group>
|
|
146
|
-
<group
|
|
147
|
-
name="link_2"
|
|
148
|
-
position={[-0.544, 0, 0.15]}
|
|
149
|
-
rotation={[Math.PI / 2, 0, -Math.PI / 2]}
|
|
150
|
-
>
|
|
151
|
-
<mesh
|
|
152
|
-
name="visuals_2"
|
|
153
|
-
geometry={nodes.visuals_2.geometry}
|
|
154
|
-
material={materials.abb_white}
|
|
155
|
-
/>
|
|
156
|
-
<mesh
|
|
157
|
-
name="visuals_2_1"
|
|
158
|
-
geometry={nodes.visuals_2_1.geometry}
|
|
159
|
-
material={materials.abb_metal_black}
|
|
160
|
-
/>
|
|
161
|
-
</group>
|
|
162
|
-
</animated.group>
|
|
163
|
-
<group name="link_1">
|
|
164
|
-
<mesh
|
|
165
|
-
name="visuals_1"
|
|
166
|
-
geometry={nodes.visuals_1.geometry}
|
|
167
|
-
material={materials.abb_white}
|
|
168
|
-
/>
|
|
169
|
-
<mesh
|
|
170
|
-
name="visuals_1_1"
|
|
171
|
-
geometry={nodes.visuals_1_1.geometry}
|
|
172
|
-
material={materials.abb_metal_black}
|
|
173
|
-
/>
|
|
174
|
-
</group>
|
|
175
|
-
</animated.group>
|
|
176
|
-
</group>
|
|
177
|
-
</group>
|
|
178
|
-
)
|
|
179
|
-
}
|
|
@@ -1,151 +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_ARC_Mate_100iD.config = {
|
|
6
|
-
rotationOffsets: [0, Math.PI / 2, 0, 0, 0, 0],
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
export function FANUC_ARC_Mate_100iD({
|
|
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="M10iD" rotation={[Math.PI / 2, 0, 0]}>
|
|
23
|
-
<animated.group name="M10iD_J01" rotation={[-Math.PI / 2, 0, 0]}>
|
|
24
|
-
<animated.group
|
|
25
|
-
name="M10iD_J02"
|
|
26
|
-
position={[0.075, 0, 0]}
|
|
27
|
-
rotation={[Math.PI / 2, Math.PI / 2, 0]}
|
|
28
|
-
>
|
|
29
|
-
<animated.group name="M10iD_J03" position={[0.64, 0, 0]}>
|
|
30
|
-
<animated.group
|
|
31
|
-
name="M10iD_J04"
|
|
32
|
-
position={[0.195, 0, 0]}
|
|
33
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
34
|
-
>
|
|
35
|
-
<animated.group
|
|
36
|
-
name="M10iD_J05"
|
|
37
|
-
position={[0, -0.7, 0]}
|
|
38
|
-
rotation={[Math.PI / 2, 0, 0]}
|
|
39
|
-
>
|
|
40
|
-
<animated.group
|
|
41
|
-
name="M10iD_J06"
|
|
42
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
43
|
-
>
|
|
44
|
-
<group
|
|
45
|
-
ref={flangeRef}
|
|
46
|
-
name="M10iD_FLG"
|
|
47
|
-
position={[0, -0.075, 0]}
|
|
48
|
-
rotation={[-Math.PI, 0, 0]}
|
|
49
|
-
/>
|
|
50
|
-
<mesh
|
|
51
|
-
name="M10iD_L06"
|
|
52
|
-
geometry={nodes.M10iD_L06.geometry}
|
|
53
|
-
material={materials.Fanuc_BlackMetal_AO}
|
|
54
|
-
position={[-0.835, 0.775, 0]}
|
|
55
|
-
rotation={[0, 0, -Math.PI / 2]}
|
|
56
|
-
/>
|
|
57
|
-
</animated.group>
|
|
58
|
-
<mesh
|
|
59
|
-
name="M10iD_L05"
|
|
60
|
-
geometry={nodes.M10iD_L05.geometry}
|
|
61
|
-
material={materials.Fanuc_BlackMetal_AO}
|
|
62
|
-
position={[-0.835, 0, -0.775]}
|
|
63
|
-
rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
|
|
64
|
-
/>
|
|
65
|
-
</animated.group>
|
|
66
|
-
<group
|
|
67
|
-
name="M10iD_L04"
|
|
68
|
-
position={[-0.835, 0.075, 0]}
|
|
69
|
-
rotation={[0, 0, -Math.PI / 2]}
|
|
70
|
-
>
|
|
71
|
-
<mesh
|
|
72
|
-
name="Mesh_654"
|
|
73
|
-
geometry={nodes.Mesh_654.geometry}
|
|
74
|
-
material={materials.Fanuc_Yellow_Textured_AO}
|
|
75
|
-
/>
|
|
76
|
-
<mesh
|
|
77
|
-
name="Mesh_654_1"
|
|
78
|
-
geometry={nodes.Mesh_654_1.geometry}
|
|
79
|
-
material={materials.Fanuc_BlackMetal_AO}
|
|
80
|
-
/>
|
|
81
|
-
</group>
|
|
82
|
-
</animated.group>
|
|
83
|
-
<group
|
|
84
|
-
name="M10iD_L03"
|
|
85
|
-
position={[-0.64, 0, -0.075]}
|
|
86
|
-
rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
|
|
87
|
-
>
|
|
88
|
-
<mesh
|
|
89
|
-
name="Mesh_378"
|
|
90
|
-
geometry={nodes.Mesh_378.geometry}
|
|
91
|
-
material={materials.Material_1_AO}
|
|
92
|
-
/>
|
|
93
|
-
<mesh
|
|
94
|
-
name="Mesh_378_1"
|
|
95
|
-
geometry={nodes.Mesh_378_1.geometry}
|
|
96
|
-
material={materials.Fanuc_Yellow_Textured_AO}
|
|
97
|
-
/>
|
|
98
|
-
<mesh
|
|
99
|
-
name="Mesh_378_2"
|
|
100
|
-
geometry={nodes.Mesh_378_2.geometry}
|
|
101
|
-
material={materials.Fanuc_BlackMetal_AO}
|
|
102
|
-
/>
|
|
103
|
-
</group>
|
|
104
|
-
</animated.group>
|
|
105
|
-
<group
|
|
106
|
-
name="M10iD_L02"
|
|
107
|
-
position={[0, 0, -0.075]}
|
|
108
|
-
rotation={[-Math.PI / 2, 0, -Math.PI / 2]}
|
|
109
|
-
>
|
|
110
|
-
<mesh
|
|
111
|
-
name="Mesh_358"
|
|
112
|
-
geometry={nodes.Mesh_358.geometry}
|
|
113
|
-
material={materials.Fanuc_Yellow_Textured_AO}
|
|
114
|
-
/>
|
|
115
|
-
<mesh
|
|
116
|
-
name="Mesh_358_1"
|
|
117
|
-
geometry={nodes.Mesh_358_1.geometry}
|
|
118
|
-
material={materials.Fanuc_BlackMetal_AO}
|
|
119
|
-
/>
|
|
120
|
-
</group>
|
|
121
|
-
</animated.group>
|
|
122
|
-
<group name="M10iD_L01">
|
|
123
|
-
<mesh
|
|
124
|
-
name="Mesh_356"
|
|
125
|
-
geometry={nodes.Mesh_356.geometry}
|
|
126
|
-
material={materials.Fanuc_Yellow_Textured_AO}
|
|
127
|
-
/>
|
|
128
|
-
<mesh
|
|
129
|
-
name="Mesh_356_1"
|
|
130
|
-
geometry={nodes.Mesh_356_1.geometry}
|
|
131
|
-
material={materials.Material_1_AO}
|
|
132
|
-
/>
|
|
133
|
-
<mesh
|
|
134
|
-
name="Mesh_356_2"
|
|
135
|
-
geometry={nodes.Mesh_356_2.geometry}
|
|
136
|
-
material={materials.Fanuc_BlackMetal_AO}
|
|
137
|
-
/>
|
|
138
|
-
</group>
|
|
139
|
-
</animated.group>
|
|
140
|
-
<mesh
|
|
141
|
-
name="M10iD_L00"
|
|
142
|
-
geometry={nodes.M10iD_L00.geometry}
|
|
143
|
-
material={materials.Fanuc_BlackMetal_AO}
|
|
144
|
-
rotation={[-Math.PI / 2, 0, 0]}
|
|
145
|
-
/>
|
|
146
|
-
</group>
|
|
147
|
-
</group>
|
|
148
|
-
</group>
|
|
149
|
-
</>
|
|
150
|
-
)
|
|
151
|
-
}
|