allyhub 0.2.0-next.1 → 0.2.0-next.2
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/client.d.ts +13 -0
- package/dist/commands/add.js +5 -5
- package/dist/lent/model.d.ts +2 -0
- package/dist/lent/scenery-host-layer.d.ts +2 -0
- package/editor-app/view.html +4 -4
- package/editor-web/assets/chevron-left-BWWKfQPt.js +1 -0
- package/editor-web/assets/{chevron-up-lWCKw7jZ.js → chevron-up-DdzgESXy.js} +1 -1
- package/editor-web/assets/{dist-CmlFikE4.js → dist-CiIDdJZw.js} +1 -1
- package/editor-web/assets/{dist-Cf-s-WVX.js → dist-DlzWTZjN.js} +4 -4
- package/editor-web/assets/dist-DqFDRJ1S.js +8 -0
- package/editor-web/assets/{dist-BcITcjpx.js → dist-ZLZyLIPV.js} +4 -4
- package/editor-web/assets/{floating-ui.react-dom-CItxQagi.js → floating-ui.react-dom-BrYYB6DH.js} +1 -1
- package/editor-web/assets/index-DRbemuuR.css +2 -0
- package/editor-web/assets/index-DYkuF7LX.js +56 -0
- package/editor-web/assets/react-DIqYlXoe.js +61 -0
- package/editor-web/assets/{undo-2-C7Qog5D_.js → undo-2-oaEQLQ47.js} +1 -1
- package/editor-web/index.html +4 -4
- package/node_modules/@allyhub-next/audio/dist/at-cut.d.ts +52 -0
- package/node_modules/@allyhub-next/audio/dist/decode.d.ts +33 -0
- package/node_modules/@allyhub-next/audio/dist/envelope.d.ts +37 -0
- package/node_modules/@allyhub-next/audio/dist/index.d.ts +17 -0
- package/node_modules/@allyhub-next/audio/dist/levels.d.ts +97 -0
- package/node_modules/@allyhub-next/audio/dist/master.d.ts +29 -0
- package/node_modules/@allyhub-next/audio/dist/music.d.ts +11 -0
- package/node_modules/@allyhub-next/audio/dist/node/decode.d.ts +39 -0
- package/node_modules/@allyhub-next/audio/dist/node/ebur128.d.ts +25 -0
- package/node_modules/@allyhub-next/audio/dist/node/ffmpeg.d.ts +31 -0
- package/node_modules/@allyhub-next/audio/dist/node/index.d.ts +8 -0
- package/node_modules/@allyhub-next/audio/dist/node/loudness.d.ts +18 -0
- package/node_modules/@allyhub-next/audio/dist/node/master.d.ts +42 -0
- package/node_modules/@allyhub-next/audio/dist/node/measure.d.ts +60 -0
- package/node_modules/@allyhub-next/audio/dist/node/mix.d.ts +31 -0
- package/node_modules/@allyhub-next/audio/dist/plan.d.ts +143 -0
- package/node_modules/@allyhub-next/audio/dist/recorded.d.ts +26 -0
- package/node_modules/@allyhub-next/audio/dist/recording/bandwidth.d.ts +47 -0
- package/node_modules/@allyhub-next/audio/dist/recording/chain.d.ts +89 -0
- package/node_modules/@allyhub-next/audio/dist/recording/dynamics.d.ts +64 -0
- package/node_modules/@allyhub-next/audio/dist/recording/fft.d.ts +26 -0
- package/node_modules/@allyhub-next/audio/dist/recording/filters.d.ts +42 -0
- package/node_modules/@allyhub-next/audio/dist/recording/fit.d.ts +56 -0
- package/node_modules/@allyhub-next/audio/dist/recording/index.d.ts +10 -0
- package/node_modules/@allyhub-next/audio/dist/recording/loudness.d.ts +12 -0
- package/node_modules/@allyhub-next/audio/dist/recording/measure.d.ts +67 -0
- package/node_modules/@allyhub-next/audio/dist/recording/mic.d.ts +32 -0
- package/node_modules/@allyhub-next/audio/dist/recording/noise.d.ts +27 -0
- package/node_modules/@allyhub-next/audio/dist/recording/presets.d.ts +64 -0
- package/node_modules/@allyhub-next/audio/dist/recording/room.d.ts +78 -0
- package/node_modules/@allyhub-next/audio/dist/recording/setup.d.ts +111 -0
- package/node_modules/@allyhub-next/audio/dist/recording/vec.d.ts +3 -0
- package/node_modules/@allyhub-next/audio/dist/render.d.ts +26 -0
- package/node_modules/@allyhub-next/audio/dist/sfx.d.ts +10 -0
- package/node_modules/@allyhub-next/audio/dist/shape.d.ts +118 -0
- package/node_modules/@allyhub-next/audio/dist/voice.d.ts +45 -0
- package/node_modules/@allyhub-next/audio/package.json +1 -1
- package/node_modules/@allyhub-next/browser/dist/browser.d.ts +24 -0
- package/node_modules/@allyhub-next/browser/dist/capture.d.ts +61 -0
- package/node_modules/@allyhub-next/browser/dist/cdp.d.ts +51 -0
- package/node_modules/@allyhub-next/browser/dist/flags.d.ts +13 -0
- package/node_modules/@allyhub-next/browser/dist/frames.d.ts +35 -0
- package/node_modules/@allyhub-next/browser/dist/html.d.ts +19 -0
- package/node_modules/@allyhub-next/browser/dist/index.d.ts +10 -0
- package/node_modules/@allyhub-next/browser/dist/launch.d.ts +35 -0
- package/node_modules/@allyhub-next/browser/dist/page.d.ts +67 -0
- package/node_modules/@allyhub-next/browser/dist/server.d.ts +26 -0
- package/node_modules/@allyhub-next/browser/package.json +1 -1
- package/node_modules/@allyhub-next/build/dist/code.d.ts +26 -0
- package/node_modules/@allyhub-next/build/dist/content.d.ts +35 -0
- package/node_modules/@allyhub-next/build/dist/data.d.ts +11 -0
- package/node_modules/@allyhub-next/build/dist/files.d.ts +2 -0
- package/node_modules/@allyhub-next/build/dist/fonts.d.ts +26 -0
- package/node_modules/@allyhub-next/build/dist/index.d.ts +20 -0
- package/node_modules/@allyhub-next/build/dist/matrix.d.ts +18 -0
- package/node_modules/@allyhub-next/build/dist/media.d.ts +10 -0
- package/node_modules/@allyhub-next/build/dist/messages.d.ts +48 -0
- package/node_modules/@allyhub-next/build/dist/meta-worker.d.ts +33 -0
- package/node_modules/@allyhub-next/build/dist/meta.d.ts +24 -0
- package/node_modules/@allyhub-next/build/dist/model-info.d.ts +6 -0
- package/node_modules/@allyhub-next/build/dist/move-refs.d.ts +16 -0
- package/node_modules/@allyhub-next/build/dist/places.d.ts +23 -0
- package/node_modules/@allyhub-next/build/dist/plugin.d.ts +31 -0
- package/node_modules/@allyhub-next/build/dist/prepare.d.ts +81 -0
- package/node_modules/@allyhub-next/build/dist/prepare.js +2 -2
- package/node_modules/@allyhub-next/build/dist/scan.d.ts +48 -0
- package/node_modules/@allyhub-next/build/dist/scan.js +1 -1
- package/node_modules/@allyhub-next/build/dist/takes.d.ts +33 -0
- package/node_modules/@allyhub-next/build/dist/types.d.ts +11 -0
- package/node_modules/@allyhub-next/build/dist/vite.d.ts +105 -0
- package/node_modules/@allyhub-next/build/package.json +1 -1
- package/node_modules/@allyhub-next/check/dist/cache.d.ts +46 -0
- package/node_modules/@allyhub-next/check/dist/check.d.ts +142 -0
- package/node_modules/@allyhub-next/check/dist/generated.d.ts +22 -0
- package/node_modules/@allyhub-next/check/dist/index.d.ts +7 -0
- package/node_modules/@allyhub-next/check/dist/plans.d.ts +111 -0
- package/node_modules/@allyhub-next/check/dist/result.d.ts +12 -0
- package/node_modules/@allyhub-next/check/dist/scenery.d.ts +23 -0
- package/node_modules/@allyhub-next/check/package.json +1 -1
- package/node_modules/@allyhub-next/cloud/package.json +1 -1
- package/node_modules/@allyhub-next/components/package.json +1 -1
- package/node_modules/@allyhub-next/dev-server/dist/background.d.ts +50 -0
- package/node_modules/@allyhub-next/dev-server/dist/card.d.ts +26 -0
- package/node_modules/@allyhub-next/dev-server/dist/exports.d.ts +18 -0
- package/node_modules/@allyhub-next/dev-server/dist/index.d.ts +11 -0
- package/node_modules/@allyhub-next/dev-server/dist/live.d.ts +68 -0
- package/node_modules/@allyhub-next/dev-server/dist/mime.d.ts +2 -0
- package/node_modules/@allyhub-next/dev-server/dist/paths.d.ts +27 -0
- package/node_modules/@allyhub-next/dev-server/dist/project.d.ts +150 -0
- package/node_modules/@allyhub-next/dev-server/dist/server.d.ts +47 -0
- package/node_modules/@allyhub-next/dev-server/dist/server.js +2 -2
- package/node_modules/@allyhub-next/dev-server/dist/sound.d.ts +21 -0
- package/node_modules/@allyhub-next/dev-server/dist/stage.d.ts +80 -0
- package/node_modules/@allyhub-next/dev-server/dist/tools.d.ts +22 -0
- package/node_modules/@allyhub-next/dev-server/dist/validate.d.ts +6 -0
- package/node_modules/@allyhub-next/dev-server/dist/watcher.d.ts +47 -0
- package/node_modules/@allyhub-next/dev-server/dist/writer.d.ts +51 -0
- package/node_modules/@allyhub-next/dev-server/package.json +1 -1
- package/node_modules/@allyhub-next/doc/dist/html.d.ts +20 -0
- package/node_modules/@allyhub-next/doc/dist/index.d.ts +8 -0
- package/node_modules/@allyhub-next/doc/dist/markdown.d.ts +6 -0
- package/node_modules/@allyhub-next/doc/dist/model.d.ts +145 -0
- package/node_modules/@allyhub-next/doc/dist/parse.d.ts +10 -0
- package/node_modules/@allyhub-next/doc/dist/patch.d.ts +8 -0
- package/node_modules/@allyhub-next/doc/dist/title.d.ts +23 -0
- package/node_modules/@allyhub-next/doc/dist/write.d.ts +10 -0
- package/node_modules/@allyhub-next/doc/package.json +1 -1
- package/node_modules/@allyhub-next/export/dist/batch.d.ts +70 -0
- package/node_modules/@allyhub-next/export/dist/export.d.ts +107 -0
- package/node_modules/@allyhub-next/export/dist/index.d.ts +4 -0
- package/node_modules/@allyhub-next/export/dist/names.d.ts +31 -0
- package/node_modules/@allyhub-next/export/package.json +1 -1
- package/node_modules/@allyhub-next/formats/dist/data/comments.d.ts +94 -0
- package/node_modules/@allyhub-next/formats/dist/data/config.d.ts +10 -0
- package/node_modules/@allyhub-next/formats/dist/data/edits.d.ts +28 -0
- package/node_modules/@allyhub-next/formats/dist/data/elements.d.ts +6 -0
- package/node_modules/@allyhub-next/formats/dist/data/faces.d.ts +38 -0
- package/node_modules/@allyhub-next/formats/dist/data/file.d.ts +11 -0
- package/node_modules/@allyhub-next/formats/dist/data/gen.d.ts +31 -0
- package/node_modules/@allyhub-next/formats/dist/data/messages.d.ts +34 -0
- package/node_modules/@allyhub-next/formats/dist/data/reference.d.ts +676 -0
- package/node_modules/@allyhub-next/formats/dist/data/script.d.ts +37 -0
- package/node_modules/@allyhub-next/formats/dist/data/sheet.d.ts +214 -0
- package/node_modules/@allyhub-next/formats/dist/data/words.d.ts +25 -0
- package/node_modules/@allyhub-next/formats/dist/index.d.ts +16 -0
- package/node_modules/@allyhub-next/formats/dist/items.d.ts +94 -0
- package/node_modules/@allyhub-next/formats/dist/layout.d.ts +54 -0
- package/node_modules/@allyhub-next/formats/dist/layout.js +1 -1
- package/node_modules/@allyhub-next/formats/dist/schemas.d.ts +301 -0
- package/node_modules/@allyhub-next/formats/package.json +1 -1
- package/node_modules/@allyhub-next/measure/dist/compare.d.ts +195 -0
- package/node_modules/@allyhub-next/measure/dist/contrast.d.ts +14 -0
- package/node_modules/@allyhub-next/measure/dist/cut-sheet.d.ts +90 -0
- package/node_modules/@allyhub-next/measure/dist/cuts.d.ts +108 -0
- package/node_modules/@allyhub-next/measure/dist/facts.d.ts +60 -0
- package/node_modules/@allyhub-next/measure/dist/fidelity.d.ts +40 -0
- package/node_modules/@allyhub-next/measure/dist/flat.d.ts +42 -0
- package/node_modules/@allyhub-next/measure/dist/index.d.ts +25 -0
- package/node_modules/@allyhub-next/measure/dist/loop.d.ts +22 -0
- package/node_modules/@allyhub-next/measure/dist/overlay.d.ts +44 -0
- package/node_modules/@allyhub-next/measure/dist/recording-report.d.ts +66 -0
- package/node_modules/@allyhub-next/measure/dist/reference/compare.d.ts +118 -0
- package/node_modules/@allyhub-next/measure/dist/reference/folder.d.ts +77 -0
- package/node_modules/@allyhub-next/measure/dist/reference/interpret.d.ts +39 -0
- package/node_modules/@allyhub-next/measure/dist/reference/piece.d.ts +53 -0
- package/node_modules/@allyhub-next/measure/dist/reference/sections.d.ts +53 -0
- package/node_modules/@allyhub-next/measure/dist/reference/served.d.ts +8 -0
- package/node_modules/@allyhub-next/measure/dist/reference/sets.d.ts +84 -0
- package/node_modules/@allyhub-next/measure/dist/reference/text.d.ts +27 -0
- package/node_modules/@allyhub-next/measure/dist/reference/video.d.ts +53 -0
- package/node_modules/@allyhub-next/measure/dist/seams.d.ts +46 -0
- package/node_modules/@allyhub-next/measure/dist/sound-measures.d.ts +74 -0
- package/node_modules/@allyhub-next/measure/dist/sound-report.d.ts +156 -0
- package/node_modules/@allyhub-next/measure/dist/still.d.ts +58 -0
- package/node_modules/@allyhub-next/measure/dist/version-voice.d.ts +12 -0
- package/node_modules/@allyhub-next/measure/package.json +1 -1
- package/node_modules/@allyhub-next/media/dist/asr/hear.d.ts +41 -0
- package/node_modules/@allyhub-next/media/dist/asr/languages.d.ts +9 -0
- package/node_modules/@allyhub-next/media/dist/asr/parakeet.d.ts +57 -0
- package/node_modules/@allyhub-next/media/dist/asr/protocol.d.ts +20 -0
- package/node_modules/@allyhub-next/media/dist/asr/transcribe.d.ts +36 -0
- package/node_modules/@allyhub-next/media/dist/asr/windows.d.ts +34 -0
- package/node_modules/@allyhub-next/media/dist/asr/words.d.ts +7 -0
- package/node_modules/@allyhub-next/media/dist/asr/worker.d.ts +2 -0
- package/node_modules/@allyhub-next/media/dist/audio.d.ts +14 -0
- package/node_modules/@allyhub-next/media/dist/beats.d.ts +100 -0
- package/node_modules/@allyhub-next/media/dist/cache.d.ts +26 -0
- package/node_modules/@allyhub-next/media/dist/errors.d.ts +34 -0
- package/node_modules/@allyhub-next/media/dist/fetch.d.ts +11 -0
- package/node_modules/@allyhub-next/media/dist/grid.d.ts +101 -0
- package/node_modules/@allyhub-next/media/dist/index.d.ts +37 -0
- package/node_modules/@allyhub-next/media/dist/local.d.ts +36 -0
- package/node_modules/@allyhub-next/media/dist/ocr/lines.d.ts +36 -0
- package/node_modules/@allyhub-next/media/dist/ocr/tesseract.d.ts +56 -0
- package/node_modules/@allyhub-next/media/dist/ocr/text.d.ts +36 -0
- package/node_modules/@allyhub-next/media/dist/ocr/worker.d.ts +2 -0
- package/node_modules/@allyhub-next/media/dist/picture.d.ts +130 -0
- package/node_modules/@allyhub-next/media/dist/probe.d.ts +52 -0
- package/node_modules/@allyhub-next/media/dist/progress.d.ts +16 -0
- package/node_modules/@allyhub-next/media/dist/run.d.ts +20 -0
- package/node_modules/@allyhub-next/media/dist/sheet.d.ts +65 -0
- package/node_modules/@allyhub-next/media/dist/shots.d.ts +110 -0
- package/node_modules/@allyhub-next/media/dist/sync.d.ts +156 -0
- package/node_modules/@allyhub-next/media/dist/tools.d.ts +25 -0
- package/node_modules/@allyhub-next/media/dist/video.d.ts +35 -0
- package/node_modules/@allyhub-next/media/dist/vision/cache.d.ts +42 -0
- package/node_modules/@allyhub-next/media/dist/vision/common.d.ts +32 -0
- package/node_modules/@allyhub-next/media/dist/vision/faces.d.ts +18 -0
- package/node_modules/@allyhub-next/media/dist/vision/index-media.d.ts +48 -0
- package/node_modules/@allyhub-next/media/dist/vision/matte.d.ts +16 -0
- package/node_modules/@allyhub-next/media/dist/vision/mattes.d.ts +109 -0
- package/node_modules/@allyhub-next/media/dist/vision/models.d.ts +16 -0
- package/node_modules/@allyhub-next/media/dist/vision/probe.d.ts +39 -0
- package/node_modules/@allyhub-next/media/dist/vision/protocol.d.ts +51 -0
- package/node_modules/@allyhub-next/media/dist/vision/run.d.ts +12 -0
- package/node_modules/@allyhub-next/media/dist/vision/runtime.d.ts +16 -0
- package/node_modules/@allyhub-next/media/dist/vision/status.d.ts +24 -0
- package/node_modules/@allyhub-next/media/dist/vision/track.d.ts +54 -0
- package/node_modules/@allyhub-next/media/dist/vision/types.d.ts +2 -0
- package/node_modules/@allyhub-next/media/dist/vision/worker.d.ts +2 -0
- package/node_modules/@allyhub-next/media/dist/vision/yunet.d.ts +35 -0
- package/node_modules/@allyhub-next/media/dist/voice-shape.d.ts +51 -0
- package/node_modules/@allyhub-next/media/dist/worker-process.d.ts +8 -0
- package/node_modules/@allyhub-next/media/package.json +1 -1
- package/node_modules/@allyhub-next/model/dist/apply.d.ts +15 -0
- package/node_modules/@allyhub-next/model/dist/authoring.d.ts +48 -0
- package/node_modules/@allyhub-next/model/dist/bevel-attributes.d.ts +19 -0
- package/node_modules/@allyhub-next/model/dist/bevel-collapse.d.ts +12 -0
- package/node_modules/@allyhub-next/model/dist/bevel-corner-plan.d.ts +24 -0
- package/node_modules/@allyhub-next/model/dist/bevel-deform.d.ts +5 -0
- package/node_modules/@allyhub-next/model/dist/bevel-fans.d.ts +12 -0
- package/node_modules/@allyhub-next/model/dist/bevel-junction.d.ts +16 -0
- package/node_modules/@allyhub-next/model/dist/bevel-marks.d.ts +14 -0
- package/node_modules/@allyhub-next/model/dist/bevel-metric.d.ts +4 -0
- package/node_modules/@allyhub-next/model/dist/bevel-mixed.d.ts +12 -0
- package/node_modules/@allyhub-next/model/dist/bevel-offsets.d.ts +22 -0
- package/node_modules/@allyhub-next/model/dist/bevel-patch.d.ts +45 -0
- package/node_modules/@allyhub-next/model/dist/bevel-profile.d.ts +13 -0
- package/node_modules/@allyhub-next/model/dist/bevel-projection.d.ts +10 -0
- package/node_modules/@allyhub-next/model/dist/bevel-reflex.d.ts +10 -0
- package/node_modules/@allyhub-next/model/dist/bevel-square-out.d.ts +18 -0
- package/node_modules/@allyhub-next/model/dist/bevel-strips.d.ts +8 -0
- package/node_modules/@allyhub-next/model/dist/bevel-topology.d.ts +79 -0
- package/node_modules/@allyhub-next/model/dist/bevel.d.ts +23 -0
- package/node_modules/@allyhub-next/model/dist/bmesh-bevel.d.ts +40 -0
- package/node_modules/@allyhub-next/model/dist/bmesh-bridge.d.ts +21 -0
- package/node_modules/@allyhub-next/model/dist/bmesh-cycles.d.ts +52 -0
- package/node_modules/@allyhub-next/model/dist/bmesh-data.d.ts +227 -0
- package/node_modules/@allyhub-next/model/dist/bmesh-dissolve.d.ts +30 -0
- package/node_modules/@allyhub-next/model/dist/bmesh-edit.d.ts +54 -0
- package/node_modules/@allyhub-next/model/dist/bmesh-inset.d.ts +39 -0
- package/node_modules/@allyhub-next/model/dist/bmesh-primitives.d.ts +41 -0
- package/node_modules/@allyhub-next/model/dist/bmesh-smooth.d.ts +22 -0
- package/node_modules/@allyhub-next/model/dist/bmesh-spin.d.ts +25 -0
- package/node_modules/@allyhub-next/model/dist/bmesh-subdivide.d.ts +89 -0
- package/node_modules/@allyhub-next/model/dist/bmesh.d.ts +72 -0
- package/node_modules/@allyhub-next/model/dist/boolean.d.ts +20 -0
- package/node_modules/@allyhub-next/model/dist/build-cache.d.ts +42 -0
- package/node_modules/@allyhub-next/model/dist/build-job.d.ts +30 -0
- package/node_modules/@allyhub-next/model/dist/build-worker.d.ts +2 -0
- package/node_modules/@allyhub-next/model/dist/build.d.ts +57 -0
- package/node_modules/@allyhub-next/model/dist/cancel.d.ts +8 -0
- package/node_modules/@allyhub-next/model/dist/capabilities.d.ts +22 -0
- package/node_modules/@allyhub-next/model/dist/curve-eval.d.ts +66 -0
- package/node_modules/@allyhub-next/model/dist/curve-math.d.ts +21 -0
- package/node_modules/@allyhub-next/model/dist/curve-mesh.d.ts +30 -0
- package/node_modules/@allyhub-next/model/dist/curve.d.ts +149 -0
- package/node_modules/@allyhub-next/model/dist/data.d.ts +549 -0
- package/node_modules/@allyhub-next/model/dist/evaluate.d.ts +141 -0
- package/node_modules/@allyhub-next/model/dist/evaluation-cache.d.ts +55 -0
- package/node_modules/@allyhub-next/model/dist/evaluation-guard.d.ts +11 -0
- package/node_modules/@allyhub-next/model/dist/evaluation-plan.d.ts +38 -0
- package/node_modules/@allyhub-next/model/dist/export.d.ts +12 -0
- package/node_modules/@allyhub-next/model/dist/field.d.ts +59 -0
- package/node_modules/@allyhub-next/model/dist/generated/opensubdiv.d.mts +25 -0
- package/node_modules/@allyhub-next/model/dist/geometry.d.ts +75 -0
- package/node_modules/@allyhub-next/model/dist/image.d.ts +77 -0
- package/node_modules/@allyhub-next/model/dist/index.d.ts +19 -0
- package/node_modules/@allyhub-next/model/dist/instances.d.ts +18 -0
- package/node_modules/@allyhub-next/model/dist/material-eval.d.ts +12 -0
- package/node_modules/@allyhub-next/model/dist/material-nodes.d.ts +279 -0
- package/node_modules/@allyhub-next/model/dist/mesh-attributes.d.ts +27 -0
- package/node_modules/@allyhub-next/model/dist/mesh-queries.d.ts +34 -0
- package/node_modules/@allyhub-next/model/dist/names.d.ts +9 -0
- package/node_modules/@allyhub-next/model/dist/patterns.d.ts +21 -0
- package/node_modules/@allyhub-next/model/dist/png.d.ts +12 -0
- package/node_modules/@allyhub-next/model/dist/polygon-triangulation.d.ts +4 -0
- package/node_modules/@allyhub-next/model/dist/program-location.d.ts +7 -0
- package/node_modules/@allyhub-next/model/dist/report.d.ts +70 -0
- package/node_modules/@allyhub-next/model/dist/screw.d.ts +38 -0
- package/node_modules/@allyhub-next/model/dist/solidify.d.ts +11 -0
- package/node_modules/@allyhub-next/model/dist/subdivision.d.ts +21 -0
- package/node_modules/@allyhub-next/model/dist/three.d.ts +43 -0
- package/node_modules/@allyhub-next/model/dist/uv-project.d.ts +62 -0
- package/node_modules/@allyhub-next/model/dist/uv-unwrap.d.ts +40 -0
- package/node_modules/@allyhub-next/model/dist/uv.d.ts +16 -0
- package/node_modules/@allyhub-next/model/dist/vertex-groups.d.ts +27 -0
- package/node_modules/@allyhub-next/model/dist/weighted-normal.d.ts +28 -0
- package/node_modules/@allyhub-next/model/package.json +1 -1
- package/node_modules/@allyhub-next/project/dist/console.d.ts +34 -0
- package/node_modules/@allyhub-next/project/dist/digest.d.ts +11 -0
- package/node_modules/@allyhub-next/project/dist/index.d.ts +11 -0
- package/node_modules/@allyhub-next/project/dist/ledger.d.ts +17 -0
- package/node_modules/@allyhub-next/project/dist/media-index.d.ts +27 -0
- package/node_modules/@allyhub-next/project/dist/page.d.ts +124 -0
- package/node_modules/@allyhub-next/project/dist/says.d.ts +15 -0
- package/node_modules/@allyhub-next/project/dist/scenery.d.ts +35 -0
- package/node_modules/@allyhub-next/project/dist/session.d.ts +37 -0
- package/node_modules/@allyhub-next/project/dist/stretch.d.ts +38 -0
- package/node_modules/@allyhub-next/project/dist/version.d.ts +114 -0
- package/node_modules/@allyhub-next/project/package.json +1 -1
- package/node_modules/@allyhub-next/protocol/dist/app.d.ts +98 -0
- package/node_modules/@allyhub-next/protocol/dist/auth.d.ts +116 -0
- package/node_modules/@allyhub-next/protocol/dist/cli.d.ts +59 -0
- package/node_modules/@allyhub-next/protocol/dist/cloud.d.ts +293 -0
- package/node_modules/@allyhub-next/protocol/dist/cloud.js +1 -1
- package/node_modules/@allyhub-next/protocol/dist/editor.d.ts +405 -0
- package/node_modules/@allyhub-next/protocol/dist/files.d.ts +101 -0
- package/node_modules/@allyhub-next/protocol/dist/index.d.ts +12 -0
- package/node_modules/@allyhub-next/protocol/dist/jsonrpc.d.ts +83 -0
- package/node_modules/@allyhub-next/protocol/dist/registry.d.ts +167 -0
- package/node_modules/@allyhub-next/protocol/dist/registry.js +1 -1
- package/node_modules/@allyhub-next/protocol/dist/runtimes.d.ts +93 -0
- package/node_modules/@allyhub-next/protocol/dist/teams.d.ts +67 -0
- package/node_modules/@allyhub-next/protocol/dist/tools.d.ts +345 -0
- package/node_modules/@allyhub-next/protocol/package.json +1 -1
- package/node_modules/@allyhub-next/registry/dist/index.js +1 -1
- package/node_modules/@allyhub-next/registry/dist/registry.js +1 -1
- package/node_modules/@allyhub-next/registry/package.json +1 -1
- package/node_modules/@allyhub-next/render/dist/cap.d.ts +41 -0
- package/node_modules/@allyhub-next/render/dist/capture.d.ts +78 -0
- package/node_modules/@allyhub-next/render/dist/clip.d.ts +27 -0
- package/node_modules/@allyhub-next/render/dist/composite.d.ts +106 -0
- package/node_modules/@allyhub-next/render/dist/delivery.d.ts +18 -0
- package/node_modules/@allyhub-next/render/dist/doc/fonts.d.ts +3 -0
- package/node_modules/@allyhub-next/render/dist/doc/index.d.ts +3 -0
- package/node_modules/@allyhub-next/render/dist/doc/print.d.ts +25 -0
- package/node_modules/@allyhub-next/render/dist/encode.d.ts +111 -0
- package/node_modules/@allyhub-next/render/dist/errors.d.ts +15 -0
- package/node_modules/@allyhub-next/render/dist/exports.d.ts +51 -0
- package/node_modules/@allyhub-next/render/dist/ffmpeg.d.ts +75 -0
- package/node_modules/@allyhub-next/render/dist/footage.d.ts +169 -0
- package/node_modules/@allyhub-next/render/dist/image.d.ts +16 -0
- package/node_modules/@allyhub-next/render/dist/index.d.ts +27 -0
- package/node_modules/@allyhub-next/render/dist/junction.d.ts +70 -0
- package/node_modules/@allyhub-next/render/dist/look.d.ts +21 -0
- package/node_modules/@allyhub-next/render/dist/page.d.ts +176 -0
- package/node_modules/@allyhub-next/render/dist/parts.d.ts +140 -0
- package/node_modules/@allyhub-next/render/dist/png.d.ts +37 -0
- package/node_modules/@allyhub-next/render/dist/pool.d.ts +54 -0
- package/node_modules/@allyhub-next/render/dist/post-probe.d.ts +27 -0
- package/node_modules/@allyhub-next/render/dist/post.d.ts +27 -0
- package/node_modules/@allyhub-next/render/dist/render.d.ts +149 -0
- package/node_modules/@allyhub-next/render/dist/segments.d.ts +40 -0
- package/node_modules/@allyhub-next/render/dist/served.d.ts +27 -0
- package/node_modules/@allyhub-next/render/dist/sound.d.ts +24 -0
- package/node_modules/@allyhub-next/render/dist/stills.d.ts +41 -0
- package/node_modules/@allyhub-next/render/dist/tools.d.ts +25 -0
- package/node_modules/@allyhub-next/render/dist/webp.d.ts +17 -0
- package/node_modules/@allyhub-next/render/package.json +1 -1
- package/node_modules/@allyhub-next/runtime/dist/bridge.d.ts +201 -0
- package/node_modules/@allyhub-next/runtime/dist/captions.d.ts +24 -0
- package/node_modules/@allyhub-next/runtime/dist/clock.d.ts +32 -0
- package/node_modules/@allyhub-next/runtime/dist/compose.d.ts +149 -0
- package/node_modules/@allyhub-next/runtime/dist/console.d.ts +21 -0
- package/node_modules/@allyhub-next/runtime/dist/contrast.d.ts +13 -0
- package/node_modules/@allyhub-next/runtime/dist/embed.d.ts +50 -0
- package/node_modules/@allyhub-next/runtime/dist/env.d.ts +101 -0
- package/node_modules/@allyhub-next/runtime/dist/errors.d.ts +21 -0
- package/node_modules/@allyhub-next/runtime/dist/facade.d.ts +42 -0
- package/node_modules/@allyhub-next/runtime/dist/fonts.d.ts +110 -0
- package/node_modules/@allyhub-next/runtime/dist/footage.d.ts +54 -0
- package/node_modules/@allyhub-next/runtime/dist/frame.d.ts +61 -0
- package/node_modules/@allyhub-next/runtime/dist/guards.d.ts +32 -0
- package/node_modules/@allyhub-next/runtime/dist/host.d.ts +22 -0
- package/node_modules/@allyhub-next/runtime/dist/index.d.ts +12 -0
- package/node_modules/@allyhub-next/runtime/dist/inspect.d.ts +112 -0
- package/node_modules/@allyhub-next/runtime/dist/measure.d.ts +40 -0
- package/node_modules/@allyhub-next/runtime/dist/mix-plan.d.ts +42 -0
- package/node_modules/@allyhub-next/runtime/dist/music.d.ts +29 -0
- package/node_modules/@allyhub-next/runtime/dist/output.d.ts +5 -0
- package/node_modules/@allyhub-next/runtime/dist/paged.d.ts +16 -0
- package/node_modules/@allyhub-next/runtime/dist/pictures.d.ts +39 -0
- package/node_modules/@allyhub-next/runtime/dist/piece.d.ts +38 -0
- package/node_modules/@allyhub-next/runtime/dist/player/clips.d.ts +41 -0
- package/node_modules/@allyhub-next/runtime/dist/player/cutout.d.ts +57 -0
- package/node_modules/@allyhub-next/runtime/dist/player/player.d.ts +78 -0
- package/node_modules/@allyhub-next/runtime/dist/reads.d.ts +130 -0
- package/node_modules/@allyhub-next/runtime/dist/sound.d.ts +22 -0
- package/node_modules/@allyhub-next/runtime/dist/speech.d.ts +107 -0
- package/node_modules/@allyhub-next/runtime/dist/stage.d.ts +34 -0
- package/node_modules/@allyhub-next/runtime/dist/styles.d.ts +35 -0
- package/node_modules/@allyhub-next/runtime/dist/takes.d.ts +72 -0
- package/node_modules/@allyhub-next/runtime/dist/titles.d.ts +10 -0
- package/node_modules/@allyhub-next/runtime/dist/transitions.d.ts +26 -0
- package/node_modules/@allyhub-next/runtime/package.json +1 -1
- package/node_modules/@allyhub-next/runtimes/dist/bundled.d.ts +10 -0
- package/node_modules/@allyhub-next/runtimes/dist/download.d.ts +15 -0
- package/node_modules/@allyhub-next/runtimes/dist/errors.d.ts +16 -0
- package/node_modules/@allyhub-next/runtimes/dist/home.d.ts +2 -0
- package/node_modules/@allyhub-next/runtimes/dist/index.d.ts +9 -0
- package/node_modules/@allyhub-next/runtimes/dist/lock.d.ts +6 -0
- package/node_modules/@allyhub-next/runtimes/dist/manifest.d.ts +3 -0
- package/node_modules/@allyhub-next/runtimes/dist/runtimes.d.ts +63 -0
- package/node_modules/@allyhub-next/runtimes/dist/unpack.d.ts +7 -0
- package/node_modules/@allyhub-next/runtimes/package.json +1 -1
- package/node_modules/@allyhub-next/scenery/dist/aim.d.ts +55 -0
- package/node_modules/@allyhub-next/scenery/dist/bake.d.ts +203 -0
- package/node_modules/@allyhub-next/scenery/dist/camera.d.ts +150 -0
- package/node_modules/@allyhub-next/scenery/dist/curve.d.ts +40 -0
- package/node_modules/@allyhub-next/scenery/dist/define.d.ts +164 -0
- package/node_modules/@allyhub-next/scenery/dist/fit.d.ts +64 -0
- package/node_modules/@allyhub-next/scenery/dist/glass.d.ts +34 -0
- package/node_modules/@allyhub-next/scenery/dist/handheld.d.ts +184 -0
- package/node_modules/@allyhub-next/scenery/dist/hull.d.ts +23 -0
- package/node_modules/@allyhub-next/scenery/dist/index.d.ts +22 -0
- package/node_modules/@allyhub-next/scenery/dist/lens.d.ts +48 -0
- package/node_modules/@allyhub-next/scenery/dist/moire.d.ts +136 -0
- package/node_modules/@allyhub-next/scenery/dist/motion.d.ts +48 -0
- package/node_modules/@allyhub-next/scenery/dist/move.d.ts +260 -0
- package/node_modules/@allyhub-next/scenery/dist/noise.d.ts +41 -0
- package/node_modules/@allyhub-next/scenery/dist/phone.d.ts +34 -0
- package/node_modules/@allyhub-next/scenery/dist/report.d.ts +677 -0
- package/node_modules/@allyhub-next/scenery/dist/screen-focus.d.ts +55 -0
- package/node_modules/@allyhub-next/scenery/dist/screen.d.ts +71 -0
- package/node_modules/@allyhub-next/scenery/dist/solve.d.ts +82 -0
- package/node_modules/@allyhub-next/scenery/dist/timing.d.ts +26 -0
- package/node_modules/@allyhub-next/scenery/dist/vec.d.ts +19 -0
- package/node_modules/@allyhub-next/scenery/package.json +1 -1
- package/node_modules/@allyhub-next/scenery-host/dist/adapter.d.ts +46 -0
- package/node_modules/@allyhub-next/scenery-host/dist/allyhub.d.ts +21 -0
- package/node_modules/@allyhub-next/scenery-host/dist/allyhub.js +1 -1
- package/node_modules/@allyhub-next/scenery-host/dist/bake/apply.d.ts +59 -0
- package/node_modules/@allyhub-next/scenery-host/dist/bake/digest.d.ts +14 -0
- package/node_modules/@allyhub-next/scenery-host/dist/bake/envmap.d.ts +21 -0
- package/node_modules/@allyhub-next/scenery-host/dist/bake/format.d.ts +63 -0
- package/node_modules/@allyhub-next/scenery-host/dist/bake/run.d.ts +63 -0
- package/node_modules/@allyhub-next/scenery-host/dist/bake/run.js +15 -13
- package/node_modules/@allyhub-next/scenery-host/dist/budget.d.ts +40 -0
- package/node_modules/@allyhub-next/scenery-host/dist/bundle.d.ts +68 -0
- package/node_modules/@allyhub-next/scenery-host/dist/clock.d.ts +31 -0
- package/node_modules/@allyhub-next/scenery-host/dist/commands.d.ts +54 -0
- package/node_modules/@allyhub-next/scenery-host/dist/draw2d.d.ts +47 -0
- package/node_modules/@allyhub-next/scenery-host/dist/errors.d.ts +33 -0
- package/node_modules/@allyhub-next/scenery-host/dist/fidelity.d.ts +72 -0
- package/node_modules/@allyhub-next/scenery-host/dist/focus-pass.d.ts +51 -0
- package/node_modules/@allyhub-next/scenery-host/dist/glass.d.ts +39 -0
- package/node_modules/@allyhub-next/scenery-host/dist/idbuffer.d.ts +35 -0
- package/node_modules/@allyhub-next/scenery-host/dist/index.d.ts +24 -0
- package/node_modules/@allyhub-next/scenery-host/dist/inventory.d.ts +18 -0
- package/node_modules/@allyhub-next/scenery-host/dist/layer/fidelity.d.ts +70 -0
- package/node_modules/@allyhub-next/scenery-host/dist/layer/index.d.ts +51 -0
- package/node_modules/@allyhub-next/scenery-host/dist/layer/moire.d.ts +6 -0
- package/node_modules/@allyhub-next/scenery-host/dist/layer/queries.d.ts +106 -0
- package/node_modules/@allyhub-next/scenery-host/dist/layer/screens.d.ts +58 -0
- package/node_modules/@allyhub-next/scenery-host/dist/layer/state.d.ts +110 -0
- package/node_modules/@allyhub-next/scenery-host/dist/layer/types.d.ts +239 -0
- package/node_modules/@allyhub-next/scenery-host/dist/measure/contacts.d.ts +45 -0
- package/node_modules/@allyhub-next/scenery-host/dist/measure/facts.d.ts +86 -0
- package/node_modules/@allyhub-next/scenery-host/dist/measure/health.d.ts +10 -0
- package/node_modules/@allyhub-next/scenery-host/dist/measure/index.d.ts +110 -0
- package/node_modules/@allyhub-next/scenery-host/dist/measure/relations.d.ts +17 -0
- package/node_modules/@allyhub-next/scenery-host/dist/measure/screen-readback.d.ts +27 -0
- package/node_modules/@allyhub-next/scenery-host/dist/measure/solid.d.ts +32 -0
- package/node_modules/@allyhub-next/scenery-host/dist/measure/support.d.ts +11 -0
- package/node_modules/@allyhub-next/scenery-host/dist/module.d.ts +5 -0
- package/node_modules/@allyhub-next/scenery-host/dist/page/bake.d.ts +53 -0
- package/node_modules/@allyhub-next/scenery-host/dist/page/draw.d.ts +42 -0
- package/node_modules/@allyhub-next/scenery-host/dist/page/files.d.ts +45 -0
- package/node_modules/@allyhub-next/scenery-host/dist/page/page.d.ts +127 -0
- package/node_modules/@allyhub-next/scenery-host/dist/page/props.d.ts +23 -0
- package/node_modules/@allyhub-next/scenery-host/dist/page/screens.d.ts +147 -0
- package/node_modules/@allyhub-next/scenery-host/dist/page/shaders.d.ts +41 -0
- package/node_modules/@allyhub-next/scenery-host/dist/queries/inventory.d.ts +5 -0
- package/node_modules/@allyhub-next/scenery-host/dist/queries/map.d.ts +5 -0
- package/node_modules/@allyhub-next/scenery-host/dist/queries/view.d.ts +10 -0
- package/node_modules/@allyhub-next/scenery-host/dist/scene.d.ts +35 -0
- package/node_modules/@allyhub-next/scenery-host/dist/screen-dom.d.ts +24 -0
- package/node_modules/@allyhub-next/scenery-host/dist/screen-light.d.ts +58 -0
- package/node_modules/@allyhub-next/scenery-host/dist/screen-picture.d.ts +123 -0
- package/node_modules/@allyhub-next/scenery-host/dist/signature.d.ts +4 -0
- package/node_modules/@allyhub-next/scenery-host/dist/steady.d.ts +4 -0
- package/node_modules/@allyhub-next/scenery-host/dist/vec.d.ts +19 -0
- package/node_modules/@allyhub-next/scenery-host/dist/viewer.d.ts +103 -0
- package/node_modules/@allyhub-next/scenery-host/package.json +1 -1
- package/node_modules/@allyhub-next/sheet/dist/check.d.ts +26 -0
- package/node_modules/@allyhub-next/sheet/dist/csv.d.ts +62 -0
- package/node_modules/@allyhub-next/sheet/dist/export.d.ts +15 -0
- package/node_modules/@allyhub-next/sheet/dist/import.d.ts +22 -0
- package/node_modules/@allyhub-next/sheet/dist/index.d.ts +13 -0
- package/node_modules/@allyhub-next/sheet/dist/model.d.ts +133 -0
- package/node_modules/@allyhub-next/sheet/dist/patch.d.ts +12 -0
- package/node_modules/@allyhub-next/sheet/dist/profile.d.ts +32 -0
- package/node_modules/@allyhub-next/sheet/dist/sheet.d.ts +17 -0
- package/node_modules/@allyhub-next/sheet/dist/spec-write.d.ts +27 -0
- package/node_modules/@allyhub-next/sheet/dist/spec.d.ts +29 -0
- package/node_modules/@allyhub-next/sheet/dist/values.d.ts +55 -0
- package/node_modules/@allyhub-next/sheet/dist/view.d.ts +26 -0
- package/node_modules/@allyhub-next/sheet/dist/xlsx.d.ts +26 -0
- package/node_modules/@allyhub-next/sheet/package.json +1 -1
- package/node_modules/@allyhub-next/site/package.json +1 -1
- package/node_modules/@allyhub-next/stage/dist/bakes.d.ts +42 -0
- package/node_modules/@allyhub-next/stage/dist/graphics.d.ts +7 -0
- package/node_modules/@allyhub-next/stage/dist/identity.d.ts +2 -0
- package/node_modules/@allyhub-next/stage/dist/index.d.ts +9 -0
- package/node_modules/@allyhub-next/stage/dist/page.d.ts +78 -0
- package/node_modules/@allyhub-next/stage/dist/scenery-page.d.ts +69 -0
- package/node_modules/@allyhub-next/stage/dist/scenery-page.js +4 -4
- package/node_modules/@allyhub-next/stage/dist/scenery-solve.d.ts +49 -0
- package/node_modules/@allyhub-next/stage/dist/scenery.d.ts +8 -0
- package/node_modules/@allyhub-next/stage/dist/server.d.ts +21 -0
- package/node_modules/@allyhub-next/stage/package.json +1 -1
- package/node_modules/@allyhub-next/video-core/dist/anchors.d.ts +164 -0
- package/node_modules/@allyhub-next/video-core/dist/audio-types.d.ts +148 -0
- package/node_modules/@allyhub-next/video-core/dist/backdrop.d.ts +87 -0
- package/node_modules/@allyhub-next/video-core/dist/captions.d.ts +122 -0
- package/node_modules/@allyhub-next/video-core/dist/console.d.ts +91 -0
- package/node_modules/@allyhub-next/video-core/dist/contrast.d.ts +98 -0
- package/node_modules/@allyhub-next/video-core/dist/cut-report.d.ts +77 -0
- package/node_modules/@allyhub-next/video-core/dist/edit.d.ts +77 -0
- package/node_modules/@allyhub-next/video-core/dist/edits.d.ts +163 -0
- package/node_modules/@allyhub-next/video-core/dist/export.d.ts +96 -0
- package/node_modules/@allyhub-next/video-core/dist/fact.d.ts +965 -0
- package/node_modules/@allyhub-next/video-core/dist/footage-motion.d.ts +168 -0
- package/node_modules/@allyhub-next/video-core/dist/formats.d.ts +240 -0
- package/node_modules/@allyhub-next/video-core/dist/gen.d.ts +37 -0
- package/node_modules/@allyhub-next/video-core/dist/index.d.ts +40 -0
- package/node_modules/@allyhub-next/video-core/dist/look.d.ts +66 -0
- package/node_modules/@allyhub-next/video-core/dist/marks.d.ts +34 -0
- package/node_modules/@allyhub-next/video-core/dist/matrix.d.ts +289 -0
- package/node_modules/@allyhub-next/video-core/dist/measure.d.ts +465 -0
- package/node_modules/@allyhub-next/video-core/dist/media.d.ts +226 -0
- package/node_modules/@allyhub-next/video-core/dist/messages.d.ts +88 -0
- package/node_modules/@allyhub-next/video-core/dist/motion.d.ts +56 -0
- package/node_modules/@allyhub-next/video-core/dist/music.d.ts +110 -0
- package/node_modules/@allyhub-next/video-core/dist/piece.d.ts +1146 -0
- package/node_modules/@allyhub-next/video-core/dist/placement.d.ts +37 -0
- package/node_modules/@allyhub-next/video-core/dist/problem.d.ts +262 -0
- package/node_modules/@allyhub-next/video-core/dist/render-types.d.ts +49 -0
- package/node_modules/@allyhub-next/video-core/dist/schema.d.ts +352 -0
- package/node_modules/@allyhub-next/video-core/dist/script-edit.d.ts +176 -0
- package/node_modules/@allyhub-next/video-core/dist/script.d.ts +67 -0
- package/node_modules/@allyhub-next/video-core/dist/seams.d.ts +214 -0
- package/node_modules/@allyhub-next/video-core/dist/slides.d.ts +37 -0
- package/node_modules/@allyhub-next/video-core/dist/sound-under.d.ts +72 -0
- package/node_modules/@allyhub-next/video-core/dist/speech.d.ts +83 -0
- package/node_modules/@allyhub-next/video-core/dist/timeline.d.ts +616 -0
- package/node_modules/@allyhub-next/video-core/dist/timing.d.ts +88 -0
- package/node_modules/@allyhub-next/video-core/dist/transcript.d.ts +288 -0
- package/node_modules/@allyhub-next/video-core/dist/transition.d.ts +289 -0
- package/node_modules/@allyhub-next/video-core/dist/voice.d.ts +175 -0
- package/node_modules/@allyhub-next/video-core/dist/words.d.ts +128 -0
- package/node_modules/@allyhub-next/video-core/package.json +1 -1
- package/package.json +37 -27
- package/editor-web/assets/chevron-left-BmxSmft8.js +0 -1
- package/editor-web/assets/dist-CjQKFMhS.js +0 -8
- package/editor-web/assets/index-BAvCs2l0.css +0 -2
- package/editor-web/assets/index-g9RQlyDb.js +0 -56
- package/editor-web/assets/react-ZggY1Y07.js +0 -61
|
@@ -0,0 +1,279 @@
|
|
|
1
|
+
import { type Vec2 } from "./data.js";
|
|
2
|
+
import type { ModelImage } from "./image.js";
|
|
3
|
+
/**
|
|
4
|
+
* Blender 4.5 shader node subset (bpy.types.ShaderNodeTree, Node, NodeSocket,
|
|
5
|
+
* NodeLink): the nodes a glTF material can say. Socket names, identifiers and
|
|
6
|
+
* defaults are Blender 4.5.14's (measured, see blender-materials.py).
|
|
7
|
+
*/
|
|
8
|
+
export type SocketType = "RGBA" | "VALUE" | "VECTOR" | "SHADER";
|
|
9
|
+
export type SocketValue = number | number[];
|
|
10
|
+
export type SocketSpec = readonly [
|
|
11
|
+
name: string,
|
|
12
|
+
type: SocketType,
|
|
13
|
+
value?: number | readonly number[],
|
|
14
|
+
hideValue?: boolean
|
|
15
|
+
];
|
|
16
|
+
/** The Principled BSDF's inputs: name, type, Blender 4.5.14 default, hidden value. */
|
|
17
|
+
export declare const PRINCIPLED_INPUTS: readonly [readonly ["Base Color", "RGBA", readonly [0.8, 0.8, 0.8, 1]], readonly ["Metallic", "VALUE", 0], readonly ["Roughness", "VALUE", 0.5], readonly ["IOR", "VALUE", 1.5], readonly ["Alpha", "VALUE", 1], readonly ["Normal", "VECTOR", readonly [0, 0, 0], true], readonly ["Weight", "VALUE", 0], readonly ["Diffuse Roughness", "VALUE", 0], readonly ["Subsurface Weight", "VALUE", 0], readonly ["Subsurface Radius", "VECTOR", readonly [1, 0.2, 0.1]], readonly ["Subsurface Scale", "VALUE", 0.05], readonly ["Subsurface IOR", "VALUE", 1.4], readonly ["Subsurface Anisotropy", "VALUE", 0], readonly ["Specular IOR Level", "VALUE", 0.5], readonly ["Specular Tint", "RGBA", readonly [1, 1, 1, 1]], readonly ["Anisotropic", "VALUE", 0], readonly ["Anisotropic Rotation", "VALUE", 0], readonly ["Tangent", "VECTOR", readonly [0, 0, 0], true], readonly ["Transmission Weight", "VALUE", 0], readonly ["Coat Weight", "VALUE", 0], readonly ["Coat Roughness", "VALUE", 0.03], readonly ["Coat IOR", "VALUE", 1.5], readonly ["Coat Tint", "RGBA", readonly [1, 1, 1, 1]], readonly ["Coat Normal", "VECTOR", readonly [0, 0, 0], true], readonly ["Sheen Weight", "VALUE", 0], readonly ["Sheen Roughness", "VALUE", 0.5], readonly ["Sheen Tint", "RGBA", readonly [1, 1, 1, 1]], readonly ["Emission Color", "RGBA", readonly [1, 1, 1, 1]], readonly ["Emission Strength", "VALUE", 0], readonly ["Thin Film Thickness", "VALUE", 0], readonly ["Thin Film IOR", "VALUE", 1.33]];
|
|
18
|
+
/** Each supported node type: its Blender type, default name, sockets and enum properties. */
|
|
19
|
+
declare const NODE_TYPES: {
|
|
20
|
+
readonly ShaderNodeBsdfPrincipled: {
|
|
21
|
+
readonly type: "BSDF_PRINCIPLED";
|
|
22
|
+
readonly name: "Principled BSDF";
|
|
23
|
+
readonly inputs: readonly [readonly ["Base Color", "RGBA", readonly [0.8, 0.8, 0.8, 1]], readonly ["Metallic", "VALUE", 0], readonly ["Roughness", "VALUE", 0.5], readonly ["IOR", "VALUE", 1.5], readonly ["Alpha", "VALUE", 1], readonly ["Normal", "VECTOR", readonly [0, 0, 0], true], readonly ["Weight", "VALUE", 0], readonly ["Diffuse Roughness", "VALUE", 0], readonly ["Subsurface Weight", "VALUE", 0], readonly ["Subsurface Radius", "VECTOR", readonly [1, 0.2, 0.1]], readonly ["Subsurface Scale", "VALUE", 0.05], readonly ["Subsurface IOR", "VALUE", 1.4], readonly ["Subsurface Anisotropy", "VALUE", 0], readonly ["Specular IOR Level", "VALUE", 0.5], readonly ["Specular Tint", "RGBA", readonly [1, 1, 1, 1]], readonly ["Anisotropic", "VALUE", 0], readonly ["Anisotropic Rotation", "VALUE", 0], readonly ["Tangent", "VECTOR", readonly [0, 0, 0], true], readonly ["Transmission Weight", "VALUE", 0], readonly ["Coat Weight", "VALUE", 0], readonly ["Coat Roughness", "VALUE", 0.03], readonly ["Coat IOR", "VALUE", 1.5], readonly ["Coat Tint", "RGBA", readonly [1, 1, 1, 1]], readonly ["Coat Normal", "VECTOR", readonly [0, 0, 0], true], readonly ["Sheen Weight", "VALUE", 0], readonly ["Sheen Roughness", "VALUE", 0.5], readonly ["Sheen Tint", "RGBA", readonly [1, 1, 1, 1]], readonly ["Emission Color", "RGBA", readonly [1, 1, 1, 1]], readonly ["Emission Strength", "VALUE", 0], readonly ["Thin Film Thickness", "VALUE", 0], readonly ["Thin Film IOR", "VALUE", 1.33]];
|
|
24
|
+
readonly outputs: readonly [readonly ["BSDF", "SHADER"]];
|
|
25
|
+
};
|
|
26
|
+
readonly ShaderNodeOutputMaterial: {
|
|
27
|
+
readonly type: "OUTPUT_MATERIAL";
|
|
28
|
+
readonly name: "Material Output";
|
|
29
|
+
readonly inputs: readonly [readonly ["Surface", "SHADER"], readonly ["Volume", "SHADER"], readonly ["Displacement", "VECTOR", readonly [0, 0, 0], true], readonly ["Thickness", "VALUE", 0]];
|
|
30
|
+
readonly outputs: readonly [];
|
|
31
|
+
};
|
|
32
|
+
readonly ShaderNodeTexImage: {
|
|
33
|
+
readonly type: "TEX_IMAGE";
|
|
34
|
+
readonly name: "Image Texture";
|
|
35
|
+
readonly inputs: readonly [readonly ["Vector", "VECTOR", readonly [0, 0, 0], true]];
|
|
36
|
+
readonly outputs: readonly [readonly ["Color", "RGBA", readonly [0, 0, 0, 0]], readonly ["Alpha", "VALUE", 0]];
|
|
37
|
+
};
|
|
38
|
+
readonly ShaderNodeUVMap: {
|
|
39
|
+
readonly type: "UVMAP";
|
|
40
|
+
readonly name: "UV Map";
|
|
41
|
+
readonly inputs: readonly [];
|
|
42
|
+
readonly outputs: readonly [readonly ["UV", "VECTOR", readonly [0, 0, 0]]];
|
|
43
|
+
};
|
|
44
|
+
readonly ShaderNodeTexCoord: {
|
|
45
|
+
readonly type: "TEX_COORD";
|
|
46
|
+
readonly name: "Texture Coordinate";
|
|
47
|
+
readonly inputs: readonly [];
|
|
48
|
+
readonly outputs: readonly [readonly ["Generated", "VECTOR", readonly [0, 0, 0]], readonly ["Normal", "VECTOR", readonly [0, 0, 0]], readonly ["UV", "VECTOR", readonly [0, 0, 0]], readonly ["Object", "VECTOR", readonly [0, 0, 0]], readonly ["Camera", "VECTOR", readonly [0, 0, 0]], readonly ["Window", "VECTOR", readonly [0, 0, 0]], readonly ["Reflection", "VECTOR", readonly [0, 0, 0]]];
|
|
49
|
+
};
|
|
50
|
+
readonly ShaderNodeMapping: {
|
|
51
|
+
readonly type: "MAPPING";
|
|
52
|
+
readonly name: "Mapping";
|
|
53
|
+
readonly inputs: readonly [readonly ["Vector", "VECTOR", readonly [0, 0, 0]], readonly ["Location", "VECTOR", readonly [0, 0, 0]], readonly ["Rotation", "VECTOR", readonly [0, 0, 0]], readonly ["Scale", "VECTOR", readonly [1, 1, 1]]];
|
|
54
|
+
readonly outputs: readonly [readonly ["Vector", "VECTOR", readonly [0, 0, 0]]];
|
|
55
|
+
};
|
|
56
|
+
readonly ShaderNodeSeparateColor: {
|
|
57
|
+
readonly type: "SEPARATE_COLOR";
|
|
58
|
+
readonly name: "Separate Color";
|
|
59
|
+
readonly inputs: readonly [readonly ["Color", "RGBA", readonly [0.8, 0.8, 0.8, 1]]];
|
|
60
|
+
readonly outputs: readonly [readonly ["Red", "VALUE", 0], readonly ["Green", "VALUE", 0], readonly ["Blue", "VALUE", 0]];
|
|
61
|
+
};
|
|
62
|
+
readonly ShaderNodeNormalMap: {
|
|
63
|
+
readonly type: "NORMAL_MAP";
|
|
64
|
+
readonly name: "Normal Map";
|
|
65
|
+
readonly inputs: readonly [readonly ["Strength", "VALUE", 1], readonly ["Color", "RGBA", readonly [0.5, 0.5, 1, 1]]];
|
|
66
|
+
readonly outputs: readonly [readonly ["Normal", "VECTOR", readonly [0, 0, 0]]];
|
|
67
|
+
};
|
|
68
|
+
};
|
|
69
|
+
export type ShaderNodeType = keyof typeof NODE_TYPES;
|
|
70
|
+
export declare const SHADER_NODE_TYPES: ShaderNodeType[];
|
|
71
|
+
/** A node's input or output. default_value is live: edit it in place or assign it. */
|
|
72
|
+
export declare class NodeSocket {
|
|
73
|
+
#private;
|
|
74
|
+
readonly node: ShaderNode;
|
|
75
|
+
readonly name: string;
|
|
76
|
+
readonly identifier: string;
|
|
77
|
+
readonly type: SocketType;
|
|
78
|
+
readonly is_output: boolean;
|
|
79
|
+
readonly hide_value: boolean;
|
|
80
|
+
enabled: boolean;
|
|
81
|
+
constructor(node: ShaderNode, [name, type, value, hideValue]: SocketSpec, isOutput: boolean);
|
|
82
|
+
get default_value(): SocketValue;
|
|
83
|
+
set default_value(value: SocketValue);
|
|
84
|
+
/** The links into (an input) or out of (an output) this socket. */
|
|
85
|
+
get links(): NodeLink[];
|
|
86
|
+
get is_linked(): boolean;
|
|
87
|
+
}
|
|
88
|
+
/** A node's sockets, by index (at), by name (get) or iterated. */
|
|
89
|
+
export interface SocketList extends Iterable<NodeSocket> {
|
|
90
|
+
readonly length: number;
|
|
91
|
+
at(index: number): NodeSocket | undefined;
|
|
92
|
+
/** By name or identifier; null when the node has none. */
|
|
93
|
+
get(name: string): NodeSocket | null;
|
|
94
|
+
}
|
|
95
|
+
/** A node type's sockets, also by name: inputs["Base Color"]. */
|
|
96
|
+
export type NodeSockets<K extends string> = Readonly<Record<K, NodeSocket>> & SocketList;
|
|
97
|
+
type InputNames<T extends ShaderNodeType> = (typeof NODE_TYPES)[T]["inputs"][number][0];
|
|
98
|
+
type OutputNames<T extends ShaderNodeType> = (typeof NODE_TYPES)[T]["outputs"][number][0];
|
|
99
|
+
/** A shader node. Its type-specific sockets and settings are on the subclasses. */
|
|
100
|
+
export declare class ShaderNode {
|
|
101
|
+
#private;
|
|
102
|
+
readonly bl_idname: ShaderNodeType;
|
|
103
|
+
readonly type: string;
|
|
104
|
+
readonly id_data: ShaderNodeTree;
|
|
105
|
+
readonly inputs: SocketList;
|
|
106
|
+
readonly outputs: SocketList;
|
|
107
|
+
label: string;
|
|
108
|
+
location: Vec2;
|
|
109
|
+
width: number;
|
|
110
|
+
select: boolean;
|
|
111
|
+
hide: boolean;
|
|
112
|
+
constructor(tree: ShaderNodeTree, idname: ShaderNodeType, name: string);
|
|
113
|
+
get name(): string;
|
|
114
|
+
/** Node names are unique in their tree; a taken name gets Blender's .001 suffix. */
|
|
115
|
+
set name(value: string);
|
|
116
|
+
get mute(): boolean;
|
|
117
|
+
set mute(value: boolean);
|
|
118
|
+
/** @internal Settings that copy with the node. */
|
|
119
|
+
settings(): Record<string, unknown>;
|
|
120
|
+
/** @internal */
|
|
121
|
+
restore(settings: Record<string, unknown>): void;
|
|
122
|
+
}
|
|
123
|
+
export declare class ShaderNodeBsdfPrincipled extends ShaderNode {
|
|
124
|
+
#private;
|
|
125
|
+
readonly bl_idname: "ShaderNodeBsdfPrincipled";
|
|
126
|
+
readonly inputs: NodeSockets<InputNames<"ShaderNodeBsdfPrincipled">>;
|
|
127
|
+
readonly outputs: NodeSockets<OutputNames<"ShaderNodeBsdfPrincipled">>;
|
|
128
|
+
get distribution(): string;
|
|
129
|
+
set distribution(value: string);
|
|
130
|
+
get subsurface_method(): string;
|
|
131
|
+
set subsurface_method(value: string);
|
|
132
|
+
settings(): Record<string, unknown>;
|
|
133
|
+
}
|
|
134
|
+
export declare class ShaderNodeOutputMaterial extends ShaderNode {
|
|
135
|
+
#private;
|
|
136
|
+
readonly bl_idname: "ShaderNodeOutputMaterial";
|
|
137
|
+
readonly inputs: NodeSockets<InputNames<"ShaderNodeOutputMaterial">>;
|
|
138
|
+
readonly outputs: NodeSockets<OutputNames<"ShaderNodeOutputMaterial">>;
|
|
139
|
+
is_active_output: boolean;
|
|
140
|
+
get target(): string;
|
|
141
|
+
set target(value: string);
|
|
142
|
+
settings(): Record<string, unknown>;
|
|
143
|
+
}
|
|
144
|
+
export type ImageInterpolation = "Linear" | "Closest" | "Cubic" | "Smart";
|
|
145
|
+
export type ImageExtension = "REPEAT" | "EXTEND" | "CLIP" | "MIRROR";
|
|
146
|
+
export declare class ShaderNodeTexImage extends ShaderNode {
|
|
147
|
+
#private;
|
|
148
|
+
readonly bl_idname: "ShaderNodeTexImage";
|
|
149
|
+
readonly inputs: NodeSockets<InputNames<"ShaderNodeTexImage">>;
|
|
150
|
+
readonly outputs: NodeSockets<OutputNames<"ShaderNodeTexImage">>;
|
|
151
|
+
projection_blend: number;
|
|
152
|
+
get image(): ModelImage | null;
|
|
153
|
+
set image(value: ModelImage | null);
|
|
154
|
+
get interpolation(): ImageInterpolation;
|
|
155
|
+
set interpolation(value: string);
|
|
156
|
+
get projection(): string;
|
|
157
|
+
set projection(value: string);
|
|
158
|
+
get extension(): ImageExtension;
|
|
159
|
+
set extension(value: string);
|
|
160
|
+
settings(): Record<string, unknown>;
|
|
161
|
+
}
|
|
162
|
+
export declare class ShaderNodeUVMap extends ShaderNode {
|
|
163
|
+
readonly bl_idname: "ShaderNodeUVMap";
|
|
164
|
+
readonly inputs: NodeSockets<InputNames<"ShaderNodeUVMap">>;
|
|
165
|
+
readonly outputs: NodeSockets<OutputNames<"ShaderNodeUVMap">>;
|
|
166
|
+
/** A UV layer's name; empty reads the mesh's active UV layer. */
|
|
167
|
+
uv_map: string;
|
|
168
|
+
from_instancer: boolean;
|
|
169
|
+
settings(): Record<string, unknown>;
|
|
170
|
+
}
|
|
171
|
+
export declare class ShaderNodeTexCoord extends ShaderNode {
|
|
172
|
+
readonly bl_idname: "ShaderNodeTexCoord";
|
|
173
|
+
readonly inputs: NodeSockets<InputNames<"ShaderNodeTexCoord">>;
|
|
174
|
+
readonly outputs: NodeSockets<OutputNames<"ShaderNodeTexCoord">>;
|
|
175
|
+
from_instancer: boolean;
|
|
176
|
+
settings(): Record<string, unknown>;
|
|
177
|
+
}
|
|
178
|
+
export declare class ShaderNodeMapping extends ShaderNode {
|
|
179
|
+
#private;
|
|
180
|
+
readonly bl_idname: "ShaderNodeMapping";
|
|
181
|
+
readonly inputs: NodeSockets<InputNames<"ShaderNodeMapping">>;
|
|
182
|
+
readonly outputs: NodeSockets<OutputNames<"ShaderNodeMapping">>;
|
|
183
|
+
get vector_type(): string;
|
|
184
|
+
set vector_type(value: string);
|
|
185
|
+
settings(): Record<string, unknown>;
|
|
186
|
+
}
|
|
187
|
+
export declare class ShaderNodeSeparateColor extends ShaderNode {
|
|
188
|
+
#private;
|
|
189
|
+
readonly bl_idname: "ShaderNodeSeparateColor";
|
|
190
|
+
readonly inputs: NodeSockets<InputNames<"ShaderNodeSeparateColor">>;
|
|
191
|
+
readonly outputs: NodeSockets<OutputNames<"ShaderNodeSeparateColor">>;
|
|
192
|
+
get mode(): string;
|
|
193
|
+
set mode(value: string);
|
|
194
|
+
settings(): Record<string, unknown>;
|
|
195
|
+
}
|
|
196
|
+
export declare class ShaderNodeNormalMap extends ShaderNode {
|
|
197
|
+
#private;
|
|
198
|
+
readonly bl_idname: "ShaderNodeNormalMap";
|
|
199
|
+
readonly inputs: NodeSockets<InputNames<"ShaderNodeNormalMap">>;
|
|
200
|
+
readonly outputs: NodeSockets<OutputNames<"ShaderNodeNormalMap">>;
|
|
201
|
+
/** The UV layer the tangents come from; empty reads the active UV layer. */
|
|
202
|
+
uv_map: string;
|
|
203
|
+
get space(): string;
|
|
204
|
+
set space(value: string);
|
|
205
|
+
settings(): Record<string, unknown>;
|
|
206
|
+
}
|
|
207
|
+
declare const NODE_CLASSES: {
|
|
208
|
+
readonly ShaderNodeBsdfPrincipled: typeof ShaderNodeBsdfPrincipled;
|
|
209
|
+
readonly ShaderNodeOutputMaterial: typeof ShaderNodeOutputMaterial;
|
|
210
|
+
readonly ShaderNodeTexImage: typeof ShaderNodeTexImage;
|
|
211
|
+
readonly ShaderNodeUVMap: typeof ShaderNodeUVMap;
|
|
212
|
+
readonly ShaderNodeTexCoord: typeof ShaderNodeTexCoord;
|
|
213
|
+
readonly ShaderNodeMapping: typeof ShaderNodeMapping;
|
|
214
|
+
readonly ShaderNodeSeparateColor: typeof ShaderNodeSeparateColor;
|
|
215
|
+
readonly ShaderNodeNormalMap: typeof ShaderNodeNormalMap;
|
|
216
|
+
};
|
|
217
|
+
export type NodeOf<T extends ShaderNodeType> = InstanceType<(typeof NODE_CLASSES)[T]>;
|
|
218
|
+
export type AnyShaderNode = NodeOf<ShaderNodeType>;
|
|
219
|
+
/** node_tree.nodes */
|
|
220
|
+
export declare class TreeNodes implements Iterable<AnyShaderNode> {
|
|
221
|
+
#private;
|
|
222
|
+
constructor(tree: ShaderNodeTree);
|
|
223
|
+
/** A node of a supported type; other Blender node types are refused. */
|
|
224
|
+
new<T extends ShaderNodeType>(type: T): NodeOf<T>;
|
|
225
|
+
get(name: string): AnyShaderNode | null;
|
|
226
|
+
at(index: number): AnyShaderNode | undefined;
|
|
227
|
+
/** Removes the node and every link to or from it. */
|
|
228
|
+
remove(node: ShaderNode): void;
|
|
229
|
+
clear(): void;
|
|
230
|
+
get length(): number;
|
|
231
|
+
[Symbol.iterator](): Iterator<AnyShaderNode>;
|
|
232
|
+
}
|
|
233
|
+
export declare class NodeLink {
|
|
234
|
+
readonly from_socket: NodeSocket;
|
|
235
|
+
readonly to_socket: NodeSocket;
|
|
236
|
+
constructor(from: NodeSocket, to: NodeSocket);
|
|
237
|
+
get from_node(): ShaderNode;
|
|
238
|
+
get to_node(): ShaderNode;
|
|
239
|
+
readonly is_valid = true;
|
|
240
|
+
readonly is_muted = false;
|
|
241
|
+
}
|
|
242
|
+
/** node_tree.links */
|
|
243
|
+
export declare class TreeLinks implements Iterable<NodeLink> {
|
|
244
|
+
#private;
|
|
245
|
+
constructor(tree: ShaderNodeTree);
|
|
246
|
+
/**
|
|
247
|
+
* A link from an output to an input, given in either order as Blender takes
|
|
248
|
+
* them. An input holds one link: a new one replaces it. Cycles are refused.
|
|
249
|
+
*/
|
|
250
|
+
new(a: NodeSocket, b: NodeSocket, verify_limits?: boolean): NodeLink;
|
|
251
|
+
remove(link: NodeLink): void;
|
|
252
|
+
clear(): void;
|
|
253
|
+
get length(): number;
|
|
254
|
+
at(index: number): NodeLink | undefined;
|
|
255
|
+
[Symbol.iterator](): Iterator<NodeLink>;
|
|
256
|
+
/** @internal */
|
|
257
|
+
of(socket: NodeSocket): NodeLink[];
|
|
258
|
+
/** @internal */
|
|
259
|
+
dropNode(node: ShaderNode): void;
|
|
260
|
+
}
|
|
261
|
+
/** A material's node tree (material.node_tree). */
|
|
262
|
+
export declare class ShaderNodeTree {
|
|
263
|
+
#private;
|
|
264
|
+
readonly owner: symbol;
|
|
265
|
+
readonly bl_idname = "ShaderNodeTree";
|
|
266
|
+
readonly nodes: TreeNodes;
|
|
267
|
+
readonly links: TreeLinks;
|
|
268
|
+
constructor(owner: symbol, alive: () => boolean);
|
|
269
|
+
/** @internal */
|
|
270
|
+
assertAlive(): void;
|
|
271
|
+
/** @internal Blender's default tree: a Principled BSDF into a Material Output. */
|
|
272
|
+
static standard(owner: symbol, alive: () => boolean): ShaderNodeTree;
|
|
273
|
+
/** @internal A deep copy: nodes, their settings, socket values and links. */
|
|
274
|
+
copy(owner: symbol, alive: () => boolean): ShaderNodeTree;
|
|
275
|
+
/** @internal A comparable description, for the evaluation guard. */
|
|
276
|
+
describe(): unknown;
|
|
277
|
+
}
|
|
278
|
+
export {};
|
|
279
|
+
//# sourceMappingURL=material-nodes.d.ts.map
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { type ModelMesh } from "./data.js";
|
|
2
|
+
/** Initial Blender FLOAT/EDGE attribute storage; values are validated at evaluation. */
|
|
3
|
+
export declare class MeshFloatAttribute {
|
|
4
|
+
readonly domain = "EDGE";
|
|
5
|
+
readonly data_type = "FLOAT";
|
|
6
|
+
readonly data: {
|
|
7
|
+
value: number;
|
|
8
|
+
}[];
|
|
9
|
+
name: string;
|
|
10
|
+
constructor(name: string, size: number);
|
|
11
|
+
}
|
|
12
|
+
export declare class MeshAttributes implements Iterable<MeshFloatAttribute> {
|
|
13
|
+
private entries;
|
|
14
|
+
private readonly mesh;
|
|
15
|
+
constructor(mesh: ModelMesh);
|
|
16
|
+
new(name: string, type: string, domain: string): MeshFloatAttribute;
|
|
17
|
+
get(name: string): MeshFloatAttribute | null;
|
|
18
|
+
get length(): number;
|
|
19
|
+
remove(attribute: MeshFloatAttribute): void;
|
|
20
|
+
clear(): void;
|
|
21
|
+
[Symbol.iterator](): Iterator<MeshFloatAttribute>;
|
|
22
|
+
/** @internal Adopt fully validated attribute storage during atomic mesh application. */
|
|
23
|
+
adopt(source: MeshAttributes): void;
|
|
24
|
+
/** @internal Clone values without retaining mutable element identities. */
|
|
25
|
+
copyFrom(source: MeshAttributes): void;
|
|
26
|
+
}
|
|
27
|
+
//# sourceMappingURL=mesh-attributes.d.ts.map
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
import type { Vec3 } from "./data.js";
|
|
2
|
+
/**
|
|
3
|
+
* What Blender computes from a mesh's positions on demand: a polygon's normal,
|
|
4
|
+
* center and area and a vertex's normal (MeshPolygon.normal, .center, .area,
|
|
5
|
+
* MeshVertex.normal). Measured against Blender 4.5.14
|
|
6
|
+
* (test/mesh-query-reference.test.ts).
|
|
7
|
+
*/
|
|
8
|
+
interface Positions {
|
|
9
|
+
readonly vertices: readonly {
|
|
10
|
+
readonly co: Vec3;
|
|
11
|
+
}[];
|
|
12
|
+
}
|
|
13
|
+
interface Corners {
|
|
14
|
+
readonly vertices: readonly number[];
|
|
15
|
+
}
|
|
16
|
+
/** The unit normal; a polygon with no area faces +Z, as in Blender. */
|
|
17
|
+
export declare function polygonNormal(mesh: Positions, polygon: Corners): Vec3;
|
|
18
|
+
/** The mean of the polygon's vertices. */
|
|
19
|
+
export declare function polygonCenter(mesh: Positions, polygon: Corners): Vec3;
|
|
20
|
+
/** The area: of the polygon's projection along its normal, when it is not planar. */
|
|
21
|
+
export declare function polygonArea(mesh: Positions, polygon: Corners): number;
|
|
22
|
+
type Mesh = Positions & {
|
|
23
|
+
readonly polygons: readonly Corners[];
|
|
24
|
+
};
|
|
25
|
+
/**
|
|
26
|
+
* Every vertex's normal: the normals of the polygons around it, each weighted
|
|
27
|
+
* by the polygon's angle at the vertex. A vertex on no polygon points away
|
|
28
|
+
* from the origin; one whose polygons cancel out has a zero normal.
|
|
29
|
+
*/
|
|
30
|
+
export declare function vertexNormals(mesh: Mesh): Vec3[];
|
|
31
|
+
/** One vertex's normal, as vertexNormals gives it (it reads every polygon). */
|
|
32
|
+
export declare function vertexNormal(mesh: Mesh, index: number): Vec3;
|
|
33
|
+
export {};
|
|
34
|
+
//# sourceMappingURL=mesh-queries.d.ts.map
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
/** Name allocation is separate for global IDs and object/custom-data lists. */
|
|
2
|
+
export type NameDomain = "ID" | "LOCAL" | "UV";
|
|
3
|
+
/**
|
|
4
|
+
* Independently implement pinned allocation behavior, without Blender code.
|
|
5
|
+
* ID collisions reuse low suffix holes; local lists increment the requested
|
|
6
|
+
* suffix. Long IDs shorten and retry; local lists reserve suffix byte space.
|
|
7
|
+
*/
|
|
8
|
+
export declare function allocateName(requested: string, names: Iterable<string>, domain: NameDomain): string;
|
|
9
|
+
//# sourceMappingURL=names.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { Matrix4 } from "three";
|
|
2
|
+
import { type ArrayModifier, type MirrorModifier } from "./data.js";
|
|
3
|
+
import { type Geometry } from "./geometry.js";
|
|
4
|
+
export interface MirrorStep {
|
|
5
|
+
type: "MIRROR";
|
|
6
|
+
settings: Pick<MirrorModifier, "use_axis" | "use_mirror_merge" | "use_mirror_vertex_groups" | "merge_threshold" | "use_mirror_u" | "use_mirror_v" | "offset_u" | "offset_v" | "mirror_offset_u" | "mirror_offset_v">;
|
|
7
|
+
/** Mirror object's coordinates to the modified object's local coordinates. */
|
|
8
|
+
relative: Matrix4;
|
|
9
|
+
label: string;
|
|
10
|
+
}
|
|
11
|
+
export interface ArrayStep {
|
|
12
|
+
type: "ARRAY";
|
|
13
|
+
settings: Pick<ArrayModifier, "fit_type" | "count" | "fit_length" | "use_relative_offset" | "relative_offset_displace" | "use_constant_offset" | "constant_offset_displace" | "use_merge_vertices" | "use_merge_vertices_cap" | "merge_threshold" | "offset_u" | "offset_v">;
|
|
14
|
+
relative: Matrix4;
|
|
15
|
+
label: string;
|
|
16
|
+
}
|
|
17
|
+
export declare function snapshotMirror(modifier: MirrorModifier, relative: Matrix4, label: string): MirrorStep;
|
|
18
|
+
export declare function snapshotArray(modifier: ArrayModifier, relative: Matrix4, label: string): ArrayStep;
|
|
19
|
+
export declare function mirrorGeometry(source: Geometry, step: MirrorStep, maxVertices?: number): Geometry;
|
|
20
|
+
export declare function arrayGeometry(source: Geometry, step: ArrayStep, maxVertices?: number): Geometry;
|
|
21
|
+
//# sourceMappingURL=patterns.d.ts.map
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* An 8-bit PNG of RGBA pixels, rows top to bottom: RGBA with alpha, else RGB.
|
|
3
|
+
* Unfiltered rows and fixed deflate settings make the same bytes every time.
|
|
4
|
+
*/
|
|
5
|
+
export declare function encodePng(width: number, height: number, rgba: Uint8Array, alpha: boolean): Uint8Array;
|
|
6
|
+
/** A PNG's or JPEG's kind and size from its header, or null for anything else. */
|
|
7
|
+
export declare function imageInfo(bytes: Uint8Array): {
|
|
8
|
+
mimeType: "image/png" | "image/jpeg";
|
|
9
|
+
width: number;
|
|
10
|
+
height: number;
|
|
11
|
+
} | null;
|
|
12
|
+
//# sourceMappingURL=png.d.ts.map
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/** The first place in the program's own files that a stack passes through. */
|
|
2
|
+
export declare function programLocation(stack: string, own: (path: string) => boolean): {
|
|
3
|
+
path: string;
|
|
4
|
+
line: number;
|
|
5
|
+
column: number;
|
|
6
|
+
} | undefined;
|
|
7
|
+
//# sourceMappingURL=program-location.d.ts.map
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A built model as plain data: what `allyhub model inspect` and `model build`
|
|
3
|
+
* print. Bounds are world-space surface bounds in Blender Z-up metres; a
|
|
4
|
+
* transform-only object's are null. Textures name their image and where it
|
|
5
|
+
* comes from, never its pixels.
|
|
6
|
+
*/
|
|
7
|
+
import type { EvaluatedCurveSpline, EvaluatedModel, Surface, SurfaceTexture } from "./evaluate.js";
|
|
8
|
+
import type { Vec3 } from "./data.js";
|
|
9
|
+
import type { ImageColorSpace } from "./image.js";
|
|
10
|
+
export interface TextureReport {
|
|
11
|
+
image: string;
|
|
12
|
+
colorSpace: ImageColorSpace;
|
|
13
|
+
/** A project path, for an image read from a file. */
|
|
14
|
+
file?: string;
|
|
15
|
+
/** Width and height, for an image made of pixels. */
|
|
16
|
+
size?: [number | undefined, number | undefined];
|
|
17
|
+
uvMap: string | null;
|
|
18
|
+
interpolation: SurfaceTexture["interpolation"];
|
|
19
|
+
extension: SurfaceTexture["extension"];
|
|
20
|
+
transform?: NonNullable<SurfaceTexture["transform"]>;
|
|
21
|
+
}
|
|
22
|
+
export type MaterialReport = Omit<Surface, "baseColorTexture" | "metallicRoughnessTexture" | "normalTexture" | "emissionTexture"> & {
|
|
23
|
+
baseColorTexture: TextureReport | undefined;
|
|
24
|
+
metallicRoughnessTexture: TextureReport | undefined;
|
|
25
|
+
normalTexture: (TextureReport & {
|
|
26
|
+
scale: number;
|
|
27
|
+
}) | undefined;
|
|
28
|
+
emissionTexture: TextureReport | undefined;
|
|
29
|
+
};
|
|
30
|
+
export interface ObjectReport {
|
|
31
|
+
name: string;
|
|
32
|
+
parent: string | null | undefined;
|
|
33
|
+
matrix: number[];
|
|
34
|
+
bounds: {
|
|
35
|
+
min: Vec3;
|
|
36
|
+
max: Vec3;
|
|
37
|
+
} | null;
|
|
38
|
+
triangles: number;
|
|
39
|
+
/** One per primitive, in order. */
|
|
40
|
+
materials: (MaterialReport | null)[];
|
|
41
|
+
uvLayers: string[];
|
|
42
|
+
data?: string;
|
|
43
|
+
instance?: {
|
|
44
|
+
object: string;
|
|
45
|
+
collection: string;
|
|
46
|
+
instancer: string;
|
|
47
|
+
};
|
|
48
|
+
curve?: {
|
|
49
|
+
splines: EvaluatedCurveSpline[];
|
|
50
|
+
bounds: {
|
|
51
|
+
min: Vec3;
|
|
52
|
+
max: Vec3;
|
|
53
|
+
} | null;
|
|
54
|
+
};
|
|
55
|
+
}
|
|
56
|
+
export interface ModelReport {
|
|
57
|
+
/** The model's module. */
|
|
58
|
+
file: string;
|
|
59
|
+
/** The GLB written, when the build exported one. */
|
|
60
|
+
glb?: string;
|
|
61
|
+
schemaVersion: EvaluatedModel["schemaVersion"];
|
|
62
|
+
seed: number;
|
|
63
|
+
units: EvaluatedModel["units"];
|
|
64
|
+
upAxis: EvaluatedModel["upAxis"];
|
|
65
|
+
triangles: number;
|
|
66
|
+
objects: ObjectReport[];
|
|
67
|
+
}
|
|
68
|
+
/** A built model's report; `file` names its module, `seed` the seed it was built with. */
|
|
69
|
+
export declare function modelReport(model: EvaluatedModel, file: string, seed: number): ModelReport;
|
|
70
|
+
//# sourceMappingURL=report.d.ts.map
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Matrix4 } from "three";
|
|
2
|
+
import { type ScrewModifier, type Vec3 } from "./data.js";
|
|
3
|
+
import { type Geometry } from "./geometry.js";
|
|
4
|
+
import type { Surface } from "./evaluate.js";
|
|
5
|
+
/** A wire profile: vertices and loose edges, as a mesh or a curve without a surface gives them. */
|
|
6
|
+
export interface Wire {
|
|
7
|
+
vertices: Vec3[];
|
|
8
|
+
edges: [number, number][];
|
|
9
|
+
/** UV layers the revolved surface gets: a mesh's own layer names, or UVMap for a curve. */
|
|
10
|
+
uvLayers: string[];
|
|
11
|
+
}
|
|
12
|
+
export interface ScrewStep {
|
|
13
|
+
type: "SCREW";
|
|
14
|
+
label: string;
|
|
15
|
+
wire: Wire;
|
|
16
|
+
materials: (Surface | null)[];
|
|
17
|
+
origin: Vec3;
|
|
18
|
+
axis: Vec3;
|
|
19
|
+
angle: number;
|
|
20
|
+
steps: number;
|
|
21
|
+
iterations: number;
|
|
22
|
+
offset: number;
|
|
23
|
+
merge: number | null;
|
|
24
|
+
calculate: boolean;
|
|
25
|
+
flip: boolean;
|
|
26
|
+
smooth: boolean;
|
|
27
|
+
stretchU: boolean;
|
|
28
|
+
stretchV: boolean;
|
|
29
|
+
}
|
|
30
|
+
/** Snapshot a Screw modifier with the wire it revolves (relative: the axis object's frame, if any). */
|
|
31
|
+
export declare function snapshotScrew(modifier: ScrewModifier, mode: "RENDER" | "VIEWPORT", relative: Matrix4 | null, wire: Wire, materials: (Surface | null)[], label: string): ScrewStep;
|
|
32
|
+
/**
|
|
33
|
+
* Revolve a wire profile as Blender's Screw modifier does (measured): copies of the
|
|
34
|
+
* vertices step by step, a face per edge and step (edge-major), merged on-axis
|
|
35
|
+
* vertices kept once, UVs from the step and the height along the axis.
|
|
36
|
+
*/
|
|
37
|
+
export declare function screwGeometry(step: ScrewStep, maxSurfaceVertices: number): Geometry;
|
|
38
|
+
//# sourceMappingURL=screw.d.ts.map
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type SolidifyModifier } from "./data.js";
|
|
2
|
+
import { type Geometry } from "./geometry.js";
|
|
3
|
+
export interface SolidifyStep {
|
|
4
|
+
type: "SOLIDIFY";
|
|
5
|
+
label: string;
|
|
6
|
+
settings: Pick<SolidifyModifier, "thickness" | "offset" | "use_even_offset" | "use_quality_normals" | "use_rim" | "use_rim_only" | "use_flip_normals" | "material_offset" | "material_offset_rim" | "thickness_clamp">;
|
|
7
|
+
}
|
|
8
|
+
export declare function snapshotSolidify(modifier: SolidifyModifier, label: string): SolidifyStep;
|
|
9
|
+
/** Offset an oriented manifold surface, retaining polygon and face-corner domains. */
|
|
10
|
+
export declare function solidifyGeometry(source: Geometry, step: SolidifyStep, maxVertices?: number): Geometry;
|
|
11
|
+
//# sourceMappingURL=solidify.d.ts.map
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { type SubsurfModifier } from "./data.js";
|
|
2
|
+
import { type Geometry } from "./geometry.js";
|
|
3
|
+
import type { SubdivisionKernel } from "./generated/opensubdiv.mjs";
|
|
4
|
+
export interface SubdivisionStep {
|
|
5
|
+
type: "SUBSURF";
|
|
6
|
+
label: string;
|
|
7
|
+
levels: number;
|
|
8
|
+
quality: number;
|
|
9
|
+
simple: boolean;
|
|
10
|
+
limit: boolean;
|
|
11
|
+
boundary: number;
|
|
12
|
+
uvMode: number;
|
|
13
|
+
/** Whether the crease_edge attribute sharpens edges (use_creases). */
|
|
14
|
+
creases: boolean;
|
|
15
|
+
}
|
|
16
|
+
export declare function snapshotSubdivision(modifier: SubsurfModifier, mode: "RENDER" | "VIEWPORT", label: string): SubdivisionStep;
|
|
17
|
+
export declare function subdivisionKernel(): Promise<SubdivisionKernel>;
|
|
18
|
+
/** OpenSubdiv's sharpness for a Blender crease value in [0, 1] (measured). */
|
|
19
|
+
export declare function creaseSharpness(crease: number): number;
|
|
20
|
+
export declare function subdivideGeometry(source: Geometry, step: SubdivisionStep, maxVertices?: number): Promise<Geometry>;
|
|
21
|
+
//# sourceMappingURL=subdivision.d.ts.map
|
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The model as three.js objects: the adapter a scenery uses to place a model
|
|
3
|
+
* built in its own page. The core of the package has no three.js scene
|
|
4
|
+
* objects; this entry is the only one that makes them.
|
|
5
|
+
*/
|
|
6
|
+
import type { EvaluationCache } from "./evaluation-cache.js";
|
|
7
|
+
import { Group, type Texture } from "three";
|
|
8
|
+
import { type EvaluatedModel } from "./evaluate.js";
|
|
9
|
+
import { type ModelDefinition, type ModelParameters } from "./data.js";
|
|
10
|
+
import type { EvaluatedImage } from "./image.js";
|
|
11
|
+
/**
|
|
12
|
+
* Convert the exact evaluated mesh used by GLB export into a preview hierarchy.
|
|
13
|
+
* File images come loaded in `files` (modelObject loads them); pixels a model
|
|
14
|
+
* made become textures here. Textures sample, wrap and transform as glTF
|
|
15
|
+
* viewers read the exported file (three's GLTFLoader).
|
|
16
|
+
*/
|
|
17
|
+
export declare function modelGroup(model: EvaluatedModel, files?: ReadonlyMap<EvaluatedImage, Texture>): Group;
|
|
18
|
+
/** How a model is built for a scenery: `buildModel`'s options. */
|
|
19
|
+
export interface ModelBuildOptions {
|
|
20
|
+
seed?: number | undefined;
|
|
21
|
+
maxPatternVertices?: number | undefined;
|
|
22
|
+
maxSurfaceVertices?: number | undefined;
|
|
23
|
+
maxInstances?: number | undefined;
|
|
24
|
+
/** Results kept between rebuilds (`createEvaluationCache()`); see `evaluate`. */
|
|
25
|
+
cache?: EvaluationCache | undefined;
|
|
26
|
+
}
|
|
27
|
+
/**
|
|
28
|
+
* Where a model's image files are read: a scenery's host passes itself (its
|
|
29
|
+
* `texture` reads a picture as it reads any other, and records the read).
|
|
30
|
+
*/
|
|
31
|
+
export interface ModelTextures {
|
|
32
|
+
texture(file: string, options: {
|
|
33
|
+
colorSpace: "srgb" | "linear";
|
|
34
|
+
}): Promise<Texture>;
|
|
35
|
+
}
|
|
36
|
+
/**
|
|
37
|
+
* A model as a three.js object for a scenery of one's own: built, its image
|
|
38
|
+
* files read as the scenery reads any picture, drawn as its GLB is. The group
|
|
39
|
+
* turns Blender's Z up to the world's Y up with its own rotation, so a scenery
|
|
40
|
+
* places it inside a group of its own. It is not added to the scene.
|
|
41
|
+
*/
|
|
42
|
+
export declare function modelObject(w: ModelTextures, model: ModelDefinition, parameters?: ModelParameters, options?: ModelBuildOptions): Promise<Group>;
|
|
43
|
+
//# sourceMappingURL=three.d.ts.map
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
import { type Vec3 } from "./data.js";
|
|
2
|
+
import type { BMesh, BMFace, BMUVLayer } from "./bmesh-data.js";
|
|
3
|
+
/**
|
|
4
|
+
* UV projections as Blender 4.5.14's bpy.ops.uv operators make them (measured,
|
|
5
|
+
* see blender-uv.py), as functions of a BMesh and explicit faces: no edit mode,
|
|
6
|
+
* no selection and no 3D view. Every value the operator reads from the scene
|
|
7
|
+
* (the projection's centre and frame, the cube size) is a parameter with
|
|
8
|
+
* Blender's default.
|
|
9
|
+
*/
|
|
10
|
+
/** What every projection takes. */
|
|
11
|
+
export interface ProjectionOptions {
|
|
12
|
+
/** The faces to project; all of the BMesh's by default (Blender: the selected faces). */
|
|
13
|
+
faces?: readonly BMFace[];
|
|
14
|
+
/** The UV layer to write; the active one by default, made if there is none. */
|
|
15
|
+
uv_layer?: BMUVLayer;
|
|
16
|
+
/** Scale the result to fill [0, 1] on each axis (Blender's scale_to_bounds). */
|
|
17
|
+
scale_to_bounds?: boolean;
|
|
18
|
+
/** Clamp the result to [0, 1] (Blender's clip_to_bounds; ignored with scale_to_bounds). */
|
|
19
|
+
clip_to_bounds?: boolean;
|
|
20
|
+
}
|
|
21
|
+
/** The centre and frame a projection is made in: Blender's ALIGN_TO_OBJECT. */
|
|
22
|
+
export interface FrameOptions {
|
|
23
|
+
/** The projection's centre in mesh coordinates: by default the centre of the faces' bounds. */
|
|
24
|
+
center?: Vec3;
|
|
25
|
+
/**
|
|
26
|
+
* Rows of a 3x3 rotation from mesh coordinates to the projection's frame, whose
|
|
27
|
+
* Z is the axis (Blender: the object's own axes); identity by default.
|
|
28
|
+
*/
|
|
29
|
+
orientation?: readonly (readonly number[])[];
|
|
30
|
+
/** POLAR_ZX (default) or POLAR_ZY: which side the U seam is on. */
|
|
31
|
+
align?: "POLAR_ZX" | "POLAR_ZY";
|
|
32
|
+
/** PINCH (default) leaves a corner on the axis as it falls; FAN gives it its face's mean U. */
|
|
33
|
+
pole?: "PINCH" | "FAN";
|
|
34
|
+
/** Blender's view-based directions need a 3D view; only ALIGN_TO_OBJECT is offered. */
|
|
35
|
+
direction?: "ALIGN_TO_OBJECT";
|
|
36
|
+
/** Blender's seam option: only false (the default) is offered (see capabilities). */
|
|
37
|
+
seam?: boolean;
|
|
38
|
+
}
|
|
39
|
+
/**
|
|
40
|
+
* bpy.ops.uv.cube_project: each face projected along its normal's dominant axis
|
|
41
|
+
* (ties go to Z, then Y), u = (p - center) / cube_size + 0.5 on the other two.
|
|
42
|
+
* cube_size defaults to the BMesh's largest bounds side (Blender: the object's
|
|
43
|
+
* largest dimension when the operator's size is not set).
|
|
44
|
+
*/
|
|
45
|
+
export declare function cube_project(bm: BMesh, options?: ProjectionOptions & {
|
|
46
|
+
cube_size?: number;
|
|
47
|
+
center?: Vec3;
|
|
48
|
+
}): void;
|
|
49
|
+
/**
|
|
50
|
+
* bpy.ops.uv.cylinder_project with ALIGN_TO_OBJECT: U from the angle about the
|
|
51
|
+
* frame's Z axis (POLAR_ZX: U 0 towards -Y; POLAR_ZY a quarter turn on), V = z / 2 + 0.5.
|
|
52
|
+
* Blender's radius has no effect in this direction, so it is not taken.
|
|
53
|
+
*/
|
|
54
|
+
export declare function cylinder_project(bm: BMesh, options?: ProjectionOptions & FrameOptions): void;
|
|
55
|
+
/** bpy.ops.uv.sphere_project with ALIGN_TO_OBJECT: U as the cylinder's, V from the elevation. */
|
|
56
|
+
export declare function sphere_project(bm: BMesh, options?: ProjectionOptions & FrameOptions): void;
|
|
57
|
+
/**
|
|
58
|
+
* bpy.ops.uv.reset: each face fills the unit square, a triangle (0,0) (1,0) (1,1),
|
|
59
|
+
* a polygon of n corners around the unit circle from the top, clockwise.
|
|
60
|
+
*/
|
|
61
|
+
export declare function reset(bm: BMesh, options?: Pick<ProjectionOptions, "faces" | "uv_layer">): void;
|
|
62
|
+
//# sourceMappingURL=uv-project.d.ts.map
|