Bitbybit Docs
    Preparing search index...

    Class ExportDocumentToPlyDto<T> (Inputs.OCCT)

    A document, a meshing tolerance and file options for assembly.manager.exportDocumentToPly, which writes the document as an ASCII PLY file with normals and colors.

    Type Parameters

    • T
    Index

    Constructors

    • Type Parameters

      • T

      Parameters

      • Optionaldocument: T
      • OptionalmeshDeflection: number
      • OptionalfileName: string
      • OptionaltryDownload: boolean

      Returns ExportDocumentToPlyDto<T>

    Properties

    document: T

    The document from buildAssemblyDocument, loadStepToDoc or another loader.

    undefined
    
    meshDeflection?: number

    How closely triangles follow curved surfaces, in model units; smaller gives a finer mesh.

    0.1
    

    1e-7

    Infinity

    0.01

    fileName?: string

    The name the downloaded file gets.

    assembly.ply
    
    tryDownload?: boolean

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

    false