Skip to content

STLLoadPlugin

ExampleSource CodeAPI Reference

Adds support for loading .stl (Stereolithography) files.

typescript
import {STLLoadPlugin} from 'threepipe'
viewer.addPluginSync(new STLLoadPlugin())

const mesh = await viewer.load('file.stl')

Threepipe - Next generation 3D toolkit for the web