I used FCAD_ PCB, which does not support freecad 0.19.1, when I switch back to version 0.18.4, I find that it can only convert fcab_ pcb directory test kicad PCB file. If I change to my current kicad 5.1.9 (win10), there will be an error and I can’t convert it.
Freecad0.18 can be converted normally now!
The reason should be that the previous file path is too deep!
And freecad 0.19 and 0.20 will have the same error
>>> from fcad_pcb import kicad
Traceback (most recent call last):
File "<input>", line 1, in <module>
File "C:\Program Files\FreeCAD 0.19\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
File "C:/Users/Administrator/AppData/Roaming/FreeCAD/Macro\fcad_pcb\kicad.py", line 4, in <module>
from future.utils import iteritems
File "C:\Program Files\FreeCAD 0.19\bin\Lib\site-packages\shiboken2\files.dir\shibokensupport\__feature__.py", line 142, in _import
return original_import(name, *args, **kwargs)
ModuleNotFoundError: No module named 'future'
>>> pcb = kicad.KicadFcad(r'C:\Users\Administrator\Desktop\tests\MR001_V1.kicad_pcb')
Traceback (most recent call last):
File "<input>", line 1, in <module>
NameError: name 'kicad' is not defined
>>> pcb.make(copper_thickness=0.035, board_thickness=1.53, combo=False, fuseCoppers=True )
Traceback (most recent call last):
File "<input>", line 1, in <module>
NameError: name 'pcb' is not defined
>>>