@operato/scene-wheel-sorter 10.0.0-beta.15 → 10.0.0-beta.22
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 +50 -20
- package/dist/index.d.ts +2 -5
- package/dist/index.js +13 -5
- package/dist/index.js.map +1 -1
- package/dist/templates/index.d.ts +192 -19
- package/dist/templates/index.js +13 -122
- package/dist/templates/index.js.map +1 -1
- package/package.json +5 -3
- package/dist/conveyor-3d.d.ts +0 -12
- package/dist/conveyor-3d.js +0 -316
- package/dist/conveyor-3d.js.map +0 -1
- package/dist/conveyor-join-3d.d.ts +0 -13
- package/dist/conveyor-join-3d.js +0 -289
- package/dist/conveyor-join-3d.js.map +0 -1
- package/dist/conveyor-join-trapezoid-3d.d.ts +0 -14
- package/dist/conveyor-join-trapezoid-3d.js +0 -235
- package/dist/conveyor-join-trapezoid-3d.js.map +0 -1
- package/dist/conveyor-join-trapezoid.d.ts +0 -13
- package/dist/conveyor-join-trapezoid.js +0 -78
- package/dist/conveyor-join-trapezoid.js.map +0 -1
- package/dist/conveyor-join.d.ts +0 -23
- package/dist/conveyor-join.js +0 -233
- package/dist/conveyor-join.js.map +0 -1
- package/dist/conveyor.d.ts +0 -14
- package/dist/conveyor.js +0 -101
- package/dist/conveyor.js.map +0 -1
- package/dist/mixin-conveyor.d.ts +0 -16
- package/dist/mixin-conveyor.js +0 -200
- package/dist/mixin-conveyor.js.map +0 -1
- package/dist/mixin-scanner.d.ts +0 -15
- package/dist/mixin-scanner.js +0 -99
- package/dist/mixin-scanner.js.map +0 -1
- package/dist/mixin-wheel-sorter.d.ts +0 -12
- package/dist/mixin-wheel-sorter.js +0 -92
- package/dist/mixin-wheel-sorter.js.map +0 -1
- package/dist/scanner-3d.d.ts +0 -8
- package/dist/scanner-3d.js +0 -139
- package/dist/scanner-3d.js.map +0 -1
- package/dist/scanner.d.ts +0 -11
- package/dist/scanner.js +0 -61
- package/dist/scanner.js.map +0 -1
- package/dist/wheel-sorter-3d.d.ts +0 -9
- package/dist/wheel-sorter-3d.js +0 -184
- package/dist/wheel-sorter-3d.js.map +0 -1
- package/dist/wheel-sorter.d.ts +0 -17
- package/dist/wheel-sorter.js +0 -69
- package/dist/wheel-sorter.js.map +0 -1
- package/helps/scene/component/conveyor-join-trapezoid.ko.md +0 -6
- package/helps/scene/component/conveyor-join-trapezoid.md +0 -6
- package/helps/scene/component/conveyor-join-trapezoid.zh.md +0 -6
- package/helps/scene/component/conveyor-join.ko.md +0 -6
- package/helps/scene/component/conveyor-join.md +0 -6
- package/helps/scene/component/conveyor-join.zh.md +0 -6
- package/helps/scene/component/conveyor.ko.md +0 -6
- package/helps/scene/component/conveyor.md +0 -6
- package/helps/scene/component/conveyor.zh.md +0 -6
- package/helps/scene/component/wheel-sorter.ko.md +0 -6
- package/helps/scene/component/wheel-sorter.md +0 -6
- package/helps/scene/component/wheel-sorter.zh.md +0 -6
- package/icons/conveyor-belt.png +0 -0
- package/icons/conveyor-join-trapezoid.png +0 -0
- package/icons/conveyor-join.png +0 -0
- package/icons/conveyor.png +0 -0
- package/icons/scanner.png +0 -0
- package/icons/wheel-sorter.png +0 -0
package/README.md
CHANGED
|
@@ -1,33 +1,63 @@
|
|
|
1
|
-
#
|
|
1
|
+
# @operato/scene-wheel-sorter — DEPRECATED
|
|
2
2
|
|
|
3
|
-
|
|
3
|
+
> **This package is deprecated.** Its components have moved into domain-specific packages.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
## New locations
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
| Component | New package |
|
|
8
|
+
|---|---|
|
|
9
|
+
| `Conveyor` / `ConveyorJoin` / `ConveyorJoinTrapezoid` / `WheelSorter` | `@operato/scene-conveyance` |
|
|
10
|
+
| `Scanner` | `@operato/scene-sensing` |
|
|
8
11
|
|
|
9
|
-
|
|
10
|
-
`$ yarn serve:dev`
|
|
12
|
+
## Migration
|
|
11
13
|
|
|
12
|
-
|
|
14
|
+
Old:
|
|
15
|
+
```ts
|
|
16
|
+
import { Conveyor, Scanner } from '@operato/scene-wheel-sorter'
|
|
17
|
+
```
|
|
13
18
|
|
|
14
|
-
|
|
15
|
-
|
|
19
|
+
New:
|
|
20
|
+
```ts
|
|
21
|
+
import { Conveyor } from '@operato/scene-conveyance'
|
|
22
|
+
import { Scanner } from '@operato/scene-sensing'
|
|
23
|
+
```
|
|
16
24
|
|
|
17
|
-
##
|
|
25
|
+
## Compatibility
|
|
18
26
|
|
|
19
|
-
|
|
27
|
+
This package is a **re-export-only layer** — it depends on the two new packages and re-exports their components so existing imports keep working. When using things-scene auto-registration, add the two new packages directly to your dependencies.
|
|
20
28
|
|
|
21
|
-
|
|
29
|
+
This compatibility layer will be removed after a minor release or two.
|
|
22
30
|
|
|
23
|
-
|
|
31
|
+
<!-- AUTOGEN_BEGIN: do not edit between markers (run scripts/regenerate-readmes.mjs to update) -->
|
|
24
32
|
|
|
25
|
-
|
|
26
|
-
| ---- | ------------------------------- | -------------- | ------ |
|
|
27
|
-
| UMD | things-scene-wheel-sorter.js | modern browser | 0 |
|
|
28
|
-
| UMD | things-scene-wheel-sorter-ie.js | ie 11 | 0 |
|
|
29
|
-
| ESM | things-scene-wheel-sorter.mjs | modern browser | 0 |
|
|
33
|
+
## Components
|
|
30
34
|
|
|
31
|
-
|
|
35
|
+
- `Conveyor` _(re-exported from `@operato/scene-conveyance`)_
|
|
36
|
+
- `ConveyorJoin` _(re-exported from `@operato/scene-conveyance`)_
|
|
37
|
+
- `ConveyorJoinTrapezoid` _(re-exported from `@operato/scene-conveyance`)_
|
|
38
|
+
- `WheelSorter` _(re-exported from `@operato/scene-conveyance`)_
|
|
39
|
+
- `Scanner` _(re-exported from `@operato/scene-sensing`)_
|
|
32
40
|
|
|
33
|
-
|
|
41
|
+
## Install
|
|
42
|
+
|
|
43
|
+
```bash
|
|
44
|
+
yarn add @operato/scene-wheel-sorter
|
|
45
|
+
```
|
|
46
|
+
|
|
47
|
+
## Usage
|
|
48
|
+
|
|
49
|
+
```ts
|
|
50
|
+
import { Conveyor, ConveyorJoin, ConveyorJoinTrapezoid, WheelSorter, Scanner } from '@operato/scene-wheel-sorter'
|
|
51
|
+
```
|
|
52
|
+
|
|
53
|
+
## Build
|
|
54
|
+
|
|
55
|
+
```bash
|
|
56
|
+
yarn build
|
|
57
|
+
```
|
|
58
|
+
|
|
59
|
+
Output: ESM module at `dist/index.js` (single bundle, no UMD/IE legacy).
|
|
60
|
+
|
|
61
|
+
_Version: 10.0.0-beta.16_
|
|
62
|
+
|
|
63
|
+
<!-- AUTOGEN_END -->
|
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,2 @@
|
|
|
1
|
-
export {
|
|
2
|
-
export {
|
|
3
|
-
export { default as ConveyorJoinTrapezoid } from './conveyor-join-trapezoid.js';
|
|
4
|
-
export { default as WheelSorter } from './wheel-sorter.js';
|
|
5
|
-
export { default as Scanner } from './scanner.js';
|
|
1
|
+
export { Conveyor, ConveyorJoin, ConveyorJoinTrapezoid, WheelSorter } from '@operato/scene-conveyance';
|
|
2
|
+
export { Scanner } from '@operato/scene-sensing';
|
package/dist/index.js
CHANGED
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
/*
|
|
2
2
|
* Copyright © HatioLab Inc. All rights reserved.
|
|
3
|
+
*
|
|
4
|
+
* @deprecated 컴포넌트들이 도메인별 패키지로 이전됨. 호환성 유지를 위한 re-export 층.
|
|
5
|
+
*
|
|
6
|
+
* 새 import 경로:
|
|
7
|
+
* - Conveyor / ConveyorJoin / ConveyorJoinTrapezoid / WheelSorter
|
|
8
|
+
* → '@operato/scene-conveyance'
|
|
9
|
+
* - Scanner
|
|
10
|
+
* → '@operato/scene-sensing'
|
|
11
|
+
*
|
|
12
|
+
* 본 패키지 (`@operato/scene-wheel-sorter`) 는 호환성 유지 목적으로 남아있음.
|
|
13
|
+
* 새 코드는 도메인 패키지를 직접 import 할 것.
|
|
3
14
|
*/
|
|
4
|
-
export {
|
|
5
|
-
export {
|
|
6
|
-
export { default as ConveyorJoinTrapezoid } from './conveyor-join-trapezoid.js';
|
|
7
|
-
export { default as WheelSorter } from './wheel-sorter.js';
|
|
8
|
-
export { default as Scanner } from './scanner.js';
|
|
15
|
+
export { Conveyor, ConveyorJoin, ConveyorJoinTrapezoid, WheelSorter } from '@operato/scene-conveyance';
|
|
16
|
+
export { Scanner } from '@operato/scene-sensing';
|
|
9
17
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AACH,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,qBAAqB,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAA;AACtG,OAAO,EAAE,OAAO,EAAE,MAAM,wBAAwB,CAAA","sourcesContent":["/*\n * Copyright © HatioLab Inc. All rights reserved.\n *\n * @deprecated 컴포넌트들이 도메인별 패키지로 이전됨. 호환성 유지를 위한 re-export 층.\n *\n * 새 import 경로:\n * - Conveyor / ConveyorJoin / ConveyorJoinTrapezoid / WheelSorter\n * → '@operato/scene-conveyance'\n * - Scanner\n * → '@operato/scene-sensing'\n *\n * 본 패키지 (`@operato/scene-wheel-sorter`) 는 호환성 유지 목적으로 남아있음.\n * 새 코드는 도메인 패키지를 직접 import 할 것.\n */\nexport { Conveyor, ConveyorJoin, ConveyorJoinTrapezoid, WheelSorter } from '@operato/scene-conveyance'\nexport { Scanner } from '@operato/scene-sensing'\n"]}
|
|
@@ -22,9 +22,17 @@ declare const _default: ({
|
|
|
22
22
|
startAngle?: undefined;
|
|
23
23
|
endAngle?: undefined;
|
|
24
24
|
ratio?: undefined;
|
|
25
|
-
fillStyle?: undefined;
|
|
26
25
|
path?: undefined;
|
|
26
|
+
fillStyle?: undefined;
|
|
27
27
|
tilt?: undefined;
|
|
28
|
+
carrierPitch?: undefined;
|
|
29
|
+
carrierLength?: undefined;
|
|
30
|
+
speed?: undefined;
|
|
31
|
+
phaseOffset?: undefined;
|
|
32
|
+
direction?: undefined;
|
|
33
|
+
status?: undefined;
|
|
34
|
+
animated?: undefined;
|
|
35
|
+
sideGuards?: undefined;
|
|
28
36
|
};
|
|
29
37
|
} | {
|
|
30
38
|
type: string;
|
|
@@ -50,9 +58,17 @@ declare const _default: ({
|
|
|
50
58
|
startAngle?: undefined;
|
|
51
59
|
endAngle?: undefined;
|
|
52
60
|
ratio?: undefined;
|
|
53
|
-
fillStyle?: undefined;
|
|
54
61
|
path?: undefined;
|
|
62
|
+
fillStyle?: undefined;
|
|
55
63
|
tilt?: undefined;
|
|
64
|
+
carrierPitch?: undefined;
|
|
65
|
+
carrierLength?: undefined;
|
|
66
|
+
speed?: undefined;
|
|
67
|
+
phaseOffset?: undefined;
|
|
68
|
+
direction?: undefined;
|
|
69
|
+
status?: undefined;
|
|
70
|
+
animated?: undefined;
|
|
71
|
+
sideGuards?: undefined;
|
|
56
72
|
};
|
|
57
73
|
} | {
|
|
58
74
|
type: string;
|
|
@@ -78,9 +94,17 @@ declare const _default: ({
|
|
|
78
94
|
height?: undefined;
|
|
79
95
|
lineStyle?: undefined;
|
|
80
96
|
conveyorType?: undefined;
|
|
81
|
-
fillStyle?: undefined;
|
|
82
97
|
path?: undefined;
|
|
98
|
+
fillStyle?: undefined;
|
|
83
99
|
tilt?: undefined;
|
|
100
|
+
carrierPitch?: undefined;
|
|
101
|
+
carrierLength?: undefined;
|
|
102
|
+
speed?: undefined;
|
|
103
|
+
phaseOffset?: undefined;
|
|
104
|
+
direction?: undefined;
|
|
105
|
+
status?: undefined;
|
|
106
|
+
animated?: undefined;
|
|
107
|
+
sideGuards?: undefined;
|
|
84
108
|
};
|
|
85
109
|
} | {
|
|
86
110
|
type: string;
|
|
@@ -89,15 +113,19 @@ declare const _default: ({
|
|
|
89
113
|
icon: string;
|
|
90
114
|
model: {
|
|
91
115
|
type: string;
|
|
92
|
-
top: number;
|
|
93
|
-
left: number;
|
|
94
|
-
width: number;
|
|
95
|
-
height: number;
|
|
96
116
|
lineWidth: number;
|
|
117
|
+
path: {
|
|
118
|
+
x: number;
|
|
119
|
+
y: number;
|
|
120
|
+
}[];
|
|
97
121
|
strokeStyle: string;
|
|
98
122
|
fillStyle: string;
|
|
99
123
|
value: number;
|
|
100
124
|
rollWidth: number;
|
|
125
|
+
top?: undefined;
|
|
126
|
+
left?: undefined;
|
|
127
|
+
width?: undefined;
|
|
128
|
+
height?: undefined;
|
|
101
129
|
lineStyle?: undefined;
|
|
102
130
|
conveyorType?: undefined;
|
|
103
131
|
cx?: undefined;
|
|
@@ -107,8 +135,15 @@ declare const _default: ({
|
|
|
107
135
|
startAngle?: undefined;
|
|
108
136
|
endAngle?: undefined;
|
|
109
137
|
ratio?: undefined;
|
|
110
|
-
path?: undefined;
|
|
111
138
|
tilt?: undefined;
|
|
139
|
+
carrierPitch?: undefined;
|
|
140
|
+
carrierLength?: undefined;
|
|
141
|
+
speed?: undefined;
|
|
142
|
+
phaseOffset?: undefined;
|
|
143
|
+
direction?: undefined;
|
|
144
|
+
status?: undefined;
|
|
145
|
+
animated?: undefined;
|
|
146
|
+
sideGuards?: undefined;
|
|
112
147
|
};
|
|
113
148
|
} | {
|
|
114
149
|
type: string;
|
|
@@ -117,20 +152,125 @@ declare const _default: ({
|
|
|
117
152
|
icon: string;
|
|
118
153
|
model: {
|
|
119
154
|
type: string;
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
}[];
|
|
155
|
+
top: number;
|
|
156
|
+
left: number;
|
|
157
|
+
width: number;
|
|
158
|
+
height: number;
|
|
125
159
|
strokeStyle: string;
|
|
126
160
|
fillStyle: string;
|
|
161
|
+
lineWidth: number;
|
|
127
162
|
value: number;
|
|
128
|
-
|
|
163
|
+
tilt: number;
|
|
164
|
+
lineStyle?: undefined;
|
|
165
|
+
rollWidth?: undefined;
|
|
166
|
+
conveyorType?: undefined;
|
|
167
|
+
cx?: undefined;
|
|
168
|
+
cy?: undefined;
|
|
169
|
+
rx?: undefined;
|
|
170
|
+
ry?: undefined;
|
|
171
|
+
startAngle?: undefined;
|
|
172
|
+
endAngle?: undefined;
|
|
173
|
+
ratio?: undefined;
|
|
174
|
+
path?: undefined;
|
|
175
|
+
carrierPitch?: undefined;
|
|
176
|
+
carrierLength?: undefined;
|
|
177
|
+
speed?: undefined;
|
|
178
|
+
phaseOffset?: undefined;
|
|
179
|
+
direction?: undefined;
|
|
180
|
+
status?: undefined;
|
|
181
|
+
animated?: undefined;
|
|
182
|
+
sideGuards?: undefined;
|
|
183
|
+
};
|
|
184
|
+
} | {
|
|
185
|
+
type: string;
|
|
186
|
+
description: string;
|
|
187
|
+
group: string;
|
|
188
|
+
icon: string;
|
|
189
|
+
model: {
|
|
190
|
+
type: string;
|
|
191
|
+
top: number;
|
|
192
|
+
left: number;
|
|
193
|
+
width: number;
|
|
194
|
+
height: number;
|
|
195
|
+
carrierPitch: number;
|
|
196
|
+
carrierLength: number;
|
|
197
|
+
speed: number;
|
|
198
|
+
phaseOffset: number;
|
|
199
|
+
direction: string;
|
|
200
|
+
status: string;
|
|
201
|
+
animated: boolean;
|
|
202
|
+
strokeStyle?: undefined;
|
|
203
|
+
lineWidth?: undefined;
|
|
204
|
+
lineStyle?: undefined;
|
|
205
|
+
value?: undefined;
|
|
206
|
+
rollWidth?: undefined;
|
|
207
|
+
conveyorType?: undefined;
|
|
208
|
+
cx?: undefined;
|
|
209
|
+
cy?: undefined;
|
|
210
|
+
rx?: undefined;
|
|
211
|
+
ry?: undefined;
|
|
212
|
+
startAngle?: undefined;
|
|
213
|
+
endAngle?: undefined;
|
|
214
|
+
ratio?: undefined;
|
|
215
|
+
path?: undefined;
|
|
216
|
+
fillStyle?: undefined;
|
|
217
|
+
tilt?: undefined;
|
|
218
|
+
sideGuards?: undefined;
|
|
219
|
+
};
|
|
220
|
+
} | {
|
|
221
|
+
type: string;
|
|
222
|
+
description: string;
|
|
223
|
+
group: string;
|
|
224
|
+
icon: string;
|
|
225
|
+
model: {
|
|
226
|
+
type: string;
|
|
227
|
+
cx: number;
|
|
228
|
+
cy: number;
|
|
229
|
+
rx: number;
|
|
230
|
+
ry: number;
|
|
231
|
+
ratio: number;
|
|
232
|
+
startAngle: number;
|
|
233
|
+
endAngle: number;
|
|
234
|
+
carrierPitch: number;
|
|
235
|
+
carrierLength: number;
|
|
236
|
+
speed: number;
|
|
237
|
+
phaseOffset: number;
|
|
238
|
+
direction: string;
|
|
239
|
+
status: string;
|
|
240
|
+
animated: boolean;
|
|
129
241
|
top?: undefined;
|
|
130
242
|
left?: undefined;
|
|
131
243
|
width?: undefined;
|
|
132
244
|
height?: undefined;
|
|
245
|
+
strokeStyle?: undefined;
|
|
246
|
+
lineWidth?: undefined;
|
|
133
247
|
lineStyle?: undefined;
|
|
248
|
+
value?: undefined;
|
|
249
|
+
rollWidth?: undefined;
|
|
250
|
+
conveyorType?: undefined;
|
|
251
|
+
path?: undefined;
|
|
252
|
+
fillStyle?: undefined;
|
|
253
|
+
tilt?: undefined;
|
|
254
|
+
sideGuards?: undefined;
|
|
255
|
+
};
|
|
256
|
+
} | {
|
|
257
|
+
type: string;
|
|
258
|
+
description: string;
|
|
259
|
+
group: string;
|
|
260
|
+
icon: string;
|
|
261
|
+
model: {
|
|
262
|
+
type: string;
|
|
263
|
+
top: number;
|
|
264
|
+
left: number;
|
|
265
|
+
width: number;
|
|
266
|
+
height: number;
|
|
267
|
+
sideGuards: boolean;
|
|
268
|
+
status: string;
|
|
269
|
+
strokeStyle?: undefined;
|
|
270
|
+
lineWidth?: undefined;
|
|
271
|
+
lineStyle?: undefined;
|
|
272
|
+
value?: undefined;
|
|
273
|
+
rollWidth?: undefined;
|
|
134
274
|
conveyorType?: undefined;
|
|
135
275
|
cx?: undefined;
|
|
136
276
|
cy?: undefined;
|
|
@@ -139,7 +279,15 @@ declare const _default: ({
|
|
|
139
279
|
startAngle?: undefined;
|
|
140
280
|
endAngle?: undefined;
|
|
141
281
|
ratio?: undefined;
|
|
282
|
+
path?: undefined;
|
|
283
|
+
fillStyle?: undefined;
|
|
142
284
|
tilt?: undefined;
|
|
285
|
+
carrierPitch?: undefined;
|
|
286
|
+
carrierLength?: undefined;
|
|
287
|
+
speed?: undefined;
|
|
288
|
+
phaseOffset?: undefined;
|
|
289
|
+
direction?: undefined;
|
|
290
|
+
animated?: undefined;
|
|
143
291
|
};
|
|
144
292
|
} | {
|
|
145
293
|
type: string;
|
|
@@ -152,12 +300,11 @@ declare const _default: ({
|
|
|
152
300
|
left: number;
|
|
153
301
|
width: number;
|
|
154
302
|
height: number;
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
lineWidth
|
|
158
|
-
value: number;
|
|
159
|
-
tilt: number;
|
|
303
|
+
status: string;
|
|
304
|
+
strokeStyle?: undefined;
|
|
305
|
+
lineWidth?: undefined;
|
|
160
306
|
lineStyle?: undefined;
|
|
307
|
+
value?: undefined;
|
|
161
308
|
rollWidth?: undefined;
|
|
162
309
|
conveyorType?: undefined;
|
|
163
310
|
cx?: undefined;
|
|
@@ -168,6 +315,32 @@ declare const _default: ({
|
|
|
168
315
|
endAngle?: undefined;
|
|
169
316
|
ratio?: undefined;
|
|
170
317
|
path?: undefined;
|
|
318
|
+
fillStyle?: undefined;
|
|
319
|
+
tilt?: undefined;
|
|
320
|
+
carrierPitch?: undefined;
|
|
321
|
+
carrierLength?: undefined;
|
|
322
|
+
speed?: undefined;
|
|
323
|
+
phaseOffset?: undefined;
|
|
324
|
+
direction?: undefined;
|
|
325
|
+
animated?: undefined;
|
|
326
|
+
sideGuards?: undefined;
|
|
327
|
+
};
|
|
328
|
+
} | {
|
|
329
|
+
type: string;
|
|
330
|
+
description: string;
|
|
331
|
+
group: string;
|
|
332
|
+
icon: string;
|
|
333
|
+
model: {
|
|
334
|
+
type: string;
|
|
335
|
+
top: number;
|
|
336
|
+
left: number;
|
|
337
|
+
width: number;
|
|
338
|
+
height: number;
|
|
339
|
+
lineWidth: number;
|
|
340
|
+
strokeStyle: string;
|
|
341
|
+
fillStyle: string;
|
|
342
|
+
value: number;
|
|
343
|
+
rollWidth: number;
|
|
171
344
|
};
|
|
172
345
|
})[];
|
|
173
346
|
export default _default;
|
package/dist/templates/index.js
CHANGED
|
@@ -1,123 +1,14 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
type: 'conveyor',
|
|
15
|
-
top: 350,
|
|
16
|
-
left: 100,
|
|
17
|
-
width: 500,
|
|
18
|
-
height: 100,
|
|
19
|
-
strokeStyle: '#999',
|
|
20
|
-
lineWidth: 1,
|
|
21
|
-
lineStyle: '#999',
|
|
22
|
-
value: 1,
|
|
23
|
-
rollWidth: 3
|
|
24
|
-
}
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
type: 'conveyor-belt',
|
|
28
|
-
description: 'belt type conveyor',
|
|
29
|
-
group: 'warehouse',
|
|
30
|
-
icon: conveyorBelt,
|
|
31
|
-
model: {
|
|
32
|
-
type: 'conveyor-belt',
|
|
33
|
-
top: 500,
|
|
34
|
-
left: 100,
|
|
35
|
-
width: 500,
|
|
36
|
-
height: 100,
|
|
37
|
-
strokeStyle: '#999',
|
|
38
|
-
lineWidth: 1,
|
|
39
|
-
lineStyle: '#999',
|
|
40
|
-
value: 1,
|
|
41
|
-
conveyorType: 1,
|
|
42
|
-
rollWidth: 3
|
|
43
|
-
}
|
|
44
|
-
},
|
|
45
|
-
{
|
|
46
|
-
type: 'conveyor-join',
|
|
47
|
-
description: 'join shaped conveyor',
|
|
48
|
-
group: 'warehouse',
|
|
49
|
-
icon: conveyorJoin,
|
|
50
|
-
model: {
|
|
51
|
-
type: 'conveyor-join',
|
|
52
|
-
cx: 100,
|
|
53
|
-
cy: 150,
|
|
54
|
-
rx: 100,
|
|
55
|
-
ry: 100,
|
|
56
|
-
startAngle: -Math.PI / 4,
|
|
57
|
-
endAngle: Math.PI / 4,
|
|
58
|
-
ratio: 34,
|
|
59
|
-
lineWidth: 1,
|
|
60
|
-
strokeStyle: 'black',
|
|
61
|
-
value: 2,
|
|
62
|
-
rollWidth: 3
|
|
63
|
-
}
|
|
64
|
-
},
|
|
65
|
-
{
|
|
66
|
-
type: 'scanner',
|
|
67
|
-
description: 'box scanner',
|
|
68
|
-
group: 'warehouse',
|
|
69
|
-
icon: scanner,
|
|
70
|
-
model: {
|
|
71
|
-
type: 'scanner',
|
|
72
|
-
top: 100,
|
|
73
|
-
left: 450,
|
|
74
|
-
width: 150,
|
|
75
|
-
height: 100,
|
|
76
|
-
lineWidth: 1,
|
|
77
|
-
strokeStyle: '#999',
|
|
78
|
-
fillStyle: 'transparent',
|
|
79
|
-
value: 2,
|
|
80
|
-
rollWidth: 3
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
{
|
|
84
|
-
type: 'conveyor-join-trapezoid',
|
|
85
|
-
description: 'conveyor join trapezoid',
|
|
86
|
-
group: 'warehouse',
|
|
87
|
-
icon: conveyorJoinTrapezoid,
|
|
88
|
-
model: {
|
|
89
|
-
type: 'conveyor-join-trapezoid',
|
|
90
|
-
lineWidth: 1,
|
|
91
|
-
path: [
|
|
92
|
-
{ x: 50, y: 150 },
|
|
93
|
-
{ x: 150, y: 150 },
|
|
94
|
-
{ x: 150, y: 250 },
|
|
95
|
-
{ x: 100, y: 300 },
|
|
96
|
-
{ x: 50, y: 250 }
|
|
97
|
-
],
|
|
98
|
-
strokeStyle: '#999',
|
|
99
|
-
fillStyle: 'transparent',
|
|
100
|
-
value: 3,
|
|
101
|
-
rollWidth: 10
|
|
102
|
-
}
|
|
103
|
-
},
|
|
104
|
-
{
|
|
105
|
-
type: 'wheel-sorter',
|
|
106
|
-
description: 'wheel sorter',
|
|
107
|
-
group: 'warehouse',
|
|
108
|
-
icon: wheelSorter,
|
|
109
|
-
model: {
|
|
110
|
-
type: 'wheel-sorter',
|
|
111
|
-
top: 50,
|
|
112
|
-
left: 200,
|
|
113
|
-
width: 200,
|
|
114
|
-
height: 200,
|
|
115
|
-
strokeStyle: '#999',
|
|
116
|
-
fillStyle: 'transparent',
|
|
117
|
-
lineWidth: 2,
|
|
118
|
-
value: 1,
|
|
119
|
-
tilt: 1
|
|
120
|
-
}
|
|
121
|
-
}
|
|
122
|
-
];
|
|
1
|
+
/*
|
|
2
|
+
* @deprecated templates 가 도메인별 패키지로 이전됨. 호환성 유지를 위한 re-export.
|
|
3
|
+
*
|
|
4
|
+
* 새 위치:
|
|
5
|
+
* - Conveyor / Sorter 류 templates → '@operato/scene-conveyance'
|
|
6
|
+
* - Scanner templates → '@operato/scene-sensing'
|
|
7
|
+
*
|
|
8
|
+
* things-scene 의 자동 등록을 사용한다면 두 새 패키지를 dependency 에 추가하면
|
|
9
|
+
* templates 가 자동 수집됨. 본 호환층은 import 변경이 어려운 기존 코드를 위함.
|
|
10
|
+
*/
|
|
11
|
+
import conveyanceTemplates from '@operato/scene-conveyance/dist/templates/index.js';
|
|
12
|
+
import sensingTemplates from '@operato/scene-sensing/dist/templates/index.js';
|
|
13
|
+
export default [...conveyanceTemplates, ...sensingTemplates];
|
|
123
14
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/templates/index.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/templates/index.ts"],"names":[],"mappings":"AAAA;;;;;;;;;GASG;AACH,OAAO,mBAAmB,MAAM,mDAAmD,CAAA;AACnF,OAAO,gBAAgB,MAAM,gDAAgD,CAAA;AAE7E,eAAe,CAAC,GAAG,mBAAmB,EAAE,GAAG,gBAAgB,CAAC,CAAA","sourcesContent":["/*\n * @deprecated templates 가 도메인별 패키지로 이전됨. 호환성 유지를 위한 re-export.\n *\n * 새 위치:\n * - Conveyor / Sorter 류 templates → '@operato/scene-conveyance'\n * - Scanner templates → '@operato/scene-sensing'\n *\n * things-scene 의 자동 등록을 사용한다면 두 새 패키지를 dependency 에 추가하면\n * templates 가 자동 수집됨. 본 호환층은 import 변경이 어려운 기존 코드를 위함.\n */\nimport conveyanceTemplates from '@operato/scene-conveyance/dist/templates/index.js'\nimport sensingTemplates from '@operato/scene-sensing/dist/templates/index.js'\n\nexport default [...conveyanceTemplates, ...sensingTemplates]\n"]}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@operato/scene-wheel-sorter",
|
|
3
|
-
"description": "
|
|
3
|
+
"description": "[DEPRECATED] Re-export layer for backwards compat. Use @operato/scene-conveyance and @operato/scene-sensing directly.",
|
|
4
4
|
"author": "heartyoh",
|
|
5
|
-
"version": "10.0.0-beta.
|
|
5
|
+
"version": "10.0.0-beta.22",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"main": "dist/index.js",
|
|
8
8
|
"module": "dist/index.js",
|
|
@@ -29,6 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@hatiolab/things-scene": "^10.0.0-beta.1",
|
|
32
|
+
"@operato/scene-conveyance": "^10.0.0-beta.22",
|
|
33
|
+
"@operato/scene-sensing": "^10.0.0-beta.22",
|
|
32
34
|
"three": "^0.183.0"
|
|
33
35
|
},
|
|
34
36
|
"devDependencies": {
|
|
@@ -60,5 +62,5 @@
|
|
|
60
62
|
"prettier --write"
|
|
61
63
|
]
|
|
62
64
|
},
|
|
63
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "f48e52f4f5fdc30ec06af9da7cf253f6e29cfb0e"
|
|
64
66
|
}
|
package/dist/conveyor-3d.d.ts
DELETED
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { RealObjectGroup } from '@hatiolab/things-scene';
|
|
2
|
-
export declare class Conveyor3D extends RealObjectGroup {
|
|
3
|
-
get effectiveDepth(): number;
|
|
4
|
-
build(): void;
|
|
5
|
-
private buildRollers;
|
|
6
|
-
private buildBelt;
|
|
7
|
-
/** Control box (motor/controller housing) + status indicator light */
|
|
8
|
-
private buildControlBox;
|
|
9
|
-
updateDimension(): void;
|
|
10
|
-
onchange(after: Record<string, unknown>, before: Record<string, unknown>): void;
|
|
11
|
-
updateAlpha(): void;
|
|
12
|
-
}
|