Bitbybit Docs
    Preparing search index...

    Class SaveStepDto<T> (Inputs.OCCT)

    A shape, a file name and axis options for io.saveShapeSTEP, which writes the shape as a STEP file.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionalshape: T
      • OptionalfileName: string
      • OptionaladjustYtoZ: boolean
      • OptionaltryDownload: boolean

      Returns SaveStepDto<T>

    Properties

    shape: T

    The shape written to the file.

    undefined
    
    fileName: string

    The name the downloaded file gets; .step is appended when missing.

    shape.step
    
    adjustYtoZ: boolean

    When true, the shape is turned so this library's Y-up becomes STEP's Z-up.

    false
    
    fromRightHanded?: boolean

    When true, the axis swap skips its mirror step, for shapes that were built in a right-handed system.

    false
    
    tryDownload?: boolean

    When true, a browser download of the file is started where that is possible; the kernel itself only returns the text.

    true