Examples
Basic widget
{% 3d: /models/cube.gltf }
When file is too big, shows a button to load it
{% 3d: /models/sphere.stl}
Attributes
Hide controls
{% 3d: /models/cube.gltf controls=false}
Whether to force load the model
When undefined, value is based on the file size.
Use true to force loading the model, false to force display of the "load model" button, whatever the file size is
{% 3d: /models/cube.gltf render-now=false}
Unsupported file type
{% 3d: /models/cube.unsupported }
Cannot render /models/cube.unsupported: unsupported file type
Missing file
{% 3d: /models/missing.stl}
Cannot render /models/missing.stl: File does not exist