Bitbybit Docs
    Preparing search index...

    Class LoadStlDto (Inputs.OCCT)

    An STL file for io.loadStl, which reads its triangles into a shape: one planar face per triangle, or one face that carries the whole mesh.

    Index

    Constructors

    Properties

    Constructors

    • Parameters

      • OptionalstlData: string | ArrayBuffer | File | Blob | Uint8Array<ArrayBufferLike>
      • OptionalasFaces: boolean
      • OptionaladjustZtoY: boolean

      Returns LoadStlDto

    Properties

    stlData: string | ArrayBuffer | File | Blob | Uint8Array<ArrayBufferLike>

    The STL file, ASCII or binary: the text of an ASCII file, or the file as ArrayBuffer, Uint8Array, File or Blob.

    undefined
    
    asFaces?: boolean

    When true, each triangle becomes a planar face that sewing can join into a shell; when false, one face carries the whole mesh, light to draw but not for modelling.

    false
    
    adjustZtoY?: boolean

    When true, the file's Z-up is turned into this library's Y-up.

    true