brepjs API Reference
    Preparing search index...

    Interface PlanarOptions

    Per-DOF ranges for a planar joint (two in-plane translations + a rotation).

    interface PlanarOptions {
        rotation?: JointOptions;
        u?: JointOptions;
        uDirection?: Vec3;
        v?: JointOptions;
    }
    Index

    Properties

    rotation?: JointOptions

    Rotation about the plane normal (degrees). Default range -180..180.

    Translation along the in-plane uDirection. Default range -100..100.

    uDirection?: Vec3

    In-plane reference direction for the u translation. Projected onto the plane and normalized; defaults to an arbitrary perpendicular of the normal.

    Translation along normal × u. Default range -100..100.