wirebond.svg
Wire Bond Bench · learning page · November 2026

GD&T: reading the tolerance box on a bonding diagram

What the little row of boxes next to the die means, where its letters come from, and what changes when you type a number into "Tolerance ⌀". No background in mechanical drawing needed.

The whole idea in one sentence

The box ⌖ ⌀50 CZ | A | B | C with 74× above it says: the centre of each of the 74 bonded pads must be within a 50 µm circle of where it's drawn, measured from the board's top face, then fiducial F1, then fiducial F2.

1Drawn versus built

Every coordinate in a wirebond.svg file is nominal: where a thing should be. The die drawn at x = 4534 µm won't land at exactly 4534 µm. The die attach machine, the glue spreading as it cures, and the board itself all add a little error. A tolerance says how much error is still acceptable, so the designer and the assembly house agree before anything is built.

The obvious way to write one is plus and minus on each coordinate: x = 4534 ± 25 µm, y = 9061 ± 25 µm. It has three problems, and GD&T exists largely to fix them.

Three tolerance zones at the same scale. Left: plus and minus 25 µm gives a square, with 35 µm allowed along the diagonal. Middle: a position tolerance of diameter 50 gives a circle. Right: a profile tolerance gives a band around the whole outline. Plus and minus 35 µm 25 µm ±25 in x and y: a square. More room at the corners; "from what" unstated. Position, ⌀50 (what we use) 25 µm A circle: the same every way, measured from named datums. Profile, 50 (for comparison) A band round a whole outline: shift, turn and size, all at once.
Left and middle share one scale, 2 px per µm. The profile panel is schematic, its band exaggerated so it shows against a whole die; the dashed rectangle is the nominal outline. Profile is another common control, and our first draft used it on the die's sawn edge; section 6 explains why we moved to position on the pads.

2Reading the box

A GD&T requirement is a row of boxes joined by a leader to the feature it controls. ISO calls it a tolerance indicator; ASME calls it a feature control frame. Read it left to right: what kind of control, how much, measured from what. This is the one Wire Bond Bench and drc.py draw for the example die. Click any part of it.

The example's tolerance indicator: a position symbol, then diameter 50 CZ, then datum boxes A, B and C, with 74× written above it. A short shoulder and a leader run from its right end to an arrow on the top-left bonded pad of a die drawn to the right; each pad has a small circle around its centre. ⌀50 CZ A B C what how much, zone shape 1st 2nd 3rd datums, in order die U1, top-left corner 74×
Explain

Why the box sits beside the die

A drawing keeps the tolerance indicator in clear space, off the part, and joins it to the feature with a thin leader. The box never hides what it controls, and one glance tells you which feature it means. Wire Bond Bench and drc.py put it just outside the top-left corner of the area the die and its lands cover, with a short horizontal shoulder from its right end, then a straight leader to the nearest bonded pad. Earlier versions drew it over the middle of the die; that held the same data, but hid the part.

3Datums: where measuring starts

"50 µm from where it's drawn" only means something once everyone agrees where the drawing is anchored. That anchor is the datum system. A loose part can move six ways: slide in x, y and z, and turn about each of those axes. Datums take those freedoms away one at a time, which is why the box lists them in order:

Left, a plan view of the 13 mm example board with the die in the middle and fiducials F1, bottom left, and F2, top right, flagged as datums B and C. Right, a section through the board with the substrate's top face flagged as datum A, and a list of which freedoms each datum removes. Plan, to scale B C F1F2 13 × 13 mm board; F1 to F2 is 15.8 mm Section, not to scale die A substrate Atop face of the substrate. Fixes height and both tilts: 3 of the 6 freedoms. Everything is measured square to it. Bcentre of fiducial F1. Fixes x and y: 2 more. Ccentre of fiducial F2. Fixes the turn about A: the last one. A plan-view file can't show A, so it's flagged on the section.
The plan matches examples/example.wb.svg: a 13 mm board, the 3932 × 5122 µm wafer.space die, and F1 and F2, 0.5 mm copper dots 0.9 mm in from opposite corners. The triangle-and-letter flags are the standard datum symbol.
Datum feature
The real thing on the part you measure from: the board's top surface, a copper dot. It's flagged with a triangle and a boxed letter.
Datum
The perfect plane or point the feature stands for. A real board isn't perfectly flat; datum A is the ideal plane it rests on.
Order matters
The primary wins any disagreement with the ones after it. Set the board down on A first, then find B in that plane, then turn about B until C lines up.
Why two fiducials, far apart
B alone can't stop a turn. C does, and the farther it is from B, the less a small error in finding C turns the whole frame.

