Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement externallyConnectedPorts for <chip /> #548

Closed
seveibar opened this issue Jan 24, 2025 · 6 comments · Fixed by #554
Closed

Implement externallyConnectedPorts for <chip /> #548

seveibar opened this issue Jan 24, 2025 · 6 comments · Fixed by #554

Comments

@seveibar
Copy link
Contributor

This prop automatically connects pins together externally by creating trace elements automatically.

<chip
  name="U1"
  footprint="soic8"
  externallyConnectedPins={[["pin1", "pin2"], ["pin3", "pin4"]]}
/>

is the same as

<chip
  name="U1"
  footprint="soic8"
/>
<trace from=".U1 .pin1" to=".U1 .pin2" />
<trace from=".U1 .pin3" to=".U1 .pin4" />

/bounty $20

Copy link

algora-pbc bot commented Jan 24, 2025

💎 $20 bounty • tscircuit

Steps to solve:

  1. Start working: Comment /attempt #548 with your implementation plan
  2. Submit work: Create a pull request including /claim #548 in the PR body to claim the bounty
  3. Receive payment: 100% of the bounty is received 2-5 days post-reward. Make sure you are eligible for payouts

Thank you for contributing to tscircuit/core!

Add a bountyShare on socials

Attempt Started (GMT+0) Solution
🟢 @kom-senapati Jan 25, 2025, 7:22:53 AM #554

@kom-senapati
Copy link
Contributor

kom-senapati commented Jan 24, 2025

For this, we need to add externallyConnectedPins prop in ChipProps in https://github.com/tscircuit/props repo

PR - tscircuit/props#149

@Rishikesh63
Copy link

@kom-senapati have you solve this issue or i can work on it

@seveibar seveibar changed the title Implement externallyConnectedPins for <chip /> Implement externallyConnectedPorts for <chip /> Jan 24, 2025
@kom-senapati
Copy link
Contributor

kom-senapati commented Jan 25, 2025

/attempt #548

Algora profile Completed bounties Tech Active attempts Options
@kom-senapati    12 tscircuit bounties
+ 1 bounty from 1 project
JavaScript, TypeScript,
HTML & more
Cancel attempt

Copy link

algora-pbc bot commented Jan 25, 2025

💡 @kom-senapati submitted a pull request that claims the bounty. You can visit your bounty board to reward.

Copy link

algora-pbc bot commented Jan 26, 2025

🎉🎈 @kom-senapati has been awarded $20! 🎈🎊

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants