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
- Year
- 2026
- Stack
- Python · ezdxf · openpyxl · Vercel

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.

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.

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.

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
Read next
Hand repetitive work to software: automatic data collection, report automation, file conversion, AI review and notification bots for teams that spend hours copying and pasting.
Next projectClass, Booking and Inventory System for a Table Tennis ClubLINE booking system for a Taiwan table tennis club. Class credits, attendance, table booking, stock, cash and payroll in one admin, with schedules in LINE.
CONTACT
Need something similar?
Describe how you work today. No technical terms needed. I reply within one business day.
- LINE@226svlxd
- Phone0954-153-491
- EmailGBSProgramParadise@gmail.com
- FacebookGBS Program Paradise on Facebook
- HoursDaily, 10 am to midnight
- AreaTaipei and Taichung, remote across Taiwan