Why fiducials and not the board edge? Because the machines can find them. A die attach machine or a bonder locates the board by its fiducials, so a tolerance measured from the same features means what the machine sees. A routed board edge is held only to a tenth of a millimetre or so, and no machine's camera looks at it. The fiducials page covers how machines use them.

4The zone: position, ⌀ and CZ

A position tolerance controls where a feature's centre is. For us the features are the die's bonded pads. Each pad gets its own circle, centred where the GDS puts the pad's centre; the real centre must land inside.

Left: one 60 µm pad, magnified, with a 50 µm circle around its drawn centre and the real centre inside the circle. Right: a row of five pads, 180 µm apart as a boxed exact dimension, each with its circle; the real pads have all shifted together and each centre is inside its own circle. One pad, 2.5 px per µm 25 pad, 60 × 60 µm × real centre here 14 µm off: inside ⌀50 zone around the drawn centre The zone is smaller than the pad. It holds the pad's centre, not its outline. The pattern, CZ 180 Boxed 180: an exact spacing, from the GDS. The drawing gives it no tolerance of its own; the box above supplies it. Dashed: CZ ties the circles into one pattern. Dots: real centres, all moved together.
Left to scale; right schematic. The example's pads are 60 µm square, 180 µm apart along the top and bottom edges.
⌀ makes it a circle
With ⌀ the zone is a circle, so a 50 µm tolerance allows 25 µm in any direction. Without it, the zone would be the space between two parallel lines, holding only one direction.
The number is the whole width
⌀50 is the circle's diameter. Half of it, 25 µm, is how far a centre may stray. This trips up nearly everyone once.
Exact spacing, TED
The pads' drawn places are theoretically exact dimensions: numbers with no ± of their own, because the box supplies the tolerance. In wirebond.svg every coordinate is one.
CZ, combined zone
The 74 circles are one pattern, held at their exact spacing. A die is one rigid piece of silicon, so its pads move together anyway. With all three datums the circles are already pinned to the board, so CZ doesn't change the check; it says plainly that the pads are judged as a set.

5Try it: move the die

Below is the example die with its 74 real bonded pads, each in its zone. Shift it and turn it, and watch which pad leaves its circle first. Moving straight, every pad moves the same, so the limit is half the diameter. Turning about the centre, the pads farthest from the centre move most, so they set the limit.

Try
Errors and zones are drawn four times larger than true, or a 25 µm move would be invisible next to a 5 mm die. Pad places are the example's, from examples/example.wb.svg. The die turns about its centre, as drc.py checks it.

"70% of each at once" fails even though neither number is at its limit. Shift and turn share the same circles: a die that uses most of its zone shifting has little left for turning. That's the point of one zone instead of three separate numbers that each assume the other two are zero.

6Why the pads, not the die's edge

"Where is the die?" sounds like one question, but it has two answers. Dies are built side by side on a wafer, with a narrow empty lane between them called the saw street. A blade cuts down each street to separate them, and it's never exactly in the middle. So the sawn edge isn't at an exact distance from the circuit: one side of a die can have more spare silicon than the other.

