← Back to work

Engineering case study

Solstice Shingles | Interactive Grid

Automating enterprise roof layout generation with a visual simulator and print-ready PDF engine.

Total Roof Installation dashboard showing roof metrics, power output, and an interactive roof grid.

Project snapshot

Role

Full-Stack Software Engineer

Platform

Enterprise roofing and construction

Adoption

1,000+ users

Stack

Angular, TypeScript, jsPDF, REST APIs

The problem

Replacing spreadsheets with a roof you can actually see.

Sales representatives and contractors relied on manual Excel spreadsheets to design roof layouts, calculate material requirements, and estimate costs. The process was error-prone, took hours to produce client-ready visuals, and made complex flashing, corner placements, and water channels difficult to understand.

The solution

Design the roof. Generate the document.

I built a core feature of an enterprise roofing platform: an interactive, browser-based roof simulator that lets users design a roof layout down to each individual shingle, then generate a high-fidelity, print-ready PDF.

The feature connected a complex Angular frontend to a custom PDF rendering engine. It transformed a tedious manual workflow into a seamless, one-click process for contractors and sales teams.

Modern solar roof layout dashboard showing active and inactive roof cells, feature markers, and a solar-panel home in the background.
A detailed roof layout with marked shingle sections and installation features.

Engineering challenge

A browser-based graphics engine, not just a print button.

Dynamic vector scaling

Roof layouts vary widely in size. A custom calculateCellSize algorithm finds the largest cell size that fits both page width and height, then scales dot radii, line widths, and gaps so layouts stay crisp and never overflow.

Geometry and overlapping features

Each cell can combine outside or inside corner markers, side, top, or front flashing, and water channels. API data is mapped to cell coordinates, and overlapping edge features are offset so each remains visible in the PDF.

A legend generated from the design

The PDF footer reads the features in the current layout and builds a color-coded, two-row vector legend. The explanation always reflects the roof design being delivered.

Enterprise-ready PDF output

The renderer asynchronously fetches and embeds the corporate logo, applies brand typography including superscript trademark symbols, and supports multi-page layouts with automatic page numbering.

Business impact

From hours of manual work to a one-click handoff.

  • Fewer manual errors. Replaced fragile spreadsheet macros with a consistent programmatic workflow.
  • Hours saved. Turned multi-hour documentation into an instant, one-click PDF download.
  • Adopted at scale. The platform served 1,000+ contractors and processed thousands of monthly orders.
  • A more professional client experience. Branded deliverables helped build trust and support faster sales cycles.
AngularTypeScriptjsPDFREST APIs