How can you export a SceneKit scene as a STL file (for 3D printing)?
The write function from SCNScene
does not appear to support the STL format.
How can you export a SceneKit scene as a STL file (for 3D printing)?
The write function from SCNScene
does not appear to support the STL format.
you can use
SCNScene
'swrite(to:options:delegate:progressHandler:)
.While the online documentation only mentions Collada and SceneKit file formats, the header documentation states that:
The
export
function in ModelIO (MDLAsset) appears to support STL, but I've never tried it myself.MDLAsset:export()