API

Interface I3mfItem

Build item. The build section describes what to "print" or "instantiate" from the resources.

objectid references a resource object, and transform places it in the world. partnumber and metadatagroup allow attaching build-item specific info.

interface I3mfItem {
    metadatagroup?: I3mfMetadataGroup;
    objectid: number;
    partnumber?: string;
    transform?: IMatrix3d;
}

Implemented by

Index
metadatagroup?: I3mfMetadataGroup

Optional build-item metadata.

objectid: number

Referenced object id to build.

partnumber?: string

Optional part number at the build item level.

transform?: IMatrix3d

Optional placement transform (3x4).