Bitbybit Docs
    Preparing search index...

    Class SaveBrepDto<T> (Inputs.OCCT)

    A shape and file options for io.saveShapeBrep, which writes the shape as a BREP file, the exact text format io.loadBrep reads back.

    Type Parameters

    • T
    Index

    Constructors

    Properties

    Constructors

    • Type Parameters

      • T

      Parameters

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

      Returns SaveBrepDto<T>

    Properties

    shape: T

    The shape written to the file.

    undefined
    
    fileName?: string

    The name the downloaded file gets.

    shape.brep
    
    tryDownload?: boolean

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

    true