@operato/scene-manufacturing 10.0.0-beta.2 → 10.0.0-beta.24
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/README.md +29 -9
- package/dist/index.d.ts +6 -0
- package/dist/index.js +4 -0
- package/dist/index.js.map +1 -1
- package/dist/robot-arm-3d.d.ts +169 -0
- package/dist/robot-arm-3d.js +971 -0
- package/dist/robot-arm-3d.js.map +1 -0
- package/dist/robot-arm-ik.d.ts +115 -0
- package/dist/robot-arm-ik.js +313 -0
- package/dist/robot-arm-ik.js.map +1 -0
- package/dist/robot-arm-styles.d.ts +48 -0
- package/dist/robot-arm-styles.js +106 -0
- package/dist/robot-arm-styles.js.map +1 -0
- package/dist/robot-arm.d.ts +181 -0
- package/dist/robot-arm.js +544 -0
- package/dist/robot-arm.js.map +1 -0
- package/dist/templates/index.d.ts +28 -2
- package/dist/templates/index.js +2 -1
- package/dist/templates/index.js.map +1 -1
- package/dist/templates/robot-arm.d.ts +28 -0
- package/dist/templates/robot-arm.js +31 -0
- package/dist/templates/robot-arm.js.map +1 -0
- package/dist/templates/tact-timer.js +1 -1
- package/dist/templates/tact-timer.js.map +1 -1
- package/package.json +6 -3
- package/translations/en.json +8 -1
- package/translations/ja.json +8 -1
- package/translations/ko.json +8 -1
- package/translations/ms.json +8 -1
- package/translations/zh.json +8 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/templates/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,iBAAiB,CAAA;
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/templates/index.ts"],"names":[],"mappings":"AAAA,OAAO,SAAS,MAAM,iBAAiB,CAAA;AACvC,OAAO,QAAQ,MAAM,gBAAgB,CAAA;AAErC,eAAe,CAAC,SAAS,EAAE,QAAQ,CAAC,CAAA","sourcesContent":["import tactTimer from './tact-timer.js'\nimport robotArm from './robot-arm.js'\n\nexport default [tactTimer, robotArm]\n"]}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
declare const _default: {
|
|
2
|
+
type: string;
|
|
3
|
+
description: string;
|
|
4
|
+
group: string;
|
|
5
|
+
icon: string;
|
|
6
|
+
model: {
|
|
7
|
+
type: string;
|
|
8
|
+
top: number;
|
|
9
|
+
left: number;
|
|
10
|
+
width: number;
|
|
11
|
+
height: number;
|
|
12
|
+
depth: number;
|
|
13
|
+
rotation: number;
|
|
14
|
+
linkRadius: number;
|
|
15
|
+
joint0: number;
|
|
16
|
+
joint1: number;
|
|
17
|
+
joint2: number;
|
|
18
|
+
joint3: number;
|
|
19
|
+
joint4: number;
|
|
20
|
+
joint5: number;
|
|
21
|
+
style: string;
|
|
22
|
+
chainPreset: string;
|
|
23
|
+
gripperType: string;
|
|
24
|
+
showReachSphere: boolean;
|
|
25
|
+
status: string;
|
|
26
|
+
};
|
|
27
|
+
};
|
|
28
|
+
export default _default;
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
// PoC: reuse tact-timer icon as a placeholder until a dedicated robot-arm
|
|
2
|
+
// icon is drawn.
|
|
3
|
+
const icon = new URL('../../icons/tact-timer.png', import.meta.url).href;
|
|
4
|
+
export default {
|
|
5
|
+
type: 'robot-arm',
|
|
6
|
+
description: 'articulated robot arm — configurable kinematic chain with style/gripper options and IK',
|
|
7
|
+
group: 'manufacturing' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|manufacturing|form|etc */,
|
|
8
|
+
icon,
|
|
9
|
+
model: {
|
|
10
|
+
type: 'robot-arm',
|
|
11
|
+
top: 200,
|
|
12
|
+
left: 200,
|
|
13
|
+
width: 5,
|
|
14
|
+
height: 5,
|
|
15
|
+
depth: 80,
|
|
16
|
+
rotation: 0,
|
|
17
|
+
linkRadius: 2,
|
|
18
|
+
joint0: 106,
|
|
19
|
+
joint1: 48,
|
|
20
|
+
joint2: 31,
|
|
21
|
+
joint3: -26,
|
|
22
|
+
joint4: 48,
|
|
23
|
+
joint5: 29,
|
|
24
|
+
style: 'industrial',
|
|
25
|
+
chainPreset: '6-axis-industrial',
|
|
26
|
+
gripperType: 'parallel',
|
|
27
|
+
showReachSphere: false,
|
|
28
|
+
status: 'idle'
|
|
29
|
+
}
|
|
30
|
+
};
|
|
31
|
+
//# sourceMappingURL=robot-arm.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"robot-arm.js","sourceRoot":"","sources":["../../src/templates/robot-arm.ts"],"names":[],"mappings":"AAAA,0EAA0E;AAC1E,iBAAiB;AACjB,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,4BAA4B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAExE,eAAe;IACb,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,wFAAwF;IACrG,KAAK,EAAE,eAAe,CAAC,sIAAsI;IAC7J,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,WAAW;QACjB,GAAG,EAAE,GAAG;QACR,IAAI,EAAE,GAAG;QACT,KAAK,EAAE,CAAC;QACR,MAAM,EAAE,CAAC;QACT,KAAK,EAAE,EAAE;QACT,QAAQ,EAAE,CAAC;QACX,UAAU,EAAE,CAAC;QACb,MAAM,EAAE,GAAG;QACX,MAAM,EAAE,EAAE;QACV,MAAM,EAAE,EAAE;QACV,MAAM,EAAE,CAAC,EAAE;QACX,MAAM,EAAE,EAAE;QACV,MAAM,EAAE,EAAE;QACV,KAAK,EAAE,YAAY;QACnB,WAAW,EAAE,mBAAmB;QAChC,WAAW,EAAE,UAAU;QACvB,eAAe,EAAE,KAAK;QACtB,MAAM,EAAE,MAAM;KACf;CACF,CAAA","sourcesContent":["// PoC: reuse tact-timer icon as a placeholder until a dedicated robot-arm\n// icon is drawn.\nconst icon = new URL('../../icons/tact-timer.png', import.meta.url).href\n\nexport default {\n type: 'robot-arm',\n description: 'articulated robot arm — configurable kinematic chain with style/gripper options and IK',\n group: 'manufacturing' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|manufacturing|form|etc */,\n icon,\n model: {\n type: 'robot-arm',\n top: 200,\n left: 200,\n width: 5,\n height: 5,\n depth: 80,\n rotation: 0,\n linkRadius: 2,\n joint0: 106,\n joint1: 48,\n joint2: 31,\n joint3: -26,\n joint4: 48,\n joint5: 29,\n style: 'industrial',\n chainPreset: '6-axis-industrial',\n gripperType: 'parallel',\n showReachSphere: false,\n status: 'idle'\n }\n}\n"]}
|
|
@@ -2,7 +2,7 @@ const icon = new URL('../../icons/tact-timer.png', import.meta.url).href;
|
|
|
2
2
|
export default {
|
|
3
3
|
type: 'tact-timer',
|
|
4
4
|
description: 'tact timer',
|
|
5
|
-
group: 'etc' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|
|
|
5
|
+
group: 'etc' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */,
|
|
6
6
|
icon,
|
|
7
7
|
model: {
|
|
8
8
|
type: 'tact-timer',
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tact-timer.js","sourceRoot":"","sources":["../../src/templates/tact-timer.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,4BAA4B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAExE,eAAe;IACb,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,YAAY;IACzB,KAAK,EAAE,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"tact-timer.js","sourceRoot":"","sources":["../../src/templates/tact-timer.ts"],"names":[],"mappings":"AAAA,MAAM,IAAI,GAAG,IAAI,GAAG,CAAC,4BAA4B,EAAE,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,IAAI,CAAA;AAExE,eAAe;IACb,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,YAAY;IACzB,KAAK,EAAE,KAAK,CAAC,wHAAwH;IACrI,IAAI;IACJ,KAAK,EAAE;QACL,IAAI,EAAE,YAAY;QAClB,IAAI,EAAE,GAAG;QACT,GAAG,EAAE,GAAG;QACR,KAAK,EAAE,GAAG;QACV,MAAM,EAAE,EAAE;QACV,QAAQ,EAAE,EAAE;QACZ,SAAS,EAAE,CAAC;QACZ,KAAK,EAAE,EAAE;QACT,YAAY,EAAE,IAAI;QAClB,SAAS,EAAE,IAAI;QACf,iBAAiB,EAAE,UAAU;QAC7B,qBAAqB,EAAE,OAAO;QAC9B,qBAAqB,EAAE,KAAK;QAC5B,iBAAiB,EAAE,MAAM;QACzB,iBAAiB,EAAE,QAAQ;QAC3B,mBAAmB,EAAE,QAAQ;QAC7B,iBAAiB,EAAE,EAAE;KACtB;CACF,CAAA","sourcesContent":["const icon = new URL('../../icons/tact-timer.png', import.meta.url).href\n\nexport default {\n type: 'tact-timer',\n description: 'tact timer',\n group: 'etc' /* line|shape|textAndMedia|chartAndGauge|table|container|dataSource|3D|facility|storage|conveyance|transport|form|etc */,\n icon,\n model: {\n type: 'tact-timer',\n left: 100,\n top: 100,\n width: 200,\n height: 40,\n fontSize: 80,\n lineWidth: 1,\n round: 10,\n showProgress: true,\n showTimer: true,\n progressDirection: 'decrease',\n increaseProgressColor: 'green',\n decreaseProgressColor: 'red',\n increaseFontColor: 'navy',\n decreaseFontColor: 'orange',\n underThresholdColor: 'yellow',\n progressThreshold: 30\n }\n}\n"]}
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@operato/scene-manufacturing",
|
|
3
3
|
"description": "Things scene components for manufacturing industry",
|
|
4
|
-
"version": "10.0.0-beta.
|
|
4
|
+
"version": "10.0.0-beta.24",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"things-scene": true,
|
|
@@ -28,12 +28,15 @@
|
|
|
28
28
|
"migration": "things-factory-migration"
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
|
-
"@hatiolab/things-scene": "^10.0.0-beta.1"
|
|
31
|
+
"@hatiolab/things-scene": "^10.0.0-beta.1",
|
|
32
|
+
"@operato/scene-base": "^10.0.0-beta.24",
|
|
33
|
+
"three": "^0.183.0"
|
|
32
34
|
},
|
|
33
35
|
"devDependencies": {
|
|
34
36
|
"@hatiolab/prettier-config": "^1.0.0",
|
|
35
37
|
"@things-factory/builder": "^10.0.0-beta.1",
|
|
36
38
|
"@things-factory/operato-board": "^10.0.0-beta.1",
|
|
39
|
+
"@types/three": "^0.183.0",
|
|
37
40
|
"@typescript-eslint/eslint-plugin": "^8.0.0",
|
|
38
41
|
"@typescript-eslint/parser": "^8.0.0",
|
|
39
42
|
"@web/dev-server": "^0.1.28",
|
|
@@ -58,5 +61,5 @@
|
|
|
58
61
|
"prettier --write"
|
|
59
62
|
]
|
|
60
63
|
},
|
|
61
|
-
"gitHead": "
|
|
64
|
+
"gitHead": "236ded8c545c4b172b2e86e4843b3221c4bf2fd8"
|
|
62
65
|
}
|
package/translations/en.json
CHANGED
|
@@ -13,5 +13,12 @@
|
|
|
13
13
|
"label.show-timer": "show timer",
|
|
14
14
|
"label.start-time": "start time",
|
|
15
15
|
"label.end-time": "end time",
|
|
16
|
-
"label.tact-timer-mask-color": "mask color"
|
|
16
|
+
"label.tact-timer-mask-color": "mask color",
|
|
17
|
+
"component.robot-arm": "robot arm",
|
|
18
|
+
"label.style": "Style",
|
|
19
|
+
"label.chain-preset": "Chain Preset",
|
|
20
|
+
"label.link-radius": "Link Radius",
|
|
21
|
+
"label.gripper-type": "Gripper Type",
|
|
22
|
+
"label.show-reach-sphere": "Show Reach Sphere",
|
|
23
|
+
"component.spot": "spot"
|
|
17
24
|
}
|
package/translations/ja.json
CHANGED
|
@@ -13,5 +13,12 @@
|
|
|
13
13
|
"label.show-timer": "タイマーを表示",
|
|
14
14
|
"label.start-time": "開始時間",
|
|
15
15
|
"label.end-time": "終了時間",
|
|
16
|
-
"label.tact-timer-mask-color": "マスク色"
|
|
16
|
+
"label.tact-timer-mask-color": "マスク色",
|
|
17
|
+
"component.robot-arm": "ロボットアーム",
|
|
18
|
+
"label.style": "スタイル",
|
|
19
|
+
"label.chain-preset": "関節構成",
|
|
20
|
+
"label.link-radius": "リンク半径",
|
|
21
|
+
"label.gripper-type": "グリッパー種別",
|
|
22
|
+
"label.show-reach-sphere": "到達範囲表示",
|
|
23
|
+
"component.spot": "配置スポット"
|
|
17
24
|
}
|
package/translations/ko.json
CHANGED
|
@@ -13,5 +13,12 @@
|
|
|
13
13
|
"label.show-timer": "타이머 보이기",
|
|
14
14
|
"label.start-time": "시작 시간",
|
|
15
15
|
"label.end-time": "완료 시간",
|
|
16
|
-
"label.tact-timer-mask-color": "마스크 색상"
|
|
16
|
+
"label.tact-timer-mask-color": "마스크 색상",
|
|
17
|
+
"component.robot-arm": "로봇 팔",
|
|
18
|
+
"label.style": "스타일",
|
|
19
|
+
"label.chain-preset": "관절 구성",
|
|
20
|
+
"label.link-radius": "링크 반경",
|
|
21
|
+
"label.gripper-type": "그리퍼 유형",
|
|
22
|
+
"label.show-reach-sphere": "도달 범위 표시",
|
|
23
|
+
"component.spot": "거치 위치"
|
|
17
24
|
}
|
package/translations/ms.json
CHANGED
|
@@ -13,5 +13,12 @@
|
|
|
13
13
|
"label.show-timer": "tunjukkan pemasa",
|
|
14
14
|
"label.start-time": "masa mula",
|
|
15
15
|
"label.end-time": "masa tamat",
|
|
16
|
-
"label.tact-timer-mask-color": "warna topeng"
|
|
16
|
+
"label.tact-timer-mask-color": "warna topeng",
|
|
17
|
+
"component.robot-arm": "lengan robot",
|
|
18
|
+
"label.style": "Gaya",
|
|
19
|
+
"label.chain-preset": "Pratetap Rantai",
|
|
20
|
+
"label.link-radius": "Jejari Pautan",
|
|
21
|
+
"label.gripper-type": "Jenis Penggenggam",
|
|
22
|
+
"label.show-reach-sphere": "Tunjukkan Jarak Capaian",
|
|
23
|
+
"component.spot": "tempat letak"
|
|
17
24
|
}
|
package/translations/zh.json
CHANGED
|
@@ -13,5 +13,12 @@
|
|
|
13
13
|
"label.show-timer": "显示计时器",
|
|
14
14
|
"label.start-time": "开始时间",
|
|
15
15
|
"label.end-time": "结束时间",
|
|
16
|
-
"label.tact-timer-mask-color": "掩码颜色"
|
|
16
|
+
"label.tact-timer-mask-color": "掩码颜色",
|
|
17
|
+
"component.robot-arm": "机器人臂",
|
|
18
|
+
"label.style": "样式",
|
|
19
|
+
"label.chain-preset": "关节配置",
|
|
20
|
+
"label.link-radius": "连杆半径",
|
|
21
|
+
"label.gripper-type": "夹爪类型",
|
|
22
|
+
"label.show-reach-sphere": "显示工作半径",
|
|
23
|
+
"component.spot": "放置点"
|
|
17
24
|
}
|