SparkFun-Eagle-Libraries icon indicating copy to clipboard operation
SparkFun-Eagle-Libraries copied to clipboard

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

Open nuket opened this issue 4 years ago • 0 comments

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.

nuket avatar Dec 13 '19 14:12 nuket