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

How to install on OSX #9

Open
jameswalmsley opened this issue Apr 13, 2016 · 5 comments
Open

How to install on OSX #9

jameswalmsley opened this issue Apr 13, 2016 · 5 comments

Comments

@jameswalmsley
Copy link
Contributor

Hi Jeff,

I spent over an hour trying to get this to run on OSX.
I assume that the wxWidgets version will be easier to use, but if thats not ready a quick howto on getting it up and running on OSX would be great.

I had no problems on ubuntu.

J

@mizraith
Copy link

Been working on it myself on OSX. I'm using homebrew as a package manager, so I had to make sure Kicad was pointing to the correct python. Right now I'm calling the following from within the BOM manager:

/usr/local/bin/python "/Users/red/Documents/!PC_Shared/KiCad_REDS_PROJECTS/BOM_Exporters/Boms-Away/bomsaway.py" "%I" "%O"

It's opening a blank wx window without any parts.....what am I missing?

@Jeff-Ciesielski
Copy link
Owner

Jeff-Ciesielski commented Oct 11, 2016

@mizraith: This isn't a kicad bom exporter, it's a standalone application that directly reads/writes kicad schematics.

Just launch it by itself, then open your top-level schematic file using file->open.

@Jeff-Ciesielski
Copy link
Owner

Sidenote: I no longer have access to an OSX machine, Anyone with access to one who would be willing to write up some basic instructions would be greatly appreciated :)

@mizraith
Copy link

Jeff -- THAT TOTALLY HELPED! I was completely dumbfounded as to "what to do next"..... I suggest that your main Read Me file has a section on what to do once you get to the main screen, because that is where I was stuck....

Instructions follow that should work for a reasonably mac-savvy user.

Prepare your Kicad Schematic Parts

You will need to have the following fields in this order:

  1. MFR (manufacturer)
  2. MPN (manufacturer part number)
  3. SPR (supplier)
  4. SPN (supplier part number)

Question: Can BOMs-Away handle additional fields, like Description, Notes

INSTALLING Boms-Away ON OS X

Prerequisites

Ability to use Terminal, or at least get yourself into and out of trouble.

Installation

  1. Install Homebrew This is a great package manager for mac.
  2. brew install python
  3. pip install sqlalchemy
  4. brew install wx (or use pip install. Both seem to work)
  5. Verify your installation with:
  6. which python to make sure you are using the homebrew python
  7. python launch your instance and >>>import sqlalchemy and >>>import wx to verify that you have properly installed the required packages.
  8. cd /directory/where/you/want/bomsaway/to/live
  9. git clone https://github.com/Jeff-Ciesielski/Boms-Away.git (I think git is standard on OS X now...if not, then brew install git)

Launching

  1. cd /path/to/your/kicad_project_directory HINT: on the mac you can drop a folder into the Terminal window to resolve the path...saves on typing.
    2 python /path/to/bomsaway.py This will open the wx GUI.

Using

  1. File->Open Browse to your Kicad schematic file
  2. ??? I'm still learning how to use this
    1. Is there a way to add fields (like Description, Notes)??? These do not come across in the BOM export.

Exporting a BOM

  1. File -> Export BOM as CSV
  2. Open it up in Excel

@yater90spn
Copy link

I haven't been able to close or resize KiCAD windows since installing this due to wxwidgets conflict. Didn't realize until now but thankfully others have had the issue. Going to try the patch mentioned here.

https://bugs.launchpad.net/kicad/+bug/1490762

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants