← Back to community index
# contributor·Active

Arhan - I think I found an issue.placementDrcC...

placementDrcChecksDisabled doesn't seem to work when set on a <board . Even with placementDrcChecksDisabled={true}, autorouting is still skipped due to placement DRC errors, even though the error message tells users to set that prop to bypass the check. I traced it to what looks

Started by ArhanJul 30, 20269 messages

Discussion

Last active last month · plain text
Arhanoriginal post
`placementDrcChecksDisabled` doesn't seem to work when set on a `<board>`. Even with `placementDrcChecksDisabled={true}`, autorouting is still skipped due to placement DRC errors, even though the error message tells users to set that prop to bypass the check. I traced it to what looks like a prop/schema handling issue, but I wanted to check first in case I'm misunderstanding the intended behavior. If this is indeed a bug, should I open a repro PR? <@809856037376491570> <@&1420812538421051555>
mohan-bee
i don't think we have placementDrcChecksDisabled prop for boards !!
Arhan
You're right, it's not in the board schema. I noticed the error message in `should-skip-autorouting-because-of-placement-errors.ts` tells users to set `placementDrcChecksDisabled`, but I could only find that prop defined in `platformConfig.ts`, not `board.ts`. I also verified that it works when set through the platform config, but not via `<board>`. Was the intention for `placementDrcChecksDisabled` to be platform-only, or should it also be supported on `board`? I'd be happy to work on whichever is the intended direction.
Arhan
<@757706909351411845>
Seve
this doesn't seem based in a real use case
Seve
<@1090901054385836045> show some screenshots of your board etc. so we know you're building towards a real board
Arhan
I was building an Adafruit MCP23017 breakout. The reference layout has a tight cluster near the left edge (LED, resistor, solder jumper, and mounting hole), which triggers placement DRC and blocks autorouting. The autorouter tells me to set `placementDrcChecksDisabled={true}` to bypass the check, but setting it on `<board>` doesn't change the behavior.
Seve
that isn't the right solution, no board should be failing drc
Arhan
Got it. I'll investigate why this reference board is failing placement DRC instead of focusing on bypassing it.

Want to add to the conversation?

Reply in Discord so your notes stay connected to the source.
Continue in Discord ↗