Optionalshape: TOptionalfileName: stringOptionalprecision: numberOptionaladjustYtoZ: booleanOptionaltryDownload: booleanOptionalbinary: booleanOptionalupAxis: upAxisConversionEnumThe shape written to the file.
OptionalfileThe name the downloaded file gets.
OptionalprecisionThe meshing tolerance in model units; a smaller value follows curved surfaces more closely and makes a bigger file.
OptionalupyUpToZUp writes the file Z-up for CAD programs, Y and Z swapped when no conventions are set;
keep writes the model's axes. zUpToYUp is refused.
OptionaladjustWhen true, the file is turned as upAxis yUpToZUp does; false, its old default, decides
nothing. True wins over upAxis at its default; beside another chosen turn it is refused.
OptionaltryWhen true, a browser download of the file is started where that is possible; the kernel itself only returns the text or the bytes.
OptionalbinaryWhen true, the STL is written in its binary form, which is much smaller than the text form, and comes back as bytes; when false, as ASCII text.
A shape, a file name and meshing options for
io.saveShapeStl, which triangulates the shape and writes it as an STL file.