hildogjr / KiCost

Build cost spreadsheet for a KiCad project.
MIT License
494 stars 97 forks source link

Wrong Digi-Key code for Tape & Reel (TR) #502

Open set-soft opened 3 years ago

set-soft commented 3 years ago

Currently KiCost is mixing different catalog codes with the objetive to offer more price tiers.

But this introduces a problem. If you buy less than a reel you get a valid catalog code, but when you buy a whole reel you get the catalog code for "Cut Tape", with the cost of the "Tape & Reel". This will most probably generate a confusion for the order.

I suggest doing the following:

  1. Stop mixing catalog numbers pretending you can create a coherent order later.
  2. Choose which catalog number/price tiers to use according to the number of components. Currently you can specify the number of boards from the command line (not from the GUI! this should be added). So KiCost can detect if buying whole reels makes sense.

Another option:

This brings another issue: Buying "half a reel" needs:

  1. A "DigiReel" code
  2. An extra fee for the reeling

So perhaps we should add the "digikey-tr" only if the user asks for it (and/or only when the number of components suggests it), and in this case "digikey" column should use the Digi-Reel code. BTW: I think the reeling fee isn't reported by Digi-Key API (much less by Octopart)