A while ago I tried to make a game with a similar premise where you'd place gears to connect a mechanism in some way. I gave up because I couldn't think of any interesting puzzles for it so you have my sympathies.