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 - Make 3D applications on the web