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

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

Open
set-soft opened this issue Jun 2, 2021 · 0 comments
Open

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

set-soft opened this issue Jun 2, 2021 · 0 comments
Labels
bug Bugs that impacts on main KiCost functionality.

Comments

@set-soft
Copy link
Collaborator

set-soft commented Jun 2, 2021

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:

  • Analyze which distributors are affected by this issue. I know about Digi-Key because I use it.
  • Split the affected distributors, so you have something like "digikey" and "digikey-tr". By default both are included in the spreadsheet, but the user can choose to remove any of them.
  • The DISTRIBUTOR-tr column is for the "Tape & Reel" orders. In this way you can choose to buy a reel and some extra components using a partial reel.

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)

@set-soft set-soft added the bug Bugs that impacts on main KiCost functionality. label Jun 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Bugs that impacts on main KiCost functionality.
Projects
None yet
Development

No branches or pull requests

1 participant