Skip to main content

Function: importSTL()

function importSTL(STLBlob): Promise<AnyShape>;

Defined in: importers.ts:47

Creates a new shapes from a STL file (as a Blob or a File).

This process can be relatively long depending on how much tesselation has been done to your STL.

This function tries to clean a bit the triangulation of faces, but can fail in bad ways.

Parameters

STLBlob

Blob

Returns

Promise<AnyShape>