Bitbybit Docs
    Preparing search index...

    Interface DesignJoint (Models.OCCT)

    A joint of an assembly: it places component by one of its connectors against a connector of another component or against a frame, the two faces meeting and facing each other with their x axes along each other. flip makes them face the same way, angle turns the component about the shared axis in degrees, and offset moves it along that axis, away from the face it meets. The type says which of the two may move, within limits. A part component's connectors are its part's; a sub-assembly's are the ones its document publishes.

    interface DesignJoint {
        extras?: unknown;
        extensions?: Record<string, unknown>;
        id: string;
        type: DesignJointType;
        component: string;
        connector: string;
        to: { component: string; connector: string } | { frame: DesignFrame };
        flip?: boolean;
        angle?: DesignNumber;
        offset?: DesignNumber;
        limits?: DesignJointLimits;
    }

    Hierarchy (View Summary)

    Index

    Properties

    extras?: unknown
    extensions?: Record<string, unknown>
    id: string
    component: string
    connector: string
    to: { component: string; connector: string } | { frame: DesignFrame }
    flip?: boolean
    angle?: DesignNumber
    offset?: DesignNumber