Most online sprocket drawing scripts take a shortcut: they subtract circles of radius Dr / 2 around a pitch polygon and call it a sprocket. The moment you plasma-cut or waterjet that DXF and wrap an ANSI #35 or #40 roller chain around it, the rollers climb the tooth flanks under load and chew through the chain in hours.
In CutPath CAD, we built a zero-dependency TypeScript kernel (src/lib/cad/sprocketDxf.ts) that computes the exact four-segment ANSI/ASME B29.1 roller chain tooth profile alongside curvilinear GT2 / HTD 3M / HTD 5M timing belt pulleys, solves exact even chain-link lengths, applies outward K/2 plasma/laser kerf compensation, and exports strict AutoCAD R12 (AC1009) closed polylines and 1:1 LightBurn SVGs right in the browser:
- Live free generator: https://www.cutpathcad.com/sprocket-dxf
- Engineering & plasma cutting reference: https://www.cutpathcad.com/tools/ansi-roller-chain-sprocket-dxf-generator-guide
The Exact Four-Segment ANSI B29.1 Tooth Form
For a chain of pitch P, roller diameter Dr, and tooth count N, the pitch radius is Rp = P / (2 * sin(pi / N)). Every half-tooth from valley bottom to tooth tip consists of four exact C1-tangent segments:
- Seating Curve (Radius
R): Centered at the roller pitch center(0, Rp)withR = (1.005 * Dr + 0.0762 mm) / 2, sweeping through90° - AwhereA = 35° + 60°/N. - Working Curve (Radius
E): Centered opposite the seating arc along angle-Aat distance0.8 * Dr, radiusE = R + 0.8 * Dr, sweeping CCW byB = 18° - 56°/N. - Straight Tangent Flank (
yz): Tangent to the working arc for lengthyz = Dr * (1.4 * sin(17° - 64°/N) - 0.8 * sin(B)). - Topping Curve (Radius
F): Centered at(W, -V) = (1.4 * Dr * cos(180°/N), -1.4 * Dr * sin(180°/N))with radiusF = Dr * (0.8 * cos(B) + 1.4 * cos(17° - 64°/N) - 1.3025) - 0.0381 mm, meeting the tooth centerline cleanly and clipped at the standard OD radiusP * (0.6 + cot(180°/N)) / 2.
Every constant locks together analytically with zero C1 discontinuity.
Solving Even Roller Chain Links (Zero Half-Links)
When designing a 2-sprocket drive (like a Mini-Bike #40 14T + 42T 3:1 reduction), fixed shaft centers almost always land on a fractional or odd link count — forcing an unreliable offset half-link. Our Chain Drive Pair mode evaluates the standard chain length equation in pitches:
L_raw = 2*C/P + (N1 + N2)/2 + ((N2 - N1) / (2*pi))^2 * (P / C)
rounds up to the nearest even integer L_even, and solves the quadratic back for the exact center-to-center shaft spacing C_exact — plus draws both upper and lower tangent roller-chain spans live on the canvas.
Why Strict AutoCAD R12 (AC1009) + K/2 Kerf Matters on Plasma & Laser
- Zero Splines, Zero Open Loops: Every outer sprocket profile, ANSI/DIN keyway, hex bore, 4-bolt/6-bolt go-kart hub circle, and spoke cutout is serialized as closed
POLYLINE(flag70 = 1) orCIRCLEentities on layerCUT. SheetCam, Langmuir FireControl, VCarve, and LightBurn import it at 1:1 scale with zero contour repair. - Outward K/2 Kerf Compensation: A plasma arc removes
1.1 mm–1.6 mmof steel; a CO2 laser removes0.15 mm–0.20 mmof Delrin. Offsetting the outer tooth loop outward by+K/2and inner bores inward by-K/2keeps roller pockets and shaft fits dead-on nominal. - Live 1.5x Plasma Hole Audit: Checks the smallest shaft or hub bolt hole against your steel plate thickness (
11ga,3/16",1/4",3/8") and flags holes that should be drill-reamed after cutting.
Try generating your next #25, #35, #40, #50, #60, ISO 06B/08B, or GT2 / HTD pulley free at https://www.cutpathcad.com/sprocket-dxf — or measure exact kerf first with our free Kerf Test Card at https://www.cutpathcad.com/kerf-test-dxf.