Implementing Exact ANSI/ASME B29.1 Roller Chain Sprockets and GT2/HTD Pulleys in Pure TypeScript (Strict AutoCAD R12 DXF)

2026-12-02来源 dev.toEnglish

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:

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:

  1. Seating Curve (Radius R): Centered at the roller pitch center (0, Rp) with R = (1.005 * Dr + 0.0762 mm) / 2, sweeping through 90° - A where A = 35° + 60°/N.
  2. Working Curve (Radius E): Centered opposite the seating arc along angle -A at distance 0.8 * Dr, radius E = R + 0.8 * Dr, sweeping CCW by B = 18° - 56°/N.
  3. Straight Tangent Flank (yz): Tangent to the working arc for length yz = Dr * (1.4 * sin(17° - 64°/N) - 0.8 * sin(B)).
  4. Topping Curve (Radius F): Centered at (W, -V) = (1.4 * Dr * cos(180°/N), -1.4 * Dr * sin(180°/N)) with radius F = 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 radius P * (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 (flag 70 = 1) or CIRCLE entities on layer CUT. 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 mm of steel; a CO2 laser removes 0.15 mm–0.20 mm of Delrin. Offsetting the outer tooth loop outward by +K/2 and inner bores inward by -K/2 keeps 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.

原文:https://www.a8q9.cn/en/article/implementing-exact-ansi-asme-b29-1-roller-chain-sprockets-and-gt2-htd-pulleys-in-f37049.html

相关文章