Building a Browser-Native CNC Flip-Top Planer Cart, 5-Cut Crosscut Sled & Dust Hood CAD/CAM Engine
Shop-made woodworking jigs and machinery workstations are some of the highest-ROI projects you can cut on a 3-axis CNC router — yet most downloadable plans floating around woodworking forums are static PDFs locked to a s
Shop-made woodworking jigs and machinery workstations are some of the highest-ROI projects you can cut on a 3-axis CNC router — yet most downloadable plans floating around woodworking forums are static PDFs locked to a single plywood thickness. The moment your "3/4-inch" Baltic birch measures 17.8 mm instead of 19.05 mm, every dado, tab-and-slot joint, and miter runner groove turns loose or refuses to assemble.
To solve this, we built CutPath CAD's Shop Machinery Jig & Workstation Studio (/shop-machinery-jig-dxf) in pure TypeScript + Svelte 5. Every panel profile, dogbone corner relief, T-track dado, laminated deck, and 3-axis .nc G-code toolpath is computed parametrically in the browser — with zero backend CAD kernel, zero splines, and zero open contours.
Here is how we engineered the kinematic math, airflow/structural audits, and bow-tie-free CNC CAM pipeline behind the six presets (180° Flip-Top Planer Cart, 5-Cut Table Saw Crosscut Sled, Drill Press T-Track Table, Miter Saw Dust Hood, CNC Router Table Cabinet, and Taper/Resaw Sled).
1. 180° Flip-Top Tool Cart Kinematics (R_sweep) & Tip-Over Audit
A flip-top tool cart mounts two heavy benchtop machines (such as a 92 lb 13-inch thickness planer and an oscillating spindle sander) back-to-back on a double-laminated 36 mm torsion deck that pivots 180° around a Schedule 40 steel pipe axle.
The #1 design failure on DIY flip-top carts is underestimating the diagonal corner sweep radius (R_sweep). It is not enough for the tallest tool height to clear the lower shelf vertically; as the deck rotates through ~45°, the farthest corner of the tool housing swings out along the hypotenuse:
export interface FlipTopKinematics {
deckDepthMm: number; // D
deckThicknessMm: number; // T_deck (e.g. 36 mm double-laminated)
topToolHeightMm: number; // H_top (e.g. 13" planer)
botToolHeightMm: number; // H_bot (e.g. spindle sander)
axleHeightMm: number; // Center of Sch40 pipe from lower shelf
casterTrackWidthMm: number;
}
export function auditFlipTopSwing(k: FlipTopKinematics) {
const maxToolH = Math.max(k.topToolHeightMm, k.botToolHeightMm);
const halfDepth = k.deckDepthMm / 2;
const maxVerticalExtent = maxToolH + k.deckThicknessMm / 2;
// Exact 3D swept corner radius around the Schedule 40 pipe axle
const rSweepMm = Math.hypot(halfDepth, maxVerticalExtent);
const clearanceMm = k.axleHeightMm - rSweepMm;
// Static tip-over stability ratio (caster track half-width / CG height)
const stabilityRatio = (k.casterTrackWidthMm / 2) / k.axleHeightMm;
return {
rSweepMm: Number(rSweepMm.toFixed(1)),
clearanceMm: Number(clearanceMm.toFixed(1)),
clearsShelf: clearanceMm >= 15, // >= 15 mm safety margin
stabilityRatio: Number(stabilityRatio.toFixed(2)),
};
}
Whenever a user adjusts deck depth, planer height, or steel pipe OD (33.4 mm for 1" Sch40 or 42.2 mm for 1-1/4" Sch40), the studio recomputes R_sweep live and automatically shifts the axle bore height and side-panel profile so the planer can never collide with the lower shelf or floor mid-flip.
2. William Ng 5-Cut Table Saw Squareness Calibration Math
Even on a CNC-cut table saw crosscut sled with dual 3/4" miter runner slots, wood movement and runner-to-slot play mean you still calibrate the rear fence using the classic William Ng 5-cut method.
After making four sequential 90° reference trims around a test panel and slicing off the 5th strip of length L_cut, you measure the front width (W1) and rear width (W5) with digital calipers. Because each 90° rotation compounds the angular error, the 5th cut magnifies the fence error by 4x:
export function computeFiveCutShim(
w1Mm: number, // Front width of 5th cut strip
w5Mm: number, // Rear width of 5th cut strip
lCutMm: number, // Length of 5th cut strip
lFenceMm: number // Distance between pivot screw and adjustment screw
) {
// Angular error per cut = (W5 - W1) / (4 * L_cut)
const errorPerCutRad = (w5Mm - w1Mm) / (4 * lCutMm);
const shimMm = errorPerCutRad * lFenceMm;
const shimThou = (shimMm / 25.4) * 1000;
return {
shimMm: Number(Math.abs(shimMm).toFixed(3)),
shimThou: Number(Math.abs(shimThou).toFixed(1)),
direction: shimMm >= 0 ? 'MOVE_FENCE_FORWARD' : 'MOVE_FENCE_BACKWARD',
errorPerFootThou: Number(((Math.abs(errorPerCutRad) * 304.8) / 25.4 * 1000).toFixed(2)),
};
}
Building this directly into the parametric studio lets woodworkers dial in sub-0.001"-per-foot squareness right at the saw without pulling out a spreadsheet.
3. 4,000+ FPM Wood-Dust Transport Airflow & L/360 Deck Deflection
For the Miter Saw Enclosed Dust Hood and CNC Router Table Cabinet, geometry alone is not enough — we validate two physical constraints before exporting DXF or G-code:
-
Wood-Dust Transport Velocity (
>= 4,000 FPM): Fine sawdust settles inside branch ducts below3,500–4,000 FPM. Given collector airflow (CFM) and port diameter (4"or6"), we compute face velocity asFPM = CFM / A_port_sqftand warn if a6"port is paired with an undersized shop vac. -
Simply-Supported Laminated Deck Bending (
L/360): Under a120+ lbplaner or heavy router lift assembly, a single18 mmBaltic birch sheet can sag enough to bind miter slots or lift plates. We check mid-span deflectiondelta = (F * L^3) / (48 * E * I)againstL/360(where moment of inertiaI = b * t^3 / 12scales with the cube of thickness — doubling18 mmto36 mmincreases stiffness by 8x).
4. Bow-Tie-Free Polygon Offsetting, Multi-Pass Pocketing & Oversized-Bit M6 Guard
Generating DXFs in TypeScript is only half the battle; generating safe 3-axis .nc G-code from arbitrary parametric contours is where most browser CAM generators fail:
-
Strict AutoCAD R12 (
AC1009) DXF Export: Every profile is emitted as closedLWPOLYLINE/POLYLINEsegments with0splines,0open contours,0.000 mm3D mate delta across tab-and-slot joints, and separatedCUT_PROFILES,POCKET_DADO, andDRILL_CENTERSlayers. -
Bow-Tie-Free Miter Offsetting: When offsetting a contour outward or inward by tool radius
R_tool, sharp interior corners can invert and form self-intersecting "bow-tie" loops. We clip miter joins and run pairwise segment-intersection trimming before emitting toolpath moves, while adding1/4"(6.35 mm) endmill dogbone reliefs to internal tab slots. -
Multi-Pass Concentric Dado Pocketing (
<= 45%Stepover): T-track dados (19.05 mmwide) and router lift ledges (15 mmdeep) are cleared with concentric inward rings capped at<= 45%tool diameter stepover and steppedZpasses, while perimeter cutouts inject holding tabs across every deep pass so small parts never launch into the bit. -
Oversized-Bit
M6Guard: If a user selects a6.35 mm(1/4") bit on a preset containing4.5 mmpilot bores, our CAM engine never silently overcuts the hole. Instead, it emits an explicit(SKIPPED — TOOL CHANGE REQUIRED)comment andM6guard so the operator knows to run a drill/smaller-endmill pass.
Try It Live & Nest on 4×8 Plywood
Every preset is free to customize in your browser (plywood thickness, pipe axle OD, bit diameter, metric/imperial units) and exports ready-to-cut R12 DXF and 3-axis .nc G-code:
- Free Shop Machinery Jig DXF Studio: https://www.cutpathcad.com/shop-machinery-jig-dxf
- Pack Router Table & Cart Panels onto Fewer 4×8 Sheets (
WB-04): https://www.cutpathcad.com/sheet-nesting - Browser 3D CNC G-Code Simulator: https://www.cutpathcad.com/gcode-viewer
- Guide #177 — 180° Flip-Top Planer Cart Swing-Radius Math: https://www.cutpathcad.com/tools/cnc-flip-top-planer-cart-swing-radius-dxf-guide
- Guide #178 — 5-Cut Table Saw Crosscut Sled & Miter Dust Hood Guide: https://www.cutpathcad.com/tools/table-saw-crosscut-sled-5-cut-squareness-cnc-dxf-guide
- Companion 4″ Dust Collection Blast Gates & Cyclones: https://www.cutpathcad.com/dust-collection-dxf
Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.

