Import PySpice values to KiCad Netlist

Open Beginner friendly
#42 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
2/5
Estimated time
1-3 hours
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Stale
Tech stack
python
Domain
backend

Research direction

Read the KiCad netlist generation code at skidl/tools/kicad.py around line 510. Reproduce the import syntax error with a component value such as 3 @ u_Ohm, then check whether quoting {value} fixes the generated netlist. Done means the generated netlist imports into KiCad without a syntax error.

Written by the indexing model from the issue text.

Description

When generating netlist with components having PySpice values (e.g. 3 @ u_Ohm) syntax error will occurs when you try import it in KiCad.

Adding quotes between {value} fix this problem.

https://github.com/xesscorp/skidl/blob/986fced89ce8f0bfc783f19fe6429ab01112f841/skidl/tools/kicad.py#L510

Dominant language
Python
Stars
1.7k
Forks
184
PR merge metrics
No merged PRs in 30d

Getting set up

This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from devbisme/skidl

All issues in devbisme/skidl

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.