Left: two dies on a wafer with a saw street between them. The blade was planned down the middle of the street but cut a little to the right. Right: the die that results. Its pads are where the circuit put them, but it has more silicon left on its right side than on its left, so its sawn outline is off-centre from its pads. On the wafer saw street dashed: blade as planned as cut The die you get less more Pads and eye points (green): where the circuit put them. Grey outline: where the blade went. Dashed: the outline in the GDS. Edge-to-pad distance differs side to side.
Schematic, offsets exaggerated. We don't yet have wafer.space's street width or how far their saw can wander; that's a question for them.

A tolerance has to pick one of the two. wirebond.svg picks the pads:

The zone holds…ForAgainst
Padswhat we useWhat the wires actually connect to. Matches how a bonder finds a die, by marks in its artwork (fiducials page, section 5). Saw error doesn't count against it, and dies separated less precisely than by a saw still work.The assembler has to align on the die's eye points, the QR code and the corner mark, not its outline. The edge clearance check needs a separate allowance for the saw.
Sawn edgethe first draftAnyone can measure it under a microscope, and some die attach machines centre a die on its outline.Saw error uses up part of the zone before placement starts, and it isn't what the wires follow.

Holding pads by their centres is why the control is position. Holding an outline would need profile, which sits on a surface, the band in section 1. For the example it hardly matters: with a bonder that finds the die, the wires still pass with the die 1,370 µm off (section 8), far more than any saw error. It matters more for a tight design, or lands close to the die edge.

7From the box to x, y and θ

Die attach machines are usually specified as so many µm in x and y and so many degrees of turn, θ. The box converts to those, for one die at a time. These numbers are worked out from the box, never stored beside it, so they can't disagree with it.

NumberExample, ⌀50Where it comes from
Shift, any direction25 µmHalf the diameter. Every pad moves the same distance.
Shift in x alone, or y alone±25 µmThe same circle. Not a ±25 square: on the diagonal it's still 25 µm, not 35.
Turn alone, about the die's centre0.50°The farthest bonded pad is 2,888 µm from the centre. It reaches its circle's edge when it has moved 25 µm: θ = 2 · asin(25 / (2 × 2888)), about 25 / 2888 radians.
Shift and turn togetherless of eachEvery pad's total move, shift plus turn, must stay within 25 µm. Section 5 lets you try it.

A bigger die gets less turn from the same tolerance, because its outer pads swing farther. That's one more reason a single zone beats a fixed angle: the box stays right whatever the die's size.

8What the checker does with it

drc.py check treats the tolerance as a promise from the assembler and asks: if the die is anywhere in its zone, is the design still good?

  1. The box is well formed.wb:char is position, wb:modifier is CZ, wb:tol is above 0, and wb:applies-to names the die.
  2. Each datum exists.Every letter in wb:datums must be on some element's wb:datum.
  3. Every check still passes at the edge of the zone.The die is moved half the diameter eight ways, 45° apart, and turned each way until its farthest bonded pad reaches its circle's edge: ten positions. Wire gap, edge clearance and land reach all run again at each.
  4. How far could it really go?drc.py place searches for the largest shift and turn that still pass, so you can see how much margin the stated tolerance leaves.

It assumes the bonder finds the die by vision, as automatic bonders do: first bonds follow the die, second bonds stay on the lands, and only the wires between them bend. It also works out the other case, a bonder that bonds blind where it was programmed. Results for the example, from python tools/drc.py check and python tools/drc.py place on examples/example.wb.svg:

CaseResultWhat limits it
At the edge of the ⌀50 µm zone8 shifts of 25 µm, and ±0.50°PassesWorst edge clearance 187 µm, rule 40. Worst wire gap 141 µm, rule 60.
Bonder finds the die1,370 µm or 17.2°W01 and W02, the first two wires, come within the 60 µm wire gap.
Bonder doesn't4.0 µmW01's ball leaves its 60 µm pad.

The gap between those last two rows is the practical lesson. With vision, a ⌀50 tolerance is very loose for this design, and a looser one would cost less at the assembler. Without vision, even ⌀50 is far too much, because the ball lands where the pad used to be.

