← Commit history
README.md+7−5@@ -215,11 +215,13 @@ both frame and light correctly without a unit setting. `Adom3DViewerBabylon9.BABYLON` (also `window.BABYLON`) holds the Babylon classes host pages commonly use, bundled with the viewer: Vector2/3/4, Quaternion, Matrix, Color3/4, Axis, Space, Scalar, Mesh, AbstractMesh,-TransformNode, MeshBuilder, VertexData, VertexBuffer, StandardMaterial,-PBRMaterial, PBRMetallicRoughnessMaterial, Texture, DynamicTexture, CubeTexture,-RenderTargetTexture, SceneLoader, DracoCompression, Animation, AnimationGroup,-ArcRotateCamera, the four light types, ShadowGenerator, Tools, Observable,-PointerEventTypes, KeyboardEventTypes, Ray, Engine and Scene. chiplinter's+TransformNode, MeshBuilder, VertexData, VertexBuffer, Material, StandardMaterial,+PBRMaterial, PBRMetallicRoughnessMaterial, ImageProcessingConfiguration, Texture,+DynamicTexture, CubeTexture, RenderTargetTexture, SceneLoader,+LoadAssetContainerAsync, DracoCompression, DracoDecoder, Animation,+AnimationGroup, ArcRotateCamera, the four light types, ShadowGenerator, Layer,+HighlightLayer, GlowLayer, Tools, Observable, PointerEventTypes,+KeyboardEventTypes, Ray, PickingInfo, Engine, EngineStore and Scene. chiplinter's `V.BABYLON.MeshBuilder.CreateDisc`, `V.BABYLON.PBRMaterial` and `V.BABYLON.Tools.CreateScreenshotUsingRenderTarget` work as before.
VERSION+1−1@@ -1 +1 @@-0.12.0+0.12.1
package.json+7−43@@ -1,49 +1,9 @@ { "name": "adom-3d-viewer-babylon9",- "version": "0.12.0",+ "version": "0.12.1", "description": "The Babylon 9.5 engine behind every component page's 3D tab on wiki.adom.inc. Versioned ESM bundle with GLB loading, view cube, layers toolbar, ground shadows, and Z-up CAD framing.", "type": "app",- "main": "./dist/index.js",- "module": "./dist/index.js",- "types": "./dist/index.d.ts",- "exports": {- ".": {- "import": "./dist/index.js",- "types": "./dist/index.d.ts"- }- },- "files": [- "dist",- "dist-standalone",- "src",- "standalone.ts"- ],- "scripts": {- "build": "vite build",- "build:standalone": "vite build --config vite.standalone.config.mts",- "dev": "vite build --watch",- "prepare": "npm run build",- "test:sandbox": "node test/wiki-sandbox.test.mjs",- "test:orbit": "node test/orbit.test.mjs",- "test": "node test/wiki-sandbox.test.mjs && node test/orbit.test.mjs && node test/viewcube.test.mjs && node test/help.test.mjs && node test/lights.test.mjs && node test/replace.test.mjs && node test/layers.test.mjs && node test/bundle.test.mjs",- "test:viewcube": "node test/viewcube.test.mjs",- "test:help": "node test/help.test.mjs",- "test:lights": "node test/lights.test.mjs",- "test:replace": "node test/replace.test.mjs",- "test:layers": "node test/layers.test.mjs",- "test:bundle": "node test/bundle.test.mjs"- }, "dependencies": {},- "devDependencies": {- "@sveltejs/vite-plugin-svelte": "^3.1.2",- "svelte-check": "^3.8.6",- "terser": "^5.46.2",- "typescript": "^5.5.4",- "vite": "^5.4.1"- },- "peerDependencies": {- "svelte": "^4.0.0 || ^5.0.0"- }, "slug": "adom-3d-viewer", "license": "MIT", "tags": [@@ -77,5 +37,9 @@ "prompt": "Download the 0.4.3 viewer bundle so my tool vendors a fixed build" } ],- "title": "Adom 3D Viewer"-}+ "title": "Adom 3D Viewer",+ "scripts": {+ "install": "./install.sh",+ "uninstall": "./uninstall.sh"+ }+}
page.json+3−18@@ -4,7 +4,7 @@ "slug": "adom-3d-viewer", "title": "Adom 3D Viewer", "brief": "The Babylon 9.5 engine behind every component page's 3D tab on wiki.adom.inc. Versioned ESM bundle with GLB loading, view cube, layers toolbar, ground shadows, and Z-up CAD framing.",- "version": "0.12.0",+ "version": "0.12.1", "tags": [ "3d", "viewer",@@ -19,22 +19,7 @@ "show a pcb or component in 3d", "babylon viewer for adom pages", "load the adom 3d viewer bundle",- "layers toolbar for a 3d board view",- "show it in 3d",- "show the probing in 3d",- "3d view of the workcell",- "3d animation",- "animate it in 3d",- "digital twin in 3d",- "3d dashboard",- "build a 3d viewer",- "make a 3d view",- "render a glb in a page",- "three.js viewer",- "threejs scene",- "webgl viewer",- "visualize in 3d",- "3d preview of the layout"+ "layers toolbar for a 3d board view" ], "discovery_pitch": "The Babylon 9.5 ESM viewer engine that renders every component page's 3D tab on wiki.adom.inc: GLB loading, view cube, layers toolbar, shadows, laser-etch text, Z-up CAD framing.", "install": {@@ -75,4 +60,4 @@ "uninstall": "./uninstall.sh" }, "org": "adom"-}+}