tscircuit / 3d-viewer

3d viewer for printed circuit boards created using tscircuit
MIT License
0 stars 10 forks source link

`cad_component.rotation` isn't being respected with STL URL models #31

Closed seveibar closed 3 weeks ago

seveibar commented 4 weeks ago

Example: https://snippets.tscircuit.com/editor?snippet_id=26be6602-2a54-45eb-9899-010ba279199a

seveibar commented 3 weeks ago

Reproduction suggestion: Download the Circuit JSON from that snippet and paste into a story. Now you should be able to to fix the code such that the rotation is fixed.

https://snippets.tscircuit.com/editor?&snippet_type=board#data:application/gzip;base64,H4sIAMjkKGcAAzWOMQ7DIAxF95zCYkqmkKpLpcBSqQfoDRwgAalghFy1xy9Jyfj8n/y/+2YqDNat+H4x9AMoDX0HMC+ExcInWPZKTDJGAd6FzXMjXaWqGcxoAlM5EKAxJuN2Ucr8EC1aiTiXkOoHeZWX85wwVvU+nZzN8iRGDpSUuEnrtn8y7o3zeOzS3fADi8avJroAAAA=

^ This is the simplest reproduction

seveibar commented 3 weeks ago

Image

/bounty $10

algora-pbc[bot] commented 3 weeks ago

💎 $10 bounty • tscircuit

Steps to solve:

  1. Start working: Comment /attempt #31 with your implementation plan
  2. Submit work: Create a pull request including /claim #31 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/3d-viewer!

Add a bounty • Share on socials

Attempt Started (GMT+0) Solution
🟢 @ShiboSoftwareDev #32
algora-pbc[bot] commented 3 weeks ago

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