mirror of
https://github.com/ajisaacs/OpenNest.git
synced 2026-11-20 12:17:42 -05:00
fix(report): keep IDs on neighboring part groups one spacing apart
Each dotted group outline was padded 1 pt beyond its parts. At overview scale a 0.25 in part spacing is only ~1.3 pt, so the outlines of two adjacent clusters (e.g. the six small bars and the two holed plates on N26-27Y plate 1) overlapped, and the later group - with its ID - was silently dropped. Pad outlines by under half the part spacing instead, so neighboring clusters both get their outline and ID. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
1 parent
a994bae76f
commit
fbe82d198a
4 files changed
+32
-3
No files matched your search
@@ -93,7 +93,9 @@ and a part too small to label never prevents export. Every part remains in the
|
||||
quantity tables even when its diagram label cannot fit.
|
||||
|
||||
Nearby small parts with the same report ID may share a dotted rectangular outline
|
||||
and one ID beside it. Separate clusters get separate outlines. A group is omitted
|
||||
and one ID beside it. Separate clusters get separate outlines; an outline stays
|
||||
within half the part spacing of its parts, so clusters of different parts packed
|
||||
one spacing apart each keep their own outline and ID. A group is omitted
|
||||
if its rectangle includes any other part or cutoff, or if there is no clear space
|
||||
for its label. Clearance is tested against real contours, not bounding boxes, so a
|
||||
cluster nested in a larger part's cutout or notch is still grouped and labeled. Dotted group outlines are distinct from dashed scrap cutoffs.
|
||||
|
||||
Reference in new issue
Block a user