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

It's difficult to use Assembly Variants with most of the passives. #151

Open
nuket opened this issue Dec 13, 2019 · 0 comments
Open

It's difficult to use Assembly Variants with most of the passives. #151

nuket opened this issue Dec 13, 2019 · 0 comments

Comments

@nuket
Copy link

nuket commented Dec 13, 2019

Hi guys, thanks for putting together this great library of parts.

One thing I've noticed when using it, however, is that for most of the parts, it is impossible to set a user-defined value with the exact manufacturer part number when setting up Assembly Variants, because almost all parts have the Value = Off in the Part Editor.

This makes it impossible to use the Bill of Materials ULP (bom.ulp) to easily generate a spreadsheet w/the exact manufacturer part numbers I then use to order from DigiKey or Mouser.

If I go into the Part Editor and change Value = On, I can then assign exact manufacturer part numbers in the Assembly Variant editor.

The diff for a single part looks like:

$ git diff
diff --git a/SparkFun-Resistors.lbr b/SparkFun-Resistors.lbr
index 06778ef..796e86d 100755
--- a/SparkFun-Resistors.lbr
+++ b/SparkFun-Resistors.lbr
@@ -2965,7 +2965,7 @@ It has a reduced top mask to make it harder to install upside-down.
-<deviceset name="1KOHM" prefix="R">
+<deviceset name="1KOHM" prefix="R" uservalue="yes">

There's probably a UNIX one-liner involving sed and awk to automate adding uservalue="yes" to every part in a library, and I may yet figure out what that is.

Is this something that SparkFun would be willing to pull? It wouldn't break any existing or past designs, and it would give a lot more flexibility to users to create more streamlined and detailed BOMs. It also doesn't negatively affect anyone not using Assembly Variants.

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

1 participant