{
  "id": 22084074,
  "title": "Computing US Architectural Print Scales, Sheet-Fit Matrices, and Ruler Conversions in Pure TypeScript",
  "url": "https://urgent.news/2026/11/27/computing-us-architectural-print-scales-sheet-fit-matrices-and-ruler",
  "topic": "tech",
  "section": "Tech",
  "published": "2026-11-27T00:56:53.000Z",
  "source": {
    "name": "Dev.to",
    "slug": "dev-to",
    "url": "https://dev.to/clara_sutton/computing-us-architectural-print-scales-sheet-fit-matrices-and-ruler-conversions-in-pure-11jb"
  },
  "original_language": "en",
  "account": "The article explains how to compute US architectural print scales, sheet-fit matrices, and ruler conversions using TypeScript. It begins by highlighting a common issue with exported floor plans from PDFs onto printers, which often results in distorted measurements due to border margins and title blocks. To address this, a TypeScript module in PlanCaliber was developed to solve sheet-fit matrices for various standard architectural scales and convert real-world measurements to ruler fractions. The module calculates the net printable viewport for each sheet size by subtracting margins and title block heights, and then finds the largest fitting scale using a single deterministic scan.",
  "summary": "A floor plan exported to PDF looks clean on a laptop screen until someone sends it to a FedEx plotter or home laser printer and puts a triangular architectural scale ruler against the paper. If the drawing was exported without subtracting border margins and the title block height — or if the printer driver silently applied \"Fit to Page\" ( 94% scaling) — every 1/4\" = 1'-0\" wall on the page reads…",
  "key_points": [
    "TypeScript module solves sheet-fit matrices for architectural scales",
    "Calculates net printable viewport by subtracting margins and title blocks",
    "Finds largest fitting scale with single deterministic scan"
  ],
  "editors_take": "Automating scale and sheet-fit calculations in TypeScript eliminates the measurement distortions caused by printer margins and title blocks that typically plague exported PDF floor plans.",
  "illustration": null,
  "coverage": {
    "outlets": 1,
    "also_reported_by": []
  },
  "ai_generated": true,
  "disclaimer": "Summaries, key points and the editor’s take are written by software from other outlets’ reporting and may contain errors — always check the linked original."
}