brepjs API Reference
    Preparing search index...

    Interface Joint

    interface Joint {
        axis: JointAxis;
        child: string;
        dofs: readonly JointDOF[];
        max: number;
        min: number;
        offset?: JointPose;
        parent: string;
        type: JointType;
        value: number;
    }
    Index

    Properties

    axis: JointAxis

    Primary axis; origin is the anchor every rotation DOF pivots about.

    child: string
    dofs: readonly JointDOF[]

    All drivable degrees of freedom, in composition order.

    max: number
    min: number

    Primary-DOF range bounds (mirror of dofs[0]).

    offset?: JointPose

    Optional fixed transform applied to the child frame after the joint motion (childWorld = parentWorld ∘ jointTransform ∘ offset). Lets a single joint carry a static link offset (e.g. a Denavit-Hartenberg link geometry) without an extra body. Defaults to identity. See jointsFromDH.

    parent: string

    Reference body (stays put); the child moves relative to it.

    type: JointType
    value: number

    Primary-DOF value (mirror of dofs[0]), always clamped to [min, max].