---
title: "CAD Dimension String Rounding and Precision"
description: "Rounding CAD dimension strings to whole inches makes room and wall totals drift. Use feet-and-inches labels at 1/256″ precision so strings add up."
source: https://www.testfit.io/harness-architecture/02-dimstring
last_updated: 2024-08-09T00:00:00Z
---

Essay · August 9, 2024

# Dimstring I

- **Author**: Clifton Harness
- **Date**: August 9, 2024
- **Address**: /harness-architecture/02-dimstring

Interactive study Dimension the rooms and their shared partition

If you want to automate the drawings of buildings, I would start with dimension strings—specifically the overall strings for the whole building. Do all of the smaller room and wall dimensions add up to the large overall dimension? In most CAD programs, that check is obscured either by raw floating-point decimals (where sub-atomic “electrons” seem to matter) or by coarse display rounding that makes the labels lie about the geometry.

## Format and Precision on a Single 10-Foot Span

Start with a single 10-foot room span. A label reading `120.0000` is too precise in the wrong way: it prints four decimal places in inches with no unit symbol, telling me there are 120 inches (10 feet) and no floating-point “electrons.”

![A ten-foot span labeled 120.0000, showing four decimal places in inches.](https://www.testfit.io/studies/images/2024/08/image-1-1024x419.webp)

A label reading `10′` is not precise enough. Because it omits the inch digit altogether, I cannot tell whether the room is an exact 10 feet or whether the CAD program rounded away a fraction of an inch. Without a significant inch digit, I might suspect the CAD program is hiding some fudge.

![The same span labeled only 10 feet, with no inch value.](https://www.testfit.io/studies/images/2024/08/image-2-1024x331.webp)

Writing `10′-0″` is just right. Including the explicit `0″` tells me there is no hidden rounding fudge and no stray `1/256″` modeling error showing up.

![The span labeled 10 feet 0 inches with arrowheads at both ends.](https://www.testfit.io/studies/images/2024/08/image-3-1024x348.webp)

## Tick Marks and Chaining Adjacent Rooms

The first three examples use arrowheads pointing to the witness lines (`->| #′-#″ |<-`). Arrowheads make it obvious which span is being measured, but when dimension strings chain across a plan, less is more. Replacing arrowheads with diagonal tick marks gives a cleaner, simpler string:

![The 10-foot-0-inch dimension uses diagonal tick marks instead of arrowheads.](https://www.testfit.io/studies/images/2024/08/image-4-1024x412.webp)

Next, I’ll adjust my annotation scale so the dimension text is smaller relative to the room geometry, and dimension a second 10-foot square room right next to the first. Notice that the separating wall between the two `10′-0″` rooms has no dimension label of its own:

![Two adjacent 10-foot-0-inch spans use smaller text and diagonal ticks; the separating wall has no dimension.](https://www.testfit.io/studies/images/2024/08/image-5-1024x299.webp)

## Reading Wall Thickness from the Overall Dimension

How do I know the thickness of the wall between the two `10′-0″` rooms? Typically, the wall width either appears on a partition schedule (a table listing wall types and their thicknesses) or is read directly from the overall building dimension. Subtracting the two `10′-0″` room spans from the `20′-3½″` overall dimension tells me the shared partition is `3½″` thick:

![Two 10-foot room spans plus the separating wall total 20 feet 3½ inches.](https://www.testfit.io/studies/images/2024/08/image-6.webp)

## Why Whole-Inch Rounding Breaks Imperial Dimension Strings

A massive problem to avoid when dimensioning in imperial feet and inches is allowing the CAD program to round labels up or down. In the drawing below, the geometry is unchanged—two `10′-0″` rooms and a `3½″` partition totaling `20′-3½″`—but whole-inch rounding turns the overall dimension into `20′-4″`. Now the overall building dimension is half an inch off, and subtracting the two `10′-0″` rooms implies a `4″` wall in the middle instead of `3½″`:

![The same two 10-foot spans have an overall label rounded to 20 feet 4 inches.](https://www.testfit.io/studies/images/2024/08/image-7-1024x342.webp)

_Rounding the 20′-3½″ overall span to the nearest inch produces a 20′-4″ label—a ½″ mismatch between the annotation and the actual 3½″ partition geometry._

Set your CAD program to `1/256″` accuracy, and set all of your automatic dimension strings to that same `1/256″` accuracy, so when the building is built you and your drawings aren’t half an inch off (or way more). When we automate building-level dimension strings, we have to make sure display rounding never destroys the clarity and arithmetic of a good dimension string.

Of course, if we worked in the base-10 metric system, we could put everything in whole millimeters and call it a day—but in US construction we are trying to innovate inside a base-12 feet-and-inches system.

End of essay · Clifton Harness · August 9, 2024
