Daily, 10 am to midnight · Taipei and Taichung, remote across TaiwanLINE @226svlxd0954-153-491
中文Free consultation

CASE · Automation

CAD Tile Layouts to Excel Cutting Sheets

Business automation for a Taiwan facade tile contractor. Turns CAD tile layouts into back-side cutting sheets, nesting plans, Excel order lists and waste rates.

Client
A facade tile contractor in Taiwan
Type
Automation · Construction
Year
2026
Stack
Python · ezdxf · openpyxl · Vercel
Interactive report with a wall elevation, tile count, area, tiles to order and waste rate across the top, and one tile's size and back-side groove positions on the right

Client and background

The client cuts and installs exterior wall tiles on buildings. Before each job, a drafter draws a tile layout in CAD that splits the whole wall into numbered tiles. The workshop cuts tiles and routes grooves on the back to match, and the site crew installs them by number.

The problem

Everything after the drawing was manual. Someone copied every tile's size, worked out the groove positions on the back, decided which tiles could come from the same full tile, and typed it all into a spreadsheet. In the client's words, it was "slow and easy to copy wrong." The classic mistake was forgetting to mirror the drawing. Grooves measured from the front end up in a different place on the back.

The client uses many tile sizes and wanted the program to nest cuts into any full-tile size. Drawings also varied by job and by drafter. Some marked materials with hatch patterns, some with colors, some with codes, and the program had to handle all of them.

What I built

I wrote a program that takes a DXF or DWG file, finds each tile's outline, number, floor, material and groove marks, and then does three things.

First, it mirrors the front view to the back. Groove positions are measured from the nearest edge and numbered ①②③, so the workshop can cut straight from the sheet.

Cutting sheet with two tiles laid out on one full tile, and each tile's back-side groove positions and cut length below
The cutting sheet is already flipped to the back, so nobody has to mirror it in their head.

Second, it groups tiles by material and nests every cut into full tiles, keeping vertical and horizontal grain apart. It reports how many full tiles to order, the waste rate and the total cut length.

Nesting page with twelve layout patterns, each showing how one full tile is cut and its yield
Full tiles with the same cuts are grouped into one pattern, so ordering and cutting are clear at a glance.

Third, it exports an Excel file with a summary, an order list per material, a tile list and nesting details. It also writes back-side and nesting drawings as DXF, plus an interactive report that opens in a browser. When the program isn't sure about something, it doesn't guess. It circles the spot in red on a check drawing and adds it to a "needs review" list.

Tile list table with each tile's number, floor, material, width and height, area, cut length and back-side groove positions
Every tile's data exports to Excel, ready for quoting and ordering.

The client can run the desktop version on site or use the web version: enter an access code, upload a drawing, set the full-tile size, blade width and grain direction, and read the report. I later added job version history. When the client uploads a revised drawing, the system compares it tile by tile and shows what was added, changed or removed.

Results

  • 6 drawingsReal job drawings in regression tests
  • 695 testsAutomated tests, all passing
  • 6 release notesSent to the client after each round

The client uses the web version now. Each round of feedback goes live after the fix, such as changing the waste rate denominator and the area unit to match the formulas the client already uses. The desktop and web versions read the same drawing with identical results.

Technology

  • Python: drawing parsing, nesting algorithm, Excel and DXF output
  • ezdxf, LibreDWG: read and write CAD files, including DWG with no manual conversion
  • openpyxl: multi-sheet Excel order lists
  • Vercel: web version that shows the interactive report after upload

CONTACT

Need something similar?

Describe how you work today. No technical terms needed. I reply within one business day.

One is enough. I reply there.
What do you need? (select any)