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

add 4 pin crystal symbol #210

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

add 4 pin crystal symbol #210

wants to merge 4 commits into from

Conversation

ni9999
Copy link

@ni9999 ni9999 commented Nov 19, 2024

fixes #202
/claim #202

Copy link

vercel bot commented Nov 19, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
schematic-symbols ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 24, 2024 1:37am

Copy link

algora-pbc bot commented Nov 19, 2024

💵 To receive payouts, sign up on Algora, link your Github account and connect with Stripe.

Copy link
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice work, anchors aren't quite right in either view. Make sure the text grows away from the symbol. These texts are replaced with potentially very long names so they must be anchored properly

Use modifySymbol it's a better, more modern api

image

],
size: { width: bounds.width, height: bounds.height },
center: { x: bounds.centerX, y: bounds.centerY },
})
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

use modifySymbol instead

please label pins 2 and 4 "gnd1", "gnd2"

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@seveibar changed accordingly.

@seveibar
Copy link
Contributor

@ni9999 nice work, was happy to see this

@ni9999
Copy link
Author

ni9999 commented Nov 20, 2024

@seveibar now it looks like this
Screenshot from 2024-11-20 22-04-19

@ni9999 ni9999 requested a review from seveibar November 20, 2024 16:18
Copy link

This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.

Comment on lines 5 to 6
.labelPort("top1", ["gnd1"])
.labelPort("bottom1", ["gnd2"])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.labelPort("top1", ["gnd1"])
.labelPort("bottom1", ["gnd2"])
.labelPort("top1", ["2", "gnd1"])
.labelPort("bottom1", ["4", "gnd2"])

Copy link
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ni9999, just accept my suggestion and regenerate the snapshot, and you're good to go!!!

@ni9999
Copy link
Author

ni9999 commented Nov 24, 2024

@seveibar accepted but now gnd1 and gnd2 is gone
crystal_4pin_horz

Copy link
Contributor

@seveibar seveibar left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes theyre now alias rather than primary labels, we should show all the labels but it would be crowded 🤷

Copy link

This PR has been automatically marked as stale because it has had no recent activity. It will be closed if no further activity occurs.

@seveibar
Copy link
Contributor

@ni9999 im eager to merge this but it has conflicts!

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

Successfully merging this pull request may close these issues.

Add four pin crystal variant
2 participants