The modular drive system has an electromechanical/hydromechanical drive (5) for generating a rotary input motion, and a brake unit (6) for braking the generated rotary input motion. A gearbox is arranged in housing (1) for conversion of the rotary input motion into translational output movement. The housing is equipped with input flange surface (2-1) attached to electromechanical/hydromechanical drive, and output flange surface (3-1) attached to shaping machine. An independent claim is included for a shaping machine.