bitbybit.dev v1.0.0-rc.1
    Preparing search index...

    Interface AssemblyNodeDef

    interface AssemblyNodeDef {
        id: string;
        type: "assembly" | "instance";
        name: string;
        parentId?: string;
        partId?: string;
        translation?: Point3;
        rotation?: Vector3;
        scale?: number;
        colorRgba?: ColorRGBA;
    }
    Index

    Properties

    id: string

    Unique identifier for this node

    type: "assembly" | "instance"

    Node type: 'assembly' for containers, 'instance' for part references

    name: string

    Display name for this node

    parentId?: string

    Parent node ID (undefined = root level)

    partId?: string

    Part ID to instance (required for type='instance')

    translation?: Point3

    Translation as [x, y, z]

    rotation?: Vector3

    Rotation as [rx, ry, rz] in degrees (Euler ZYX order)

    scale?: number

    Uniform scale factor (1.0 = no scale)

    colorRgba?: ColorRGBA

    Optional color override for this instance