/3d-application | Type: Embedded | PCID required: No
Generate HTML pages with interactive 3D model viewers using Google model-viewer. Supports GLB and GLTF formats with configurable rotation, camera controls, and styling.
Tools
| Tool | Description |
|---|---|
3d_viewer_create | Generate a 3D model viewer page |
3d_viewer_create
Generate an interactive 3D model viewer HTML page. Supports GLB and GLTF formats with configurable auto-rotation, camera controls, and styling. Parameters:| Parameter | Type | Required | Default | Description |
|---|---|---|---|---|
modelUrl | string | Yes | — | URL to the GLB or GLTF model file |
title | string | No | "3D Model Viewer" | Page title |
alt | string | No | "3D Model" | Alt text for the 3D model |
autoRotate | boolean | No | true | Enable automatic model rotation |
autoRotateDelay | number | No | 3000 | Delay in milliseconds before auto-rotation starts |
rotationPerSecond | string | No | "30deg" | Rotation speed per second |
shadowIntensity | number | No | 1 | Shadow intensity (0–1) |
cameraControls | boolean | No | true | Enable user camera controls |
height | string | No | "600px" | Viewer height |
backgroundColor | string | No | "#f8f9fa" | Viewer background color |
showInstructions | boolean | No | true | Show interaction instructions on the page |
| Field | Type | Description |
|---|---|---|
html | string | Complete HTML page for the 3D viewer |
title | string | Page title |
modelUrl | string | URL to the model file |

