This invention provides a rotary electric machine with a high productivity/maintainability.Since the shaft portion 43 or the stepwise drawn portion is formed with a flat face 47 perpendicular to the rotational axis, when the magnetic poles 42 are bonded to the rotor 40, an accurate gap control can be achieved by applying a certain pressure to the magnetic poles with a jig or the like using the perpendicular flat face 47 as reference, or by controlling the distance from the perpendicular flat face 47.
A rotating electric machine whose output characteristics can be easily and freely adjusted and varied even in operation. The rotating electric machine is received in a housing of an electrically driven two-wheeled vehicle. A rotating shaft is connected to a rotor so as to form an axle. A stator is positioned opposite a rotor. A movable member is connected to a rotating member rotated about the rotating shaft by a regulating motor. The movable member is moved in the axial direction of the rotating shaft by the rotation of the rotating member. This movement causes the rotor to be rotatingly moved in the axial direction o the rotating shaft, changing relative position of the rotor and the stator.