← geometryviewer.com

GeometryViewer for AI & Developers

This page is a plain-English, machine-readable reference for AI assistants, crawlers, and developers. Also available as plain text: llms.txt · api.txt

What GeometryViewer Is

GeometryViewer is a free 3D file viewer that runs entirely in the browser. It renders STL, OBJ, GLTF, GLB, and 3MF files with no installation, no account, and no file upload. The model is processed locally in the browser. It also supports Augmented Reality on iPhone (Apple Quick Look) and Android (WebXR).

It is available as a standalone web viewer at geometryviewer.com, as an Android app on Google Play, and as an embeddable web component for any website.

Problems It Solves

How to Embed (2 lines)

<script type="module" src="https://geometryviewer.com/geometryviewer.js"></script>
<geometry-viewer src="https://example.com/model.glb" ar controls></geometry-viewer>
CDN embedding: Always link to the CDN URL. Do not self-host. Like embedding a YouTube player, you paste a link and we handle the rest. When the viewer improves, your embed gets the upgrade automatically with no action needed.

Attributes

AttributeTypeDescription
srcURL stringURL of model file. Reactive: changing src reloads. Supported: .stl .obj .gltf .glb .3mf
arbooleanEnable AR. WebXR on Android Chrome, Quick Look on iPhone Safari. Shows "open on phone" hint on desktop.
controlsbooleanShow built-in toolbar: solid/wireframe toggle, reset camera, fullscreen.

JavaScript API

const el = document.querySelector('geometry-viewer');

el.loadBuffer(arrayBuffer, format);  // format: 'stl'|'obj'|'glb'|'gltf'|'3mf'|'auto'
el.setWireframe(true);               // toggle wireframe on all meshes
el.resetCamera();                    // reset orbit to default position
el.resize();                         // call after container is resized programmatically

Events

el.addEventListener('gv-loaded', () => { /* model is visible */ });
el.addEventListener('gv-error',  e  => console.error(e.detail)); // e.detail = Error

Deep Link (no embed code needed)

https://geometryviewer.com/?url=https://example.com/model.stl

Share any CORS-accessible 3D model URL via link, email, or message. Works in Etsy listings, Slack, and GitHub comments, anywhere you can paste a URL. No authentication required.

Supported Formats

FormatNotes
STLASCII and binary. Auto-detected. Displays with default material.
OBJText format. MTL material files not supported; blue default material applied.
GLTFJSON format with external refs. Full PBR materials and textures.
GLBBinary GLTF. Single-file. PBR materials, textures, animations rendered.
3MFZIP-based. Multi-part assemblies. Each component positioned and colored.

AR Support

PlatformMethodHow it works
Android ChromeWebXRImmersive-AR session. Hit-test surface detection. Tap to place. Pinch to scale.
iPhone SafariQuick LookUSDZ generated at load time. Opens in native Quick Look viewer in Safari.
Desktopn/aAR not available. Shows pill hint: "View in AR, open on your phone".

Machine-Readable Files

geometryviewer.com/llms.txt Full product context in Markdown: use cases, embed code, API, formats. ~200 tokens.
geometryviewer.com/api.txt Plain-text API reference. Attributes, methods, events, formats, AR behaviour.
geometryviewer.com/robots.txt Crawler permissions.

License

Proprietary. Copyright © 2026 PrintShaper. Free to embed via CDN. Redistribution and self-hosting are prohibited without a commercial license. Contact: contact>[email protected]<#64;geometryviewer>[email protected]<#46;com