Skip to main content
Server path: /3d-application | Type: Embedded | PCID required: No

Tools

ToolDescription
3d_viewer_createGenerate an HTML page to display a 3D model (GLB/GLTF) using Google model-viewer. Returns complete HTML that can be saved to a file.

3d_viewer_create

Generate an HTML page to display a 3D model (GLB/GLTF) using Google model-viewer. Returns complete HTML that can be saved to a file. Parameters:
ParameterTypeRequiredDefaultDescription
modelUrlstringYesRequired: URL or path to the GLB/GLTF 3D model file (e.g., “https://example.com/model.glb” or “model.glb”)
titlestringNo"3D Model Viewer"Title displayed above the viewer (default: “3D Model Viewer”)
altstringNo"3D Model"Accessible description of the model (default: “3D Model”)
autoRotatebooleanNotrueEnable automatic rotation of the model (default: true)
autoRotateDelaynumberNo3000Delay in milliseconds before auto-rotation starts (default: 3000)
rotationPerSecondstringNo"30deg"Speed of auto-rotation (default: “30deg”)
shadowIntensitynumberNo1Shadow strength from 0 to 1 (default: 1)
cameraControlsbooleanNotrueEnable mouse/touch controls for rotating and zooming (default: true)
heightstringNo"600px"Height of the viewer (default: “600px”)
backgroundColorstringNo"#f8f9fa"Background color of the viewer (default: “#f8f9fa”)
showInstructionsbooleanNotrueShow usage instructions below the viewer (default: true)