An .stl file as a 3D model

An .stl file (binary or ASCII) opens on its blob page as a part you can turn, with its facts above it: Format, File size, Triangles and the Box (its size in the file's own units: an STL carries none, so it reads 20 × 20 × 20 units, not millimetres). The first paint carries the triangle count and box, read by the server, so they show with JavaScript off.

draws the frame; model3d-client.ts is the viewer script (the vendored three.js, loaded only by this page).

Axes are buttons beside the facts.

damaged file, one with no triangles or a coordinate that is not a number, is refused with a sentence and Download.

Pinned by test/render-stl.test.ts and test/model3d.test.ts. The viewer's neighbours: mesh-files.md.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs