Urgent.News

What's breaking now, across hundreds of outlets.

Tech

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

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 (…

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.

The 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.

CutPath 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.

A 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.

Additionally, 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.

Experience 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.

Rewritten by urgent.news; may contain errors — check the original.

Source: dev.to

Read the original at dev.to →

Report a problem with this story

More in Tech

Things I got careful about while building an offline estimate app with Expo

Lately I've been building Tarifo , an Android app for people who price a job before doing it: plumbers, electricians, painters, cleaners, freelancers.

  • Money stored as integer with decimals based on currency
  • All calculations performed using integers with single rounding step
  • PDF preview and actual PDF may diverge, require single commit updates

iPhone Face ID Not Working? 7 Fixes That Work

Face ID suddenly stops unlocking your iPhone, or it fails every time and asks for your passcode instead. This is often caused by a dirty camera, a screen protector covering the sensor, a change in…

  • Clean TrueDepth camera area with soft cloth to remove obstructions
  • Ensure Face ID is enabled in Settings Face ID & Passcode
  • Update iOS to latest version for potential Face ID fixes

Approved, but Locked Outside My Own House 🐝🔑

Sorry for my absence 😅 I was busy finishing something: a WordPress plugin for BeeLadybug, written in PHP. Just a small first piece, but mine. 🐞 Here's how it went.

  • WordPress plugin BeeLadybug approved by WordPress.org
  • Antonio Prosperi's account blocked after plugin submission
  • BeeLadybug inspects WordPress sites for layout issues

Working with Canadian benefit payment dates in JavaScript

If you build a budgeting app or a reminder bot for people in Canada, someone will ask: "When does my CPP come in?" It looks like a date-math problem. Mostly it isn't.

  • Canadian CPP payments dates listed on canada.ca
  • Daybook Times stores published list, not computes dates
  • CDB payment date calculated as third Thursday of month

More from Tuesday, 1 December 2026 →