That 3D printer plastic might be too soft. I made similar gears om my lathe out of aluminium, to be used in my solar tracker. Worm gear cutting on a lathe can be done if an indexing head is bolted to the cross slide and the indexer is driven from the screw cutting shaft. One is limited to the number of teeth possible by the available lathe gear ratios but it was quite a few as I remember.