Skip to content

fix: resolve geometry build crash and React key warnings#17

Closed
1028bc wants to merge 1 commit intotscircuit:mainfrom
1028bc:patch-3
Closed

fix: resolve geometry build crash and React key warnings#17
1028bc wants to merge 1 commit intotscircuit:mainfrom
1028bc:patch-3

Conversation

@1028bc
Copy link
Copy Markdown

@1028bc 1028bc commented Mar 14, 2026

This PR fixes the 'Cannot complete boolean operation' fatal build error by:

  1. Adding unique key props to the decoupling capacitor map in RP2040Circuit.
  2. Removing pcbPack from the RP2040Circuit group to prevent layout collisions.
  3. Defining explicit board dimensions and component offsets in index.tsx to give the geometry engine space to calculate footprints.

Added a- Added unique 'key' props to the decoupling capacitor map in RP2040Circuit to silence React render warnings.
- Removed 'pcbPack' from the RP2040Circuit group to prevent auto-layout engine collisions.
- Defined explicit board width and height in index.tsx.
- Added pcbX and pcbY offsets to root components to prevent complex footprints (like castellated holes) from overlapping at the origin, which resolves the 'Cannot complete boolean operation' fatal build error. key prop to decoupling capacitors for IOVDD.
@tscircuit tscircuit bot requested a deployment to Preview March 14, 2026 12:21 Abandoned
@1028bc
Copy link
Copy Markdown
Author

1028bc commented Mar 15, 2026

Closing this in favor of #19, which provides a consolidated fix for the geometry crashes, React warnings, and switch trace routing. All CI checks are passing there.

@1028bc 1028bc closed this Mar 15, 2026
@1028bc 1028bc deleted the patch-3 branch March 15, 2026 13:47
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.

1 participant