beckhoff-xts-viewer-3d 0.3.1 → 1.1.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/README.md CHANGED
@@ -29,17 +29,18 @@ import { XtsViewer3D } from 'beckhoff-xts-viewer-3d';
29
29
  moverType: 'AT9014_0055',
30
30
  parts: [
31
31
  {
32
+ objectId: 0,
32
33
  globalNumber: 0,
33
34
  index: 0,
34
35
  modules: [
35
- { moduleType: 'AT2001_0250' },
36
- { moduleType: 'AT2000_0250' },
37
- { moduleType: 'AT2050_0500' },
38
- { moduleType: 'AT2050_0501' },
39
- { moduleType: 'AT2001_0250' },
40
- { moduleType: 'AT2000_0250' },
41
- { moduleType: 'AT2050_0500' },
42
- { moduleType: 'AT2050_0501' },
36
+ { moduleType: 'AT2001_0250', globalNumber: 1 },
37
+ { moduleType: 'AT2000_0250', globalNumber: 2 },
38
+ { moduleType: 'AT2050_0500', globalNumber: 3 },
39
+ { moduleType: 'AT2050_0501', globalNumber: 4 },
40
+ { moduleType: 'AT2001_0250', globalNumber: 5 },
41
+ { moduleType: 'AT2000_0250', globalNumber: 6 },
42
+ { moduleType: 'AT2050_0500', globalNumber: 7 },
43
+ { moduleType: 'AT2050_0501', globalNumber: 8 },
43
44
  ],
44
45
  },
45
46
  ],
@@ -137,8 +138,10 @@ reflections, ACES tone mapping and anisotropic textures are on by default.
137
138
  - **CAD ViewCube** — opt-in, snap to standard orthogonal views.
138
139
  - **Imperative ref API** — `zoomToFit` / `setCamera` / `getCamera` /
139
140
  `getMoverWorldTransform` / `getBoundingBox` / `exportModel` /
140
- `exportScreenshot` / `setMoverPosition(s)` / `getMoverPosition` /
141
- `checkMoverCollisions` / `reloadAssets`.
141
+ `exportScreenshot` / `setMoverPosition(s)` (Record or
142
+ `MoverPositionEntry[]` indexed by `moverIndex`) / `getMoverPosition` /
143
+ `setModuleStatuses` / `clearModuleStatuses` / `checkMoverCollisions` /
144
+ `reloadAssets`.
142
145
  - **Designed for scale** — the `⚡ Perf stress` demo runs three ovals × 250
143
146
  movers each (= 750 simultaneously animated movers) without React commits
144
147
  during the steady state.
@@ -526,16 +529,6 @@ Webpack / Next.js: alias `three` to your root `node_modules/three`. See
526
529
  for the full snippets and how to bust Vite's pre-bundle cache after the
527
530
  change.
528
531
 
529
- ### Known harmless console warnings
530
-
531
- - **`THREE.Clock: This module has been deprecated. Please use THREE.Timer instead.`**
532
- — emitted by `@react-three/fiber`'s root-store factory
533
- (`new THREE.Clock()` inside its internal `events-*.esm.js`). three.js
534
- deprecated `Clock` in r183; functional behaviour is unchanged and
535
- frame timing still works correctly. The warning will disappear once
536
- r3f migrates its root store to `THREE.Timer`. Not actionable on the
537
- consumer side; safe to ignore.
538
-
539
532
  ---
540
533
 
541
534
  ## Documentation