Skip to content

Conversation

@rushabhcodes
Copy link
Contributor

@rushabhcodes rushabhcodes commented Nov 12, 2025

This pull request adds support for the SOT-89 transistor package to the 3D footprint rendering library. It introduces a new SOT89 component, integrates it into the main rendering logic, updates exports, provides an example usage, and adds a snapshot test to ensure correct rendering.

SOT-89 3D Model Implementation:

  • Added a new SOT89 component in lib/SOT-89.tsx that models the SOT-89 package using 3D primitives, including body and leads.

Integration with Footprint Renderer:

  • Registered the SOT89 component in lib/Footprinter3d.tsx so it can be rendered when the "sot89" footprint is requested. [1] [2]
  • Exported the SOT-89 component from lib/index.ts to make it available for external use.

Examples and Testing:

  • Added an example usage of the SOT-89 component in examples/SOT-89.example.tsx for demonstration and manual inspection.
  • Created a snapshot test in tests/snapshots/sot89.test.ts to verify the visual output of the SOT-89 footprint.

3D Render

image

Ref

Screenshot_20251112_194754

https://assets.nexperia.com/documents/package-information/SOT89.pdf

@vercel
Copy link

vercel bot commented Nov 12, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Preview Comments Updated (UTC)
jscad-electronics Ready Ready Preview Comment Nov 12, 2025 6:59pm

@ShiboSoftwareDev
Copy link
Contributor

this part is too wide unlike the reference:
Screenshot 2025-11-12 at 4 29 03 PM
it seems to take a third of the width
Screenshot 2025-11-12 at 4 29 32 PM

@rushabhcodes
Copy link
Contributor Author

this part is too wide unlike the reference: Screenshot 2025-11-12 at 4 29 03 PM it seems to take a third of the width Screenshot 2025-11-12 at 4 29 32 PM

Fixed i, was using the wrong width
image

@ShiboSoftwareDev
Copy link
Contributor

can you position it so that it's body is close to the pads? I'm talking about this small gap
Screenshot 2025-11-12 at 8 46 25 PM
also merge confilct

Copy link
Member

@techmannih techmannih left a comment

Choose a reason for hiding this comment

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

You have add bottom side's face leg which are looks little bit gray, both side legs are not white
Screenshot_2025-11-13_22-27-43

@rushabhcodes
Copy link
Contributor Author

You have add bottom side's face leg which are looks little bit gray, both side legs are not white

What?? i dont get it

@github-actions
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.

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.

3 participants