← Back to team overview

kicad-developers team mailing list archive

Re: FreeCAD StepUp tools Openfile dialog issue on OSX

 

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 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 empty value.

I worked around the problem by not using native OSX Open file dialog:
//

name=QtGui.QFileDialog.getOpenFileName(self, 'Open file',
last_file_path,"kicad module files (*.kicad_mod)",
options=QtGui.QFileDialog.DontUseNativeDialog )[0]

//

This is working for me now, not sure exactly why it is not working with
native OSX dialog.


Cheers, Jose






_______________________________________________
Mailing list: https://launchpad.net/~kicad-developers
Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
Unsubscribe : https://launchpad.net/~kicad-developers
More help   : https://help.launchpad.net/ListHelp



Follow ups

References