balloon_drawing
Number every dimension, feature control frame, and note on a drawing page with persistent inspection balloons so re-runs and edits don't alter or reuse assigned IDs.
Instructions
Number every characteristic on a drawing page with an inspection balloon — each dimension, feature control frame, and feature note gets a numbered circle beside it, rendered on SVG/PDF export. This is the print a quality engineer actually works from, and the key inspection_plan and fai_report row against.
Balloon numbers are an IDENTITY, not an ordinal. They are persisted on the FreeCAD objects, so: re-running on an unchanged page reassigns nothing; adding a dimension appends the next number rather than renumbering the print; and a deleted dimension RETIRES its number instead of passing it to a different feature — an inspection record written against balloon 7 can never come to mean something else. Pass renumber=True to deliberately discard the numbering and start from 1 (which invalidates any inspection record already written).
Call it after the dimensions are placed and fit_page has run. Returns
{count, balloons, assigned, kept, retired, next_balloon}; balloons maps each
source object name to its number.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| renumber | No |