3D Electronic Component Models for JSCAD and tscircuit
Docs · Website · Twitter · discord · Quickstart · Online Playground
jscad-electronics is a library of 3D electronic component models for use with JSCAD and tscircuit. It provides accurate and customizable 3D models for various electronic components, making it easier to create 3D representations of PCBs and electronic assemblies.
Contribution Guide:
- Wide range of electronic component models (e.g., resistors, capacitors, ICs, connectors)
- Customizable dimensions and parameters for each component
- Integration with tscircuit for advanced PCB design capabilities
- Easy-to-use React components for JSCAD integration
Install jscad-electronics using npm:
npm install jscad-electronics
Here's a basic example of how to use jscad-electronics with JSCAD:
import { JsCadView } from "jscad-fiber"
import { SOT233P, ExtrudedPads } from "jscad-electronics"
export default () => {
return (
<JsCadView zAxisUp>
<SOT233P />
<ExtrudedPads footprint="sot23" />
</JsCadView>
)
}
This example creates a 3D model of an SOT-23-3P component with extruded pads.
jscad-electronics includes models for various components, including:
- Resistors (0402, 0603, 0805)
- Capacitors
- ICs (DIP, SOIC, TSSOP, QFN, QFP, BGA)
- Diodes (SOD-123)
- Transistors (SOT-23, SOT-563, SOT-723)
- And more!
Check the lib
directory for a full list of available components.
Most components accept parameters for customization. For example:
<QFN fullWidth={4} height={0.8} thermalPadSize={2} />
Refer to the individual component files for available customization options.
jscad-electronics is designed to work seamlessly with tscircuit. You can use these 3D models in your tscircuit projects to create accurate 3D representations of your PCB designs just by
using the footprint
prop
Contributions are welcome! Please feel free to submit a Pull Request.
This project is licensed under the MIT License - see the LICENSE file for details.
If you encounter any problems or have any questions, please open an issue on the GitHub repository.