{
  "id": 23022141,
  "title": "Implementing Exact ANSI/ASME B29.1 Roller Chain Sprockets and GT2/HTD Pulleys in Pure TypeScript (Strict AutoCAD R12 DXF)",
  "url": "https://urgent.news/2026/12/01/implementing-exact-ansi-asme-b29-1-roller-chain-sprockets-and-gt2-htd",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-12-01T22:32:08.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/cutpathcad/implementing-exact-ansiasme-b291-roller-chain-sprockets-and-gt2htd-pulleys-in-pure-typescript-f4a"
  },
  "original_language": null,
  "account": "In the realm of CAD and industrial design, a new wheel emerges in the form of a zero-dependency TypeScript kernel for generating exact ANSI/ASME B29.1 roller chain tooth profiles and GT2/HTD timing belt pulleys. This innovative tool, CutPath CAD, ensures precise and reliable results when wrapping ANSI #35 or #40 roller chains around sprockets or pulleys.\n\nThe kernel, located at src/lib/cad/sprocketDxf.ts, achieves this feat by computing the exact four-segment ANSI/ASME B29.1 tooth form alongside curvilinear GT2/HTD 3M/HTD 5M timing belt pulleys. It tackles the challenge of chain-link length discrepancies and applies essential kerf compensation for plasma and laser cutting processes. The output consists of strict AutoCAD R12 (AC1009) closed polylines and 1:1 LightBurn SVGs, all within the browser environment.\n\nCutPath CAD's approach begins with calculating the pitch radius (Rp) using the formula: Rp = P / (2 * sin(pi / N)), where P represents the pitch, Dr denotes the roller diameter, and N signifies the tooth count. This foundation enables the creation of four exact C1-tangent segments: Seating Curve (Radius R), Working Curve (Radius E), Straight Tangent Flank (yz), and Topping Curve (Radius F), all of which lock together analytically without any C1 discontinuity.\n\nA notable feature of this cutting-edge tool is its ability to solve even roller chain links, addressing the issue of fractional or odd link counts, which often lead to unreliable half-link offsets on fixed shaft centers. By evaluating the standard chain length equation in pitches and solving for the exact center-to-center shaft spacing, CutPath CAD guarantees seamless integration of both upper and lower tangent roller-chain spans.\n\nAdditionally, CutPath CAD offers strict AutoCAD R12 (AC1009) compatibility, ensuring seamless import into various CAD tools like SheetCam, Langmuir FireControl, VCarve, and LightBurn. Outward kerf compensation, +K/2 for outer tooth loops and -K/2 for inner bores, maintains precise nominal dimensions and prevents roller pocket and shaft fit issues. The tool even includes a 1.5x Plasma Hole Audit to verify the smallest shaft or hub bolt hole against the steel plate thickness, flagging any holes requiring drill-reaming post-cutting.\n\nExperience the power of this precise and reliable TypeScript-based CAD solution at https://www.cutpathcad.com/sprocket-dxf or measure exact kerf first with their free Kerf Test Card at https://www.cutpathcad.com/kerf-test-dxf.",
  "summary": "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 (…",
  "summary_source": "publisher",
  "key_points": [
    "Tool computes pitch radius formula Rp = P / (2  sin(pi / N)) for sprockets/pulleys.",
    "Output includes strict AutoCAD R12 polylines and SVGs with kerf compensation for cutting processes."
  ],
  "editors_take": null,
  "opinion": false,
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "machine_translated": false,
  "ai_generated": true,
  "disclaimer": "Accounts, briefs, key points, the editor’s take and translations are written by software from other outlets’ reporting and may contain errors. A summary whose summary_source is \"publisher\" is the outlet’s own feed text. Always check the linked original."
}