Hi @KevMonster sorry for the very late reply. If it wasn’t for @immersitech tweet earlier I think it might have been another few more month before I realised I had any pending message on ere
Sorry.
With regard to getting the datasheet field on the BOM. The pluging wasn’t pulling that information. To be honest there are a few other field that I’m not pulling. For example library source and component sheet location.
That said, I’ve updated the plugin and pushed it back to the repository. So if you don’t mind cloning/pulling the update then you should be able to get the datasheet info.
For those wanting to use the PDF export function, you no longer need to use the development branch. The code is now live on the master banch and ready to use.
First of all thanks for making this plugin available.
Is it possible to have a column separator different from comma?
In Italy we use a comma as decimal separator, as an example 10200 can be written as 10,2 k. At present if I write 10,2 the number will be incorrect in BOM: 10 will be in a column and 2 in the following column.
Thanks.
I know that 10k2 is internationally recognized. But avoiding comma as separator should be useful also because we use comma sometime in title block.
KiCad bom wizard should be able to output the format that you want. If you are happy to create your own template.
For example, by default it will use the internal CSV template located here. If you make a copy of that somewhere in your computer and update it so that the commas are replace with a safe delimiter then that should do it.
After that you just need to pass that template to the plugin like so:
That said, I wonder if I should update the original CSV template so that it encloses all the values inside quotes by default. That should fix your issue and make it more robust.
Sorry to ask what’s probably a silly question. I got node installed on my Win7 x64 system and, thanks to the comments above, fixed my directory problems.
When I run the command line now, I get:
Success
Info messages:
depdencies are missing. Please wait while they are installed.
Nothing gets installed and a CSV file isn’t generated. Any ideas?
You are going to have to change the file permissions or move it to your personal directory space. I don’t know Windows that well but I’m sure there is some pop up box that will let you do this.
SyntaxError: Unexpected token {
at exports.runInThisContext (vm.js:53:16)
at Module._compile (module.js:374:25)
at Object.Module._extensions…js (module.js:417:10)
at Module.load (module.js:344:32)
at Function.Module._load (module.js:301:12)
at Function.Module.runMain (module.js:442:10)
at startup (node.js:136:18)
at node.js:966:3
On ubuntu 16.04LTS I am using these custom installed versions and it works OK:
$node -v && npm -v
v6.12.2
3.10.10
The thing that creates confusion here is that the error message has nothing to do with node version. The script should ideally check for what it needs at the start and give a clearer & understandable error message.