xesscorp / xess_fp_wizard

A KiCad wizard to assist you in making footprints for chips having pins around the edges (SOICs, QFPs, etc.) and ball grid arrays (BGAs)
MIT License
37 stars 11 forks source link

Does not show up in footprint wizard selector #1

Closed Gasman2014 closed 7 years ago

Gasman2014 commented 7 years ago

OS X Running sys.path in pcbnew fails with >

Py 0.9.8
Python 2.7.10 (default, Oct 23 2015, 19:19:21) 
[GCC 4.2.1 Compatible Apple LLVM 7.0.0 (clang-700.0.59.5)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
Startup script executed: /Users/%%%%%%%%%/Library/Preferences/kicad/PyShell_pcbnew_startup.py
sys.path
Traceback (most recent call last):
  File "<input>", line 1, in <module>
NameError: name 'sys' is not defined

In the Footprint wizard, I can only see the following options

screen shot 2016-12-27 at 17 46 43

but my 'plugins' folder contains the following items so the xess_fp_wizard.py amongst others is not recognised.

-rwxr-xr-x  1 %%%%%%%%%%%  admin   5636 Nov 24 08:04 FPC_(SMD_type)_footprintwizard.py
-rwxr-xr-x  1 %%%%%%%%%%%  admin  16121 Nov 24 08:04 FootprintWizardDrawingAids.py
-rwxr-xr-x  1 %%%%%%%%%%%  admin  10559 Nov 24 08:04 HelpfulFootprintWizardPlugin.py
-rwxr-xr-x  1 %%%%%%%%%%%  admin   8663 Nov 24 08:04 PadArray.py
-rwxr-xr-x  1 %%%%%%%%%%%  staff   4971 Dec 27 14:28 QRCodeWizard.py
-rwxr-xr-x  1 %%%%%%%%%%%  admin      1 Nov 24 08:04 __init__.py
-rwxr-xr-x  1 %%%%%%%%%%%  admin   3734 Nov 24 08:04 bga_wizard.py
-rwxr-xr-x  1 %%%%%%%%%%%  admin   2845 Nov 24 08:04 circular_pad_array_wizard.py
-rwxr-xr-x  1 %%%%%%%%%%%  admin   8445 Nov 24 08:04 qfn_wizard.py
-rwxr-xr-x  1 %%%%%%%%%%%  admin   5285 Nov 24 08:04 qfp_wizard.py
-rwxr-xr-x  1 %%%%%%%%%%%  admin   8939 Nov 24 08:04 sdip_wizard.py
-rwxr-xr-x  1 %%%%%%%%%%%  admin   7860 Nov 24 08:04 touch_slider_wizard.py
-rwxr-xr-x  1 %%%%%%%%%%%  admin   6243 Nov 24 08:04 uss39_barcode.py
-rwxr-xr-x  1 %%%%%%%%%%%  admin  21733 Dec 27 17:21 xess_fp_wizard.py
-rwxr-xr-x  1 %%%%%%%%%%%  admin   7856 Nov 24 08:04 zip_wizard.py
Gasman2014 commented 7 years ago

Please ignore the above - I realised I had forgotten to do import sys before sys.path. However, am still having some issues;

screen shot 2016-12-28 at 12 04 59

(sorry, text won't cut and paste).

xesscorp commented 7 years ago

I'm looking at this now. pcbnew.py got some changes in variable/constant names. Hopefully that's all that changed.

xesscorp commented 7 years ago

OK, I changed the names for the pad shapes to match the ones in pcbnew.py and it appears to work.