Interface AsukaAssemblyAnchorDefinition

A local connection point declared on a catalog element.

Connector names are deliberately domain-neutral. A connector can represent a furniture joint, a rail slot, a machine coupling, a booth panel edge, or any other spatial relationship.

interface AsukaAssemblyAnchorDefinition {
    accepts?: string[];
    alignRotation?: boolean;
    id: string;
    label?: string;
    maxConnections?: number;
    metadata?: Record<string, unknown>;
    normal?: AsukaAssemblyVector3;
    position: AsukaAssemblyVector3;
    positionMode?: "fixed" | "scaled" | "bounds";
    provides?: string[];
    role?: AsukaAssemblyAnchorRole;
    snapDistance?: number;
    up?: AsukaAssemblyVector3;
}

Properties

accepts?: string[]

Connector families accepted by this point. Empty means any compatible point.

alignRotation?: boolean
id: string
label?: string
maxConnections?: number
metadata?: Record<string, unknown>

Local outward direction. Defaults to +Z.

positionMode?: "fixed" | "scaled" | "bounds"

scaled multiplies the local position by the live geometry resize ratio. Use it for edge anchors that must remain attached to a parametric body. bounds interprets each coordinate as a normalized offset from the live component bounds, where -0.5 and 0.5 represent opposite faces.

provides?: string[]

Connector families provided by this point.

snapDistance?: number

Local up direction. Defaults to +Y.