Skip to main content
Home
Docs
Blog
Discord
GitHub
Home
Docs
Blog
Discord
GitHub
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
Copy
Example
#
import
{
solid
}
from
'@buerli.io/headless'
const
cad
=
new
solid
(
url
)
cad
.
init
(
async
api
=>
{
}
)
Copy
Example