Optionalshape: TOptionalfileName: stringOptionaladjustYtoZ: booleanOptionaltryDownload: booleanOptionalunit: unitOfLengthEnumThe shape written to the file.
OptionalfileThe name the downloaded file gets; .step is appended when missing.
OptionaladjustWhen true, Y and Z swap so Y-up becomes STEP's Z-up, which mirrors the shape. To keep it as
built, turn it 90 degrees about X with transforms.rotate instead.
OptionalfromWhen true, the swap of adjustYtoZ becomes a turn of -90 degrees about X: the shape is not
mirrored but stands upside down in a Z-up tool.
OptionaltryWhen true, a browser download of the file is started where that is possible; the kernel itself only returns the text.
OptionalunitThe unit the shape's numbers are in. The file is written in millimetres, the shape scaled from this unit, so any CAD tool opens it at its true size.
A shape, a file name and axis options for
io.saveShapeSTEP, which writes the shape as a STEP file.