StepUp Error when importing Silkscreen DXF [solved]

Hi All,

New here after coming across from EAGLE so I’m still finding my way about KiCAD but happy with what I’ve done so far. I have designed a board and exporting it to FreeCAD using StepUp. The Board and the Tracks come across without issue but I can’t seem to get the Silkscreens working. I have used the CheatSheet and I am exporting them as DXF in KiCAD but StepUp is throwing a few errors.

Any help to resolve this would be greatly appreciated.

Would @maui be the person to ask?

Thank you :slight_smile:

08:36:09  There has been an error:
08:36:09  Unable to identify DXF file version
08:36:09  Running the Python command 'ksuToolsAddSilks' failed:
Traceback (most recent call last):
  File "C:\Users\*******\AppData\Roaming\FreeCAD\Mod\kicadStepUpMod\.\kicadStepUpCMD.py", line 4232, in Activated
    makefacedxf.makeFaceDXF()
  File "C:\Users\********\AppData\Roaming\FreeCAD\Mod\kicadStepUpMod\.\makefacedxf.py", line 184, in makeFaceDXF
  File "C:\Program Files\FreeCAD 0.21\Mod\Draft\importDXF.py", line 2766, in insert
    processdxf(doc, filename)
  File "C:\Program Files\FreeCAD 0.21\Mod\Draft\importDXF.py", line 2136, in processdxf
    drawing = dxfReader.readDXF(filename)
  File "C:\Users\*******\AppData\Roaming\FreeCAD\Macro\dxfReader.py", line 399, in readDXF
    (infile, drawing) = sm.run((infile, None))

cannot unpack non-iterable bool object
Application: KiCad PCB Editor x64 on x64

Version: 7.0.1, release build

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW
OS: Windows 10 build 19045
Word size of FreeCAD: 64-bit
Version: 0.21.1.33668 +26 (Git)
Build type: Release
Branch: (HEAD detached at 0.21.1)
Hash: f6708547a9bb3f71a4aaade12109f511a72c207c
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.3
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * kicadStepUpMod 10.19.5

hi,
it should be an issue in the FC dxf legacy library…
there is a discussion at FC forum and gh

it should be solved … you could try to enable updating legacy DXF library in FC preferences

EDIT: could you share the dxf file? (even PM me if you prefer)

Hi @maui thanks for getting back to me.

The checkbox for enabling the DXF library update is already checked in FC preferences.

Can you send me a message and I’ll forward you the files please?

ok, I’ve got the files…
it seems there still an issue in FC legacy importer
we need to reopen the issue

1 Like

Thanks Maui.

Are you reopening the issue? Sorry, I’m not sure how bug reporting is done.

It seems FC support for legacy dxf importer is moving slowly…
I’ve added an old stable lib to kSU.
Try to update the wb, to see if everything is solved.

1 Like

Thanks @maui, I have it working now. Thanks for all your help.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.