Yeah, I am trying to break that habit of coding all my SVGs by hand, it is just to slow.
I used a javascript program to generate the gears in that design.
My latest project has taught me to use Inkscape more, but it still has as XML editor to allow me to “refine” the coordinates if I choose to.
I have used javascript to create an manipulate a lot of different SVGs.