Skip to content

Supported holes for stampreceiver and modified pad length and holes position of stampboard#71

Merged
AnasSarkiz merged 3 commits intotscircuit:mainfrom
AnasSarkiz:main
Oct 21, 2024
Merged

Supported holes for stampreceiver and modified pad length and holes position of stampboard#71
AnasSarkiz merged 3 commits intotscircuit:mainfrom
AnasSarkiz:main

Conversation

@AnasSarkiz
Copy link
Copy Markdown
Member

No description provided.

@AnasSarkiz AnasSarkiz requested a review from seveibar October 21, 2024 21:41
Comment thread src/fn/stampboard.ts Outdated
platedhole(
i + 1,
params.w / 2 - params.pl + outerDiameter / 2,
params.w / 2 - 1.61,
Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Is this intentionally hard coded? Shouldnt it be derived or a default?

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Screenshot 2024-10-21 at 11 47 49 PM I write it hard coded to be like the data sheet if I need it to be dynamic then I need to modify `params.pl + outerDiameter / 2`

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

oh we just need to give a name to that distance and set the default to 1.61. That parameter should be called innerholeedgedistance i think

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

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

Screenshot 2024-10-22 at 12 00 15 AM

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

yep!

@seveibar
Copy link
Copy Markdown
Contributor

We can keep it hard coded if we create a CONSTANT that explains what it is eg TOP_BOTTOM_RECESSION_OFFSET

@AnasSarkiz AnasSarkiz requested a review from seveibar October 21, 2024 22:00
@AnasSarkiz AnasSarkiz merged commit 623cb2a into tscircuit:main Oct 21, 2024
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.

2 participants