Limits come only from the checks in drc.py. The app's other rules, such as wire angle and length, aren't in it, so the true limits may be tighter. The bonder's vision capture range, how far off a die can be and still be found, isn't checked either; no bonding house has given us that number yet.

9Doing it in Wire Bond Bench

  1. Bond the die first.The tolerance holds every pad with a wire on it. Until there are wires, it holds all the die's pads.
  2. Type a diameter under Placement."Tolerance ⌀, µm", for example 50. Empty or 0 means none. A note under it reads the box back in words, such as 74× pads: position ⌀50 CZ | A | B | C.
  3. See it in the plan.An orange circle appears round each bonded pad at true scale; zoom in to see them. The box appears beside the die, off the top-left corner of its lands, with its leader to the nearest bonded pad.
  4. Check the datums.A is always the board's top face. B and C start on the two align fiducials farthest apart. To change them, click a copper mark in the plan and use its Datum buttons. If fewer than two marks are datums, the Placement panel warns you.
  5. Export.The .wb.svg carries the box, its zone circles and the datum flags; KiCad exports carry wb_position_tol_um and wb_datum_<mark>. Reopening either keeps the tolerance.
  6. Check at the zone's edges.The app's Checks tab checks the die where it's drawn. The Check at the zone's edges button under the tolerance moves and turns each die to the edges of its zone and runs every check again there, and lists what gets worse. Or run python tools/drc.py check and python tools/drc.py place on the exported file.

10How it's stored in the file

One group per die, wb:kind="tolerance", the ISO name for the box. The group is both the print and the data, because an SVG file is XML. A browser or Inkscape draws the children, the boxes, lines and text, and ignores attributes it doesn't know, such as wb:tol. A program does the opposite: it reads the wb: attributes and ignores the drawing.

<g wb:kind="tolerance" wb:applies-to="U1" wb:char="position" wb:tol="50" wb:modifier="CZ" wb:datums="A B C">  <- the data: a program reads only this line
  <title>Position, diameter 50 um, combined zone (CZ), datums A | B | C ...</title>   <- hover text, for people
  <rect .../> <line .../> <line .../>                                  <- the boxes, for people
  <circle .../> <path .../>                                           <- the position symbol
  <text>⌀50 CZ</text> <text>A</text> <text>B</text> <text>C</text>      <- the values, for people
  <text>74×</text>                                                     <- how many pads it holds
  <polyline .../> <path .../>                                         <- shoulder and leader, its arrow on a bonded pad
</g>
<circle cx="..." cy="..." r="25" class="zone"/>                             <- a zone circle per pad, drawn from it, not read
<rect wb:kind="layer" wb:name="substrate" wb:datum="A" .../>             <- datum A, in the section
<circle class="cu" wb:kind="fiducial" wb:name="F1" wb:datum="B" .../>    <- datum B: the copper dot, and its letter as data
<path .../> <rect .../> <text>B</text>                                    <- its flag, for people

The two can't drift apart because the writer draws the children from the attributes, both from the same number. A reader takes only the attributes, and redraws the picture when it writes the file again. Open examples/example.wb.svg in a browser to see the print; open it in a text editor to see the data. The spec's rule 1, "if it isn't drawn, it isn't in the file", holds.

The CAD world splits this the same way. STEP AP242, the standard 3D exchange format, carries GD&T two ways: semantic ("representation"), which software can read, and graphic ("presentation"), the lines and text a person sees. NIST notes that presentation alone carries no meaning a computer can use. Our group is both, linked in one element, as the CAx-IF practices for AP242 recommend.

11Glossary, ISO and ASME

wirebond.svg uses the ISO words. Where ASME Y14.5 says something different, it's in grey.

