brepjs API Reference
    Preparing search index...

    Interface JointDOF

    A single drivable degree of freedom. A rotation DOF turns about the joint's anchor point along axis (degrees); a translation DOF slides along axis (length units). value is always clamped to [min, max].

    interface JointDOF {
        axis: Vec3;
        kind: "rotation" | "translation";
        max: number;
        min: number;
        value: number;
    }
    Index

    Properties

    Properties

    axis: Vec3
    kind: "rotation" | "translation"
    max: number
    min: number
    value: number