I shrinkwrapped the source model in Blender. I also added a sphere to the center to make sure there was somewhere to put the cube gear teeth.
pins.stl only has 2 pins but you will need 8 pins to assemble the gears.