Nominal / true position
Where the drawing puts a feature, exactly. Every coordinate in wirebond.svg is nominal.
Tolerance indicator / feature control frame
The row of boxes: characteristic, tolerance, datums.
Characteristic
What kind of control: position, profile, flatness, parallelism and so on, each with its own symbol. ISO 1101 and ASME Y14.5 share most of them.
Tolerance zone
The region the real feature, or its centre, must lie in. For position with ⌀, a circle.
Theoretically exact dimension, TED / basic dimension
A dimension with no tolerance of its own, drawn in a box; the indicator supplies the tolerance.
Datum feature, datum
The real feature you measure from, and the perfect plane or point it stands for.
Datum system / datum reference frame
The coordinate system the datums build, in the order the indicator lists them, primary first.
CZ, combined zone
Several zones treated as one pattern at their exact spacing. ISO's pattern rules are in ISO 5458. ASME has no CZ mark; patterns located from the same datums in the same order are treated together by default, its "simultaneous requirement".
n×
Written above the indicator: the rule applies to n features at once.
Leader
The thin line from the indicator to the feature, ending in an arrow on it.
ISO GPS
Geometrical product specifications, the family of ISO standards that includes ISO 1101 (tolerances), ISO 5459 (datums) and ISO 5458 (patterns).

12For maintainers

Where the code is, what's left before the draft becomes part of the standard, and the decisions behind it. Folded away, since you don't need it to use the tolerance.

