AutoMovie API
    Preparing search index...
    Mechanism:
        | { at: IAutoMovieMotionTarget; kind: "button"; travel?: number }
        | { at: IAutoMovieMotionTarget; kind: "knob"; turn: number }
        | { at: IAutoMovieMotionTarget; kind: "slider"; travel: number }
        | {
            at: IAutoMovieMotionTarget;
            hinge?: IAutoMovieMotionTarget;
            kind: "hinge";
            swing: number;
        }
        | IMechanism

    An articulated part and how it moves.

    Type Declaration

    • { at: IAutoMovieMotionTarget; kind: "button"; travel?: number }
      • at: IAutoMovieMotionTarget

        The button's face, its normal pointing out.

      • kind: "button"

        A push button or switch pressed along its axis.

      • Optionaltravel?: number

        How far it goes in, metres; 0.005 when absent.

    • { at: IAutoMovieMotionTarget; kind: "knob"; turn: number }
      • at: IAutoMovieMotionTarget

        The knob's centre, its normal along the axis toward the hand.

      • kind: "knob"

        A knob, lid, tap or dial turned about its axis.

      • turn: number

        How far it turns, degrees; positive clockwise as the hand sees it.

    • { at: IAutoMovieMotionTarget; kind: "slider"; travel: number }
      • at: IAutoMovieMotionTarget

        The handle, its normal along the slide toward the hand.

      • kind: "slider"

        A drawer or slider moved along its axis.

      • travel: number

        How far it travels, metres; positive pulls toward the hand.

    • {
          at: IAutoMovieMotionTarget;
          hinge?: IAutoMovieMotionTarget;
          kind: "hinge";
          swing: number;
      }
      • at: IAutoMovieMotionTarget

        The handle, its normal out of the leaf toward the hand.

      • Optionalhinge?: IAutoMovieMotionTarget

        A point on a vertical hinge line, a door's. Absent, the line is the operated prop's own hinge articulation (IAutoMovieMotionHumanOperateDrive.IPart.line): its point and its +Y axis, however it lies, a cock's cross pin.

      • kind: "hinge"

        A leaf swung about its hinge line by its handle: a door, a lid, a gun's cock.

      • swing: number

        How far the leaf swings, degrees; positive pulls it toward the hand.

    • IMechanism