brepjs API Reference
    Preparing search index...

    Function jointTransform

    • The child's local rigid transform (relative to the parent) for given DOF values. Defaults to each DOF's stored value. A single number overrides only the primary DOF (single-DOF ergonomics); an array overrides positionally, with omitted entries keeping their stored value. Each value is clamped to its DOF range.

      DOFs are folded in array order via frame composition. For same-anchor rotations (e.g. spherical) this composes to a single rotation about the pivot; for a cylindrical axis the rotation and slide commute.

      Parameters

      • joint: Joint
      • value: number | readonly number[] = joint.value

      Returns JointPose