bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Class ExportDocumentToStepDto<T>

    DTO for exporting an assembly document to STEP format. Takes the document handle directly.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionaldocument: T
      • OptionalfileName: string
      • Optionalauthor: string
      • Optionalorganization: string
      • Optionalcompress: boolean
      • OptionaltryDownload: boolean

      Returns ExportDocumentToStepDto<T>

    Properties

    document: T

    Assembly document handle from buildAssemblyDocument or loadStepToDoc

    undefined
    
    fileName: string

    File name for the STEP header and download

    assembly.step
    
    author: string

    Author name for the STEP header (optional)

    Bitbybit user
    
    organization: string

    Organization name for the STEP header (optional)

    Bitbybit
    
    compress: boolean

    Whether to compress as STEP-Z (gzip)

    false
    
    tryDownload: boolean

    Whether to trigger a file download in the browser

    false