I used the great gears.scad (getriebe.scad) library.
See:
https://github.com/chrisspen/gears/blob/master/gears.scad
https://www.thingiverse.com/thing:1604369
One important gear was missing in this kit. So I remodeled all gears to get a perfect match.
Just place gears.scad in the parent folder.
I screwed the new crank into place with a small M2 screw.
The author marked this model as their own original creation.