Skip to content

Conversation

@rushabhcodes
Copy link
Contributor

Before

Screenshot_20251213_191125

After

image

Copilot AI review requested due to automatic review settings December 13, 2025 13:42
@vercel
Copy link

vercel bot commented Dec 13, 2025

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

Project Deployment Review Updated (UTC)
docs Ready Ready Preview, Comment Dec 13, 2025 3:39pm

Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR fixes the capacitor documentation example by replacing a through-hole polarized capacitor configuration with an SMD non-polarized ceramic capacitor, enabling the 3D model to render properly in the documentation.

Key Changes:

  • Changed from through-hole "axial_p5mm" footprint to SMD "0402" footprint for better 3D model support
  • Updated component name from "C2" to "C1" to align with documentation naming conventions
  • Adjusted capacitance from "10μF" to "1000pF" and removed polarized property to match typical 0402 ceramic capacitor specifications

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@techmannih
Copy link
Member

It is not the correct way to render 3d model on footprint. you need to check why the axial's cad model is not rendering

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.

i get the idea but the real fix here is to make sure jscad-electronics support axial_pXmm footprints, which is a good feature imo

@rushabhcodes
Copy link
Contributor Author

rushabhcodes commented Dec 13, 2025

it already does, we need to update dependencies in https://png.tscircuit.com/ but i think the repo is private,
https://discord.com/channels/1233487248129921135/1449433775821029561

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.

3 participants