Drawing Legibility
drawing_legibilityCheck a drawing page for legibility issues: overlapping dimension labels, dimension lines crossing unrelated views, and elements past the sheet border. Returns each violation with a code and human-readable reason.
Instructions
Legibility gate for a drawing page: on the ACTUAL placed graphics, flag the ways the layout becomes unreadable — overlapping dimension labels, a dimension line crossing a view it does not reference, or anything past the sheet border.
min_gap (mm) is the breathing room required between two labels. Returns {ok,
violations, labels, segments, views}; each violation has a code
(overlap/crosses_view/out_of_border) and a human reason. ok=True means the
placed dimensions read cleanly on the sheet. Inspection balloons count as placed
graphics too — a numbered circle sitting on a neighbour or off the sheet is
flagged like any other label.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | Yes | ||
| min_gap | No |