Bitbybit Docs
    Preparing search index...

    Class SaveBrepBinaryDto<T> (Inputs.OCCT)

    A shape and file options for io.saveShapeBrepBinary, which writes the shape as binary BREP: the same exact geometry and topology as the text form, in bytes io.loadBrepBinary reads back.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

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

      Returns SaveBrepBinaryDto<T>

    Properties

    shape: T

    The shape written to the file.

    undefined
    
    fileName?: string

    The name the downloaded file gets.

    shape.bbrep
    
    tryDownload?: boolean

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

    true
    
    withTriangulation?: boolean

    When true, the mesh a shape carries is written with it, so a shape read back draws without meshing again; false writes only the exact geometry.

    true