Dev.to WebDev 🛠 Dev 👁 0 📖 5 min read

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

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

CutPath CAD Shop Machinery Jig Studio UI with live engineering KPIs and 6 presets

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.

5-Cut Table Saw Crosscut Sled 3D Cutaway and William Ng Shim Calibration

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:

  1. Wood-Dust Transport Velocity (>= 4,000 FPM): Fine sawdust settles inside branch ducts below 3,500–4,000 FPM. Given collector airflow (CFM) and port diameter (4" or 6"), we compute face velocity as FPM = CFM / A_port_sqft and warn if a 6" port is paired with an undersized shop vac.
  2. Simply-Supported Laminated Deck Bending (L/360): Under a 120+ lb planer or heavy router lift assembly, a single 18 mm Baltic birch sheet can sag enough to bind miter slots or lift plates. We check mid-span deflection delta = (F * L^3) / (48 * E * I) against L/360 (where moment of inertia I = b * t^3 / 12 scales with the cube of thickness — doubling 18 mm to 36 mm increases stiffness by 8x).

CNC Router Table Cabinet and Sealed Lift Plenum 3D Cutaway

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 closed LWPOLYLINE/POLYLINE segments with 0 splines, 0 open contours, 0.000 mm 3D mate delta across tab-and-slot joints, and separated CUT_PROFILES, POCKET_DADO, and DRILL_CENTERS layers.
  • 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 adding 1/4" (6.35 mm) endmill dogbone reliefs to internal tab slots.
  • Multi-Pass Concentric Dado Pocketing (<= 45% Stepover): T-track dados (19.05 mm wide) and router lift ledges (15 mm deep) are cleared with concentric inward rings capped at <= 45% tool diameter stepover and stepped Z passes, while perimeter cutouts inject holding tabs across every deep pass so small parts never launch into the bit.
  • Oversized-Bit M6 Guard: If a user selects a 6.35 mm (1/4") bit on a preset containing 4.5 mm pilot bores, our CAM engine never silently overcuts the hole. Instead, it emits an explicit (SKIPPED — TOOL CHANGE REQUIRED) comment and M6 guard 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:

📰 Read the original article on Dev.to WebDev

Originally published by Dev.to WebDev. Aggregated on AIWithGhost for educational purposes — full credit and traffic to the original publisher.