Skip to content

Bug: the Power net class asks KiCad for 0.2 mm clearance, but the project file the router reads says 0.127 mm - #288

Open
JeffMboya wants to merge 1 commit into
absmach:mainfrom
JeffMboya:SYN-power-class-clearance
Open

JeffMboya wants to merge 1 commit into
absmach:mainfrom
JeffMboya:SYN-power-class-clearance

Conversation

@JeffMboya

Copy link
Copy Markdown
Contributor

What type of PR is this?

This is a bug fix

What does this do?

build_netclasses writes the inferred Power class at DEFAULT_CLASS_CLEARANCE_MM (0.127), matching Default and the .kicad_pro.

Which issue(s) does this PR fix/relate to?

Resolves #287

Have you included tests for your changes?

Yes, netclass_is_top_level_outside_setup asserts Default and Power both emit 0.127 and none 0.2.

Did you document any new/modified features?

No, behaviour only; a comment on power_clearance gives the reason.

Notes

…nd router use

build_netclasses hardcoded 0.2 mm for the inferred Power class on every board but RP2350, while the project file wrote it at the manufacturer minimum the router honours. KiCad checked 0.2 mm, so legally routed copper next to GND and 3V3 pads was reported.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Bug: the Power net class asks KiCad for 0.2 mm clearance, but the project file the router reads says 0.127 mm

1 participant