combining physical woodworking /puzzles with brute -forcing is the ultimate hacker news crossover .did you write a custom script or simulation to map out the gear combinations,
use an existing constraint solver ?
I wrote a custom script and started by representing the physical puzzle as JSON!