← Back to team overview

kicad-developers team mailing list archive

FreeCAD StepUp tools Openfile dialog issue on OSX

 

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

Follow ups