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

[Feature[ Per connector or wire BOM replacement #430

Open
JarrettR opened this issue Nov 6, 2024 · 1 comment
Open

[Feature[ Per connector or wire BOM replacement #430

JarrettR opened this issue Nov 6, 2024 · 1 comment

Comments

@JarrettR
Copy link
Contributor

JarrettR commented Nov 6, 2024

It would be useful to allow connectors or wires to describe their own BOM entry.

For example, I have an overview sheet that describes a system at a very high level.
One of the parts is a PCB subassembly, displayed as a connector with the format:

  JB:
    type: 'JB'
    pinlabels: [AC, DATA, TRANSFER]
    show_pincount: false
    show_name: false

Visually, this is perfectly acceptable for my purposes:
image

Ideally I'd be able to choose what is displayed on the BOM, however.
Connector, JB doesn't accurately describe what is going on.

An easy (I think?) fix for this could just be another parameter added to the connector and cable types.
ignore_in_bom already exists, but something like bom_description could be added, too. With both cable and connector types.

In this case, I'd likely add bom_description: PCB Subassembly to my connector.

As it is, I'll be setting ignore_in_bom and adding an additional BOM item, so much appreciated that a workaround already exists!

This could solve people wanting to use WireViz with other languages, as well, but that's out of scope of my particular issue.

@kvid
Copy link
Collaborator

kvid commented Nov 7, 2024

Thank you for describing your use case, and suggesting such a new feature. I think your use case is a bit similar to what is described in #142, and that your suggestion (or some variation of it) should be consider for both issues.

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