Re: [Kicad-developers] FreeCAD StepUp tools Openfile dialog issue on OSX

2015-12-15 Thread easyw
Thank you for your positive feedback! I'm going to update the repo :) Maurice On 15/12/2015 18.57, Jose A. Saumell wrote: Hi Maurice, That worked for me on OSX 10.9.5 now with native dialog. Thanks! Jose On Tue, Dec 15, 2015 at 10:56 AM easyw mailto:ea...@katamail.com>> wrote: Hi Jose,

Re: [Kicad-developers] FreeCAD StepUp tools Openfile dialog issue on OSX

2015-12-15 Thread Jose A. Saumell
Hi Maurice, That worked for me on OSX 10.9.5 now with native dialog. Thanks! Jose On Tue, Dec 15, 2015 at 10:56 AM easyw wrote: > Hi Jose, > > here is the solution for OSX: > > 1) add > import PySide >just before (line 48 of StepUp tools 1.3.2.8) > from PySide import QtGui, QtCore > 2) and

Re: [Kicad-developers] FreeCAD StepUp tools Openfile dialog issue on OSX

2015-12-15 Thread easyw
Hi Jose, here is the solution for OSX: 1) add import PySide just before (line 48 of StepUp tools 1.3.2.8) from PySide import QtGui, QtCore 2) and change name=QtGui.QFileDialog.getOpenFileName(self, "Open File...", last_file_path, "kicad module files (*.kicad_mod)")[0] (line 629,630 of Step

Re: [Kicad-developers] FreeCAD StepUp tools Openfile dialog issue on OSX

2015-12-14 Thread easyw
Hi Jose, good to know! :) I think that FreeCAD would be a very useful companion for KiCad... It is open source and works an the same platforms on which KiCad works I'm also building a 3D mechanical library that is based on KiCad official '.pretty' modules, that will let users to benefit of 3D

Re: [Kicad-developers] FreeCAD StepUp tools Openfile dialog issue on OSX

2015-12-14 Thread Jose A. Saumell
No problem, thank you for the tools, I am working on a new board and using the FreeCAD only workflow. Today created a PCB 3D model in step which is really valuable! Take care On Mon, Dec 14, 2015 at 4:43 PM easyw wrote: > Hi Jose, > > I can reproduce it in OSX Lion, so I can debug :) > > Thank y

Re: [Kicad-developers] FreeCAD StepUp tools Openfile dialog issue on OSX

2015-12-14 Thread easyw
Hi Jose, I can reproduce it in OSX Lion, so I can debug :) Thank you for reporting it and also for the solution-workaround you have found! keep in touch Maurice :) On 14/12/2015 16.43, Jose A. Saumell wrote: Hi, I've ran into an issue whenever I had to use the StepUp tools on Freecad to op

Re: [Kicad-developers] FreeCAD StepUp tools Openfile dialog issue on OSX

2015-12-14 Thread easyw
Ok so it seems related to osx and qtgui... I'm going to check, but I could only on Lion 10.7 I will update asap Maurice On 14 December 2015 18:44:54 CET, "Jose A. Saumell" wrote: >Hi Maurice, > >It is not related to the .kicad_mod file. Failed with with many I >tried. >The Macro did not load the

Re: [Kicad-developers] FreeCAD StepUp tools Openfile dialog issue on OSX

2015-12-14 Thread Jose A. Saumell
Hi Maurice, It is not related to the .kicad_mod file. Failed with with many I tried. The Macro did not load the 'name' variable from the opendialog window. It came back empty and thus the next if statement gave false result: if len(name) > 0: txtFile = open(name,"r") c

Re: [Kicad-developers] FreeCAD StepUp tools Openfile dialog issue on OSX

2015-12-14 Thread easyw
Hi Jose, if you post the .kicad_mod file I will check it (better if zipped) PS which is the version of kicad StepUp tools you are using? Maurice On 14/12/2015 16.43, Jose A. Saumell wrote: Hi, I've ran into an issue whenever I had to use the StepUp tools on Freecad to open a footprint and do

[Kicad-developers] FreeCAD StepUp tools Openfile dialog issue on OSX

2015-12-14 Thread Jose A. Saumell
Hi, I've ran into an issue whenever I had to use the StepUp tools on Freecad to open a footprint and do the alignment of 3D model. I would get an open file dialog but nothing would happen after selecting the .kicad_mod file. Inside kicad-StepUp-tools.FCMacro: The name[0] variable would return an