-
Notifications
You must be signed in to change notification settings - Fork 68
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
[Feature] Pick-n-Place fully quoted for EuroCircuits #456
Comments
Hi @andersruneson ! |
Yes, right, I found the issue when switching to KiBot because the script we used previously to generate pnp did not quote any fields, which can be a bit "dangerous" in case there is commas in the strings. I also agree that the best place to fix this is at EuroCircuits, but let's keep this open until they reply. The other alternative is of course for me to write my own csv-to-csv converter. But in case this affects more than me it's nice to have it in KiBot. Old script below, probably something we found on the internet, I just though that KiBot used the "same".
|
- To quote all columns in the CSV output Closes #456
The above patch adds a
Nope, the original code was contributed by Romain Deterre and I forced it to generate something as close as possible to what KiCad generates. KiCad quotes strings that can be problematic, but never things like top/bottom, or numbers. |
Wow, that was fast! Thank you so much! |
Describe the bug
When uploading a CSV pick-n-place file to EuroCircuits it triggers their "Identify which column to use" dialog which adds manual work for each board ordered.
The issue seems to be a CSV with some columns having quotation marks and some don't.
To Reproduce
Go to eurocuiruits.com, create account, do upload PCB-gerber-zip-file, upload the BOM and then upload a CSV pick-n-place-file generated by KiBot.
The generated pick-n-place-file looks like this:
If I add quotation marks " on each column like below, EuroCircuits can read the file fine:
This is the output configuration we use for EuroCircuits:
Expected behavior
The import at EuroCircuits should happen automatically.
To be fair, the bug is at EuroCircuits, so I've reach out to them as well to get them to correct their parsing. But maybe add an option to have quotation marks on all columns?
Screenshots
See above.
Environment (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: