Not trying to rain on anyone's parade, but it the part you are thinking about making via a 3D printer is the gear shown in the thread you linked, there are a few more things to consider.
How did you get the 2D drawing? Is it an involute gear? Do you know what the pressure angle and pitch diameter need to be? Without these and other parameters being correct, the chances of it working with other gears are slim. What you drew looks like a gear, and it may well work. But it has to mesh correctly. Some good info
here.
All of this is very true, and very important,,,,,,,, and extremely important when making gears that drive much of a load. I do not believe that this gear, given the application, carries sufficient load to matter a lot, as long as it will mesh reasonably well.
However, for this exact reason, I did make a solid model for the OP here, but I insisted on using a DXF file of his, which is just the geometry he had already come up with. I'm very aware it does not look like the pressure angles and pitch diameter are exactly correct, but then again, given the application,,,,,,, could work. It's a fit, form, and function effort right now. If the OP can get it printed and test it, it may well prove to need modification, which is very easily done as well. It's a reverse engineering project that he is doing on a part that many could use. He has the will to do it, but didn't quite have the methodology. I have done this for many years, primarily aerospace stuff, but the method still applies, so I offered to help. I didn't tell him what he needs, only trying to help with what he wants. If it doesn't work out the 1st time I'll gladly help with a mod.