manifold-3d
    Preparing search index...

    Function readFile

    • Read a model from disk.

      Parameters

      • filename: string
      • options: { mimetype?: string; tolerance?: number } = {}
        • Optionalmimetype?: string

          Use mimetype to determine the format of the imported model, rather than inferring it.

        • Optionaltolerance?: number

          When an imported model is not manifold, try closing gaps smaller than tolerance in an effort to make it manifold.

      Returns Promise<Document>