beckhoff-xts-viewer-3d 5.1.0 → 5.2.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
@@ -230,11 +230,22 @@ JSON sidecars:
230
230
 
231
231
  ```bash
232
232
  pnpm assets:convert # STP → GLB
233
+ pnpm assets:optimize # meshopt compression
234
+ pnpm assets:apply-materials # CAD placeholder colours → real PBR materials
235
+ pnpm assets:verify-colors # no authored STEP colour got lost
233
236
  pnpm assets:inspect # refresh docs/data/glb-inspection.json
234
237
  pnpm assets:generate-sidecars # module .meta.json origin corrections
235
238
  pnpm assets:generate-mover-sidecars
236
239
  ```
237
240
 
241
+ The CAD sources carry Autodesk Inventor placeholder colours, not product
242
+ colours — an AT2 motor module's whole solid is styled #696969 — so
243
+ `assets:apply-materials` maps them onto the named PBR library in
244
+ `scripts/materialLibrary.mjs` (anodised aluminium, stainless steel, hardened
245
+ rail steel, plastics, printed labels, LEDs). It rewrites only the GLB's JSON
246
+ chunk, leaving geometry and the compressed binary chunk byte-identical, and is
247
+ idempotent. See [docs/ADDING-A-MODULE.md](docs/ADDING-A-MODULE.md).
248
+
238
249
  The generators skip existing files so hand-tuned calibration is never
239
250
  overwritten; pass `--force` to regenerate. The release pipeline never runs them
240
251
  and reads the sidecars read-only.