Skip to main content

Load of1 file. Returns an array containing all solids of the file's part.

load(
// data arraybuffer of file
data: ArrayBuffer,
// extension extension of file ('of1'|'stp')
extension: string,
): IDs

Example#

import { solid } from '@buerli.io/headless'
const cad = new solid(url)
cad.init(async api => {
})