Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
61c417cbdThis file is pinned to the selected release. Download the original to open it in your design tool.
import { STLLoader } from 'three/examples/jsm/loaders/STLLoader'
import model from '../assets/model.stl?url'
export function exampleGeometry() {
return new Promise((resolve, reject) => {
(new STLLoader()).load(model, g=> {
resolve(g)
}, undefined, reject)
})
}