manifold-3d
    Preparing search index...

    Interface Importer

    Through this interface, manifoldCAD can infer what formats each importer may support.

    interface Importer {
        fromArrayBuffer: (
            buffer: ArrayBuffer,
            options?: { mimetype?: string; tolerance?: number },
        ) => Promise<Document>;
        importFormats: { extension: string; mimetype: string }[];
    }
    Index

    Properties

    fromArrayBuffer: (
        buffer: ArrayBuffer,
        options?: { mimetype?: string; tolerance?: number },
    ) => Promise<Document>

    Given a buffer, return a glTF-transform document.

    importFormats: { extension: string; mimetype: string }[]

    Some importers may support multiple variations of a format. List each of them by extension and MIME type.