I feel a caveat is in order here. : While it is in deed fast and easy to create a gear prototype with a 3d printer to create a fully functional gear the right material needs to be used and of course some care in printing.
The right material is nylon , see below and of course one needs a 3d...