Optionalshape: TOptionalfileName: stringOptionaltryDownload: booleanOptionalwithTriangulation: booleanThe shape written to the file.
OptionalfileThe name the downloaded file gets.
OptionaltryWhen true, a browser download of the file is started where that is possible; the kernel itself only returns the bytes.
OptionalwithWhen true, the mesh a shape carries is written with it, so a shape read back draws without meshing again; false writes only the exact geometry.
A shape and file options for
io.saveShapeBrepBinary, which writes the shape as binary BREP: the same exact geometry and topology as the text form, in bytesio.loadBrepBinaryreads back.