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

Fix stroke width calculation #84

Merged
merged 4 commits into from
Oct 24, 2024
Merged

Fix stroke width calculation #84

merged 4 commits into from
Oct 24, 2024

Conversation

andrii-balitskyi
Copy link
Contributor

@andrii-balitskyi andrii-balitskyi commented Oct 23, 2024

Closes #79

Copy link
Contributor Author

Choose a reason for hiding this comment

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

If this is correct, should this be used to convert every value defined on a circuit json element in convertEasyEdaJsonToCircuitJson instead of @tscircuit/mm?

Copy link
Contributor

Choose a reason for hiding this comment

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

Its not the only unit used, i already wrote a function called something like mil10tomm, we should just call it mil10. Unfortunately easyeda uses many units

Copy link
Contributor

Choose a reason for hiding this comment

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

We can use the function you wrote here but we should rename it just to be super clear

@andrii-balitskyi andrii-balitskyi merged commit 539ba2d into main Oct 24, 2024
3 checks passed
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.

Fix the stroke widths
2 participants