Free board foot, log scale & stair stringer SVG calculators
Most online woodworking calculators still look like plain HTML tables from 2004: you type in three...
Most online woodworking calculators still look like plain HTML tables from 2004: you type in three numbers and get a bare decimal with zero visual confirmation. When you are about to notch a $35 piece of 2x12 lumber or break down a $90 sheet of Baltic birch plywood, a visual blueprint prevents costly shop mistakes.
While building My Board Foot Calculator, I engineered a suite of 8 zero-backend woodworking calculators in Next.js + TypeScript that draw live, scaled SVG shop diagrams instantaneously in the browser.
1. Checking IRC Rise/Run & AWC DCA6 Throat Depth (Plus Bottom Riser Drop)
One of the easiest DIY framing mistakes is forgetting to trim the bottom riser of a stair stringer by the thickness of the tread—which leaves the very first step off a patio 1.5 inches taller than every other step.
In our Stair Stringer Calculator, we compute unit rise, adjusted bottom cut, and remaining structural throat depth on an 11.25"-wide 2x12 board in pure TypeScript:
const risers = Math.max(2, Math.round(totalRiseIn / targetRiseIn), Math.ceil(totalRiseIn / 7.75));
const actualRiseIn = totalRiseIn / risers;
const bottomRiserCutIn = Math.max(1, actualRiseIn - treadThicknessIn);
const stepHyp = Math.hypot(actualRiseIn, treadRunIn);
const notchDepth = (actualRiseIn * treadRunIn) / stepHyp;
const throatDepthIn = 11.25 - notchDepth; // AWC DCA6-15 Fig. 28 requires >= 5" solid throat
The SVG renderer immediately draws the stepped stringer silhouette, marks the bottom tread-drop cut line, and highlights whether unit rise (<= 7.75"), tread run (>= 10") pass IRC residential standards and whether remaining throat depth (>= 5") meets the AWC DCA6-15 Figure 28 deck guide.
2. Deterministic 2D Guillotine Nesting for 4x8 Plywood Sheets
For our 4x8 Plywood Cut List Calculator, woodworkers cannot use arbitrary non-guillotine bin packing—every cut on a table saw or track saw must run straight across a panel. We implemented a Best-Short-Side-Fit guillotine splitter that accounts for blade kerf (1/8" or 3/32") and optionally locks grain direction for veneered oak or walnut plywood.
We also built side-by-side Doyle, Scribner, and International 1/4-inch log scaling, sawmill vs. retail price comparisons, and a 16-species truck payload weight checker.
Try all 8 woodworking calculators free in your browser: https://myboardfootcalculator.com
Sumber artikel open-source oleh 八哥 di DEV Community — Baca artikel asli. Topik:
#frontend#nextjs#tools#typescript

Komentar