upper18.ts

cad/cabinets/upper18.ts
import { BLEED, GAP, type Cabinet, type Hole, type Span } from "../model";
// Upper 18" x 42" x 12" -- Woodshop Diaries-style face-frame upper.
// THE single source of truth: every part is defined once here; the 3D view
// renders these boxes and the board DXFs are generated from the same data
// (cut outlines are derived from each part's box + nest placement).
//
// Construction: 3/4" ply box (11"-deep sides), 1/4" back stapled over the
// back. The face frame is ONE SOLID 3/4" piece, 18" x 42", with a 15" x 37"
// window cut through the center -- the borders read as 1x2 stiles (1-1/2")
// and 1x3 rails (2-1/2"). Single FULL-overlay door covering the entire face:
// one solid 3/4" piece, FULL thickness everywhere (no pocket). The shaker
// look comes from a 1/4"-ply TRIM FRAME (18" x 42" ring, 14" x 38" window,
// 2" borders) cut on the 1/4" board and glued around the door's face.
//
// 1/4 back + 11 sides + 3/4 face strips = 12" deep; the door adds 3/4".
// ---- cabinet spec (inches) --------------------------------------------------
const W = 18; // overall width
const H = 42; // overall height (top at ceiling)

Showing the first 20 lines.

Get full code

Support

Talk to the developers of this project to learn more

We have been building professional websites for big clients for over 15 years. Gallop templates and blocks is our best foundation for SEO websites and web apps.

© 2026 Web Plant Media, LLC