Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

components being grouped across different designators #19

Closed
Shackmeister opened this issue May 4, 2020 · 4 comments
Closed

components being grouped across different designators #19

Shackmeister opened this issue May 4, 2020 · 4 comments

Comments

@Shackmeister
Copy link
Contributor

From how I see it, the tool should only try to group components if they are the same designator type (R1, R5, R10 etc) besides FP, value etc.

An NTC resistor with same value and FP as a normal resistor, gave me this warning:
"Components R5, TH1 from same group have different LCSC part numbers: C25744, C92371"
Is this a bug or by design?

@matthewlai
Copy link
Owner

That's actually how KiCad's netlist parsing script groups components:

def groupComponents(self, components = None):

I agree it makes sense to also use refdes. Happy for you to change it if you have a moment for a PR.

@Shackmeister
Copy link
Contributor Author

hmm currently it seems like by build uses the internal libraries for the Kicad modules.
Would you know how to force it to use the ones in the repo?

@matthewlai
Copy link
Owner

Are you sure? The library is imported by path:

from jlc_kicad_tools.jlc_lib import kicad_netlist_reader

Though it's possible that if you installed with pip it may be using an installed copy. I would suggest uninstalling from pip, and just git clone the repo instead.

@Shackmeister
Copy link
Contributor Author

Fixed in #20

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

No branches or pull requests

2 participants