Here are golf balls with different numbers of dimples. They are each provided in solid (need supports to print) and split-joinable versions. For the joinable versions, you may want to edit the tolerances in the scad file. My printer has pretty poor tolerances, so on yours the fit might be loose.
I haven't actually printed it yet. I expect that even the split versions will have trouble with the lower dimples, so you might want to add supports and clean up, or just not worry about a few damaged dimples.
tammes -scad 336 > 336.scad
to generate an OpenSCAD file with 336 dimples. On other operating systems, just compile
tammes.c. The calculations are probably too computationally intensive for the OpenSCAD file to do them.
See this video for the Tammes solver at work.