Draw a loop around some gears and get the chain that fits as an .ldr.
You can use it in https://donmerendolo.github.io/LEGO-chain-generator/ or locally, cloning the repo and opening index.html.
# check the math
deno run --allow-read test.js
# rebuild the part pictures
deno run --allow-net --allow-read --allow-write tools/outlines.jsCheck out LEGO diagonal generator too
My other tool for making diagonals, source code in donmerendolo/LEGO-diagonal-generator.
The code is GPL-3.0.
outlines.js and everything in img/ are generated from the
LDraw parts library, which is CC BY 4.0.

