Not sure what you're dealing with, but I had a tooth break off a plastic (?) ratchet wheel and repaired with JB Weld. Link attached. Could you try a repair instead of making a new part? My repair is working fine.
https://pinside.com/pinball/forum/topic/nylon-ratchet-wheel-repair-on-bonus-unit#post-5142299