-
Notifications
You must be signed in to change notification settings - Fork 97
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
Icon #351
Comments
@mdeweerd, this fix is related with the Octopart branch that is been decrepited. |
Hi |
The focus of KiCost now is make it work with PartInfo API, not being dependent of Octopart KEY anymore. As secondary issues, we have: improve the GUI, improve the installation to create a program icon and KiCad plugin at Pcbnew, and issues if documentation. Make pull-request by the github web interface is straightforward: you upload your code / change to you user repository version, submit the pull-request, the KiCost administrator check and merge it to the main. |
With regards to the code: I know how to pull/push - as said KiCost evolves too much fort that. I had quite some changes in a fork I have now deleted that became incompatible by the time it was ready for sharing. Some brainstorming suggestion for the logo. I'll think about documentation/plugin - share my method of using KiCost. |
Unfortunately the first step of KiCost (get the information through API / scrape) is being re-write. The icon: |
Icons can be considered minimum 32x32 nowadays. |
The KiCad documentation recommends a 26x26px: I was think some compact for the coin icon: |
I like the dime in perspective. The "K$" should be a bit bigger on the coin so that it is more readable at 24x24 - similar to the flat K$. |
@mdeweerd, totally agree. The perspective dime cold be used to derivate a shadow "=", making an ambiguous "C" / "€" symbol and over the "K$". |
I think that the two horizontal bars are a good suggestion of the other currency symbols - there is no need to overload the logo/icon. |
@mdeweerd, could provide this 2 icons version? The coin ( |
HI |
No problem. |
Hi I made some time to work on the logo. These are the 24x24 and 512x512 versions. This is the SVG in a ZIP file: |
Almost 4 years - closing. |
print('{} = '.format(f), end=' ')
gives invalid syntax (line 231, kicost.py) on th e"=" symbol for end=> replaced with
print '{} = '.format(f),
Replace with
from .dist_local_template import dist_local_templates
replace with
from .dist_local_template import dist_local_template
kicost_gui.py
from .distributors import init_distributor_dic
-> commented
from .kicost_gui import *
etc.as I am not using the gui.
dist_list.remove(d) ValueError: list.remove(x): x not in list
I had an invalid distributor in the exception list - I added a try: except: pass arround the remove.
File "kicost.py", line 215, in kicost dist_local_template.query_part_info(parts, distributor_dict, currency) TypeError: unbound method query_part_info() must be called with dist_local_template instance as first argument (got list instance instead)
Stuck here.
Moved to python3:
My workaround: Added
OCTOPART_MAX_PARTBYQUERY = 16
to head.-> Stuck here (no "def dist_octopart" found)
Final solution
Rolled back to
git checkout b567f40
The text was updated successfully, but these errors were encountered: