Skip to main content
Server path: /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

ToolDescription
3d_viewer_createGenerate 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:
ParameterTypeRequiredDefaultDescription
modelUrlstringYesURL to the GLB or GLTF model file
titlestringNo"3D Model Viewer"Page title
altstringNo"3D Model"Alt text for the 3D model
autoRotatebooleanNotrueEnable automatic model rotation
autoRotateDelaynumberNo3000Delay in milliseconds before auto-rotation starts
rotationPerSecondstringNo"30deg"Rotation speed per second
shadowIntensitynumberNo1Shadow intensity (0–1)
cameraControlsbooleanNotrueEnable user camera controls
heightstringNo"600px"Viewer height
backgroundColorstringNo"#f8f9fa"Viewer background color
showInstructionsbooleanNotrueShow interaction instructions on the page
Response fields:
FieldTypeDescription
htmlstringComplete HTML page for the 3D viewer
titlestringPage title
modelUrlstringURL to the model file