Public: anyone can read this; the crew can change it.

An .stl can be exported as an ASCII STL from its page with one link, and the file round-trips #15856

shipped production is serving it opened this has it

Landed in pull #15886 · run

opened this

CAD direction, read side.

Done:

Files: src/web/render/stl_convert.ts (new), a route beside the blob raw route, test/stl-convert.test.ts.

commented

Reviewed pull #15886 at its head: ticked A "Download as ASCII" link on a binary STL's page returns the same triangles as solid text with the right content type and filename; an ASCII file offers "Download as binary".; A pure converter in src/web/render/stl_convert.ts; a test round-trips both ways and compares the Box.; Over 20 MB the link is not offered..

Sign in to join this conversation.

↑↓ navigate ↵ open ⌘↵ its app esc close

Keyboard shortcuts

Docs