Skip to content

Net labels can be placed inside chip bodies #655

Description

@abdalraof-albarbar

In bug-report-20260707T230831Z the final placement leaves four net labels — VIN, VOUT, PG and U1.FB to R2.pin1 — fully inside chip bodies. They render behind the component and are illegible.

NetLabelNetLabelCollisionSolver only relocates a label when it overlaps another label (findNextCollidingPair looks for label-label overlaps). It does check candidate positions against chips, but only for labels it is already moving because of a label-label collision. A label that sits inside a chip without also colliding with another label is never checked against chips or moved out.

Repro (asserts no final net label is >50% inside a chip body): #653-branch adds a test.failing.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions