Optionalshape: TOptionalfileName: stringOptionalprecision: numberOptionaladjustYtoZ: booleanOptionaltryDownload: booleanThe 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.
OptionaladjustWhen true, Y and Z swap so Y-up becomes Z-up, which mirrors the shape. To keep it as built,
turn it 90 degrees about X with transforms.rotate instead.
OptionaltryWhen true, a browser download of the file is started where that is possible; the kernel itself only returns the text.
A shape, a file name and meshing options for
io.saveShapePly, which triangulates the shape and writes it as an ASCII PLY file with normals.