Where it lives in the repo · files and functions
WhatWhereNotes
The ruleSPEC.md, "Placement tolerance (draft)"Datums, the tolerance indicator's attributes, what's decided, and the checker's results for the example.
Element kindsSPEC.md, "Element kinds" tableRows for layer (datum), fiducial (datum) and tolerance.
Datums on fiducialsSPEC.md, "Fiducials (draft)"; fiducials page, section 7One fiducial can be both a datum and an alignment point.
Drawing itdrc.py, write(), its helper datum(), and the "placement tolerance" layer after the wiresWrites the indicator beside the die, the zone circles, the datum flags, and the "Die placement" panel.
Reading itdrc.py, rd()Reads the indicator's attributes only.
Checking itdrc.py, check(), tol_pads(), corners(), shift(), place_limit()Grammar, datums exist, every check passes at the zone's edges. python tools/drc.py place file.wb.svg finds the real limits.
Teststests/test_drc.py, the placement tests; tests/test_app.py, test_placement_tolerance_is_drawn_once_and_read_back; tests/test_py.py, the zone check tests
Exampleexamples/make_example.py (tol=dict(width=50, datums="A B C")), examples/example.wb.svgThe indicator sits off the top-left corner of the lands, on the "placement tolerance" layer, with its leader to a pad.
Exportsexamples/example.fiducials.csv (datum column); KiCad wb_datum, and from the app wb_position_tol_um and wb_datum_<mark>The derived x, y and θ limits aren't exported yet.
The appapp/js/model.js (tolOf, tolPads, tolClear, datumLetters, zoneEdges, zoneCheck), app.js (Placement panel, a copper mark's Datum buttons), view.js (paintTolZones, paintTolFrames), export.js, wbsvg.jstolClear is the area the die and its lands cover; the plan and the .wb.svg put the indicator outside it.
From draft to standard · nine steps

The draft works: the example carries it, the checker uses it, tests cover it. To make it a real part of wirebond.svg, each of these needs to be done, roughly in this order. None of them needs the ISO standards' text: we cite them and use their symbols, but they're paid, copyrighted documents, so the spec explains our one control in its own words.

  1. Keep one form. DoneThe indicator's attributes are the data; the zone is drawn with no wb:kind, and wb:place-tol is gone.
  2. Write the grammar into SPEC.md, in ISO terms. DoneRequired attributes, wb:char a closed list of one value, position; wb:tol the diameter in µm, positive; wb:datums one to three letters, primary first; wb:applies-to one die. The zone in one sentence. Cites ISO 1101, ISO 1660 and ISO 5459.
  3. Say what may be a datum.Today any wb:datum works. Tighten it: the primary is a stack layer's top face; secondary and tertiary are align fiducials. Two datums with the same letter is an error.
  4. Say what "no tolerance" means.A file without one is "not specified", not "zero". The checker should print a note, and leave the edge-of-zone checks out.
  5. Make the checker enforce it.Still to do: datum rules, a saw allowance on the die edge in the edge clearance check, and a margin report, the stated tolerance against what place finds. A test for each in tests/test_drc.py.
  6. Carry it to the people who use it.Write the derived x, y and θ limits into the bond list CSV header and the fiducials CSV, draw the indicator in the DXF, and put it on the die footprint in KiCad as fab-layer text.
  7. Teach the app. Half doneWire Bond Bench sets the diameter and the datums, draws the zones and the indicator beside the die, writes them in its exports and reads them back. Its Check at the zone's edges button runs every check at the zone's edges, in JavaScript, for any number of die. Still to do: show it in the Checks tab itself.
  8. Ask an assembler.Ask a house to read our indicator, and what numbers they would sign up to. Ask a bonding house for their vision capture range. Adjust before freezing.
  9. Promote it.Remove "(draft)" from the SPEC section, bump the spec version, and note the change.
Decisions so far · Q1 to Q8, all decided November 2026
Q1. Which form is the one source of truth? The indicator

Drawn and machine-readable at once, the AP242 pattern. The zone circles are drawn from it as decoration; attributes on the die group were dropped.

Q2. Does the zone hold the sawn edge, or the pads? The pads

Section 6. Follows: position instead of profile (Q8), a saw allowance in the edge clearance check, and assemblers aligning on the eye points.

Q3. Store x, y, θ as well? Derive, don't store

Section 7. Computed for exports, so there's no second number in the file that could disagree.

Q4. Which other characteristics? None for now

Candidates later: parallelism of the die's top to A, since a tilted die changes bond heights, and die and bondline thickness.

Q5. ASME or ISO? ISO GPS

ISO 1101 for the tolerance, ISO 5459 for datums. For our one control the drawing barely changes between the two; the words in the spec do.

Q6. Per die, or one per file? Per die

wb:applies-to names a die and stays required, which leaves room for multi-die files.

Q7. Rename wb:kind="fcf"? tolerance

"Feature control frame" is ASME's term; ISO says "tolerance indicator".

Q8. Position with CZ, in place of profile? Yes

Follows from Q2. The shift limit stays 25 µm; the turn is now set by the farthest bonded pad, 0.50° in the example, rather than the die's corner, 0.56°.

13Sources

Looked up in November 2026. We haven't read the full standards; the summaries below come from the pages listed, including ISO's own free preview pages.

  1. ISO 1101:2017, Geometrical tolerancing (preview). Standard Tolerance indicator, theoretically exact dimensions, the CZ and UF modifiers.
  2. ISO 1660:2017, Profile tolerancing, preview. Standard Profile, the control the first draft used.
  3. ISO 5459:2024, Datums and datum systems, preview. Standard The third edition, replacing 2011.
  4. MM Science Journal, November 2020, new rules for pattern specification in ISO GPS. The pattern rules of ISO 5458, and the practical difference between CZ and separate zones.
  5. ASME, Y14.5 Dimensioning and Tolerancing. Standard The standard's own page. The current edition is Y14.5-2018, reaffirmed 2024.
  6. Wikipedia, ASME Y14.5. History, and the 2018 edition's changes.
  7. NIST, STEP File Analyzer and Viewer, and its user's guide (NIST AMS 200-4). Semantic PMI (representation) versus graphic PMI (presentation) in STEP AP242.
  8. CAx-IF, Recommended Practices for PMI, v4.1. How AP242 links semantic GD&T to its drawn presentation.
  9. CADInterop, QIF. Vendor page QIF, an XML format that carries semantic GD&T for measurement. Worth a look if we ever export to inspection.
  10. This repo: SPEC.md, drc.py, examples/make_example.py, tests/test_drc.py, and the fiducials page. Numbers in sections 7 and 8 are from running drc.py on examples/example.wb.svg.

Part of wirebond.svg, a viewable wire bond exchange format, and its browser app Wire Bond Bench. (c) Andrew Wingate, MIT licence.