vw2d_check
Checks exact 2D drawing geometry for overlaps, gaps, duplicates, open outlines, and class/attribute issues, returning a numbered report and check image.
Instructions
Check drawing quality on the exact geometry and return a report (and a check image with numbered issues).
Finds: overlaps and stacked fills, gaps and slivers between neighbours, points that miss each other or an edge by up to tolerance_mm, duplicates, double lines, open or self-intersecting outlines, duplicate/redundant vertices, slivers and tiny objects, objects without class, attributes not 'by class'. Overlaps/gaps are compared between objects on the same layer (compare="layer"), the same class ("class") or everything ("all"); ignore_classes (e.g. ["Ausstattung*", "Schraffur"]) leaves out classes that overlap on purpose. checks: subset of overlap, duplicate, near, gap, self_intersection, open, double_line, vertices, tiny, classes, attributes, approx. Each issue suggests a vw2d_fix action. bbox [x1, y1, x2, y2] checks only objects touching that area (fast on big drawings). Precision: 0.005 mm; distances are measured on true arcs.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bbox | No | ||
| image | No | ||
| layer | No | ||
| uuids | No | ||
| checks | No | ||
| compare | No | layer | |
| selection | No | ||
| class_name | No | ||
| max_issues | No | ||
| tolerance_mm | No | ||
| ignore_classes | No |