KSU Help [solved]: Errors exporting a footprint from KSU

Hi Guys,

I’m trying to generate a footprint using KSU in FC 0.19, but I end up with a bunch of errors and I have no idea of what is it that I’m doing wrong. When I select my block and try to export to a .kicad_mod file, I get this:
.
.
12:02:14 vertical
12:02:14 vertical
12:02:14 vertical
12:02:14 vertical
12:02:14 vertical
12:02:14 vertical
12:02:14 pad in pad found!
12:02:14 pad in pad found!
12:02:14 pad in pad found!
12:02:14 pad in pad found!
12:02:14 pad in pad found!
12:02:14 pad in pad found!
12:02:14 Running the Python command ‘ksuToolsFootprintGen’ failed:

Traceback (most recent call last):
File “C:\FreeCAD_0_19\Mod\StepUp\kicadStepUpCMD.py”, line 1920, in Activated
kicadStepUptools.PushFootprint()
File “C:\FreeCAD_0_19\Mod\StepUp\kicadStepUptools.py”, line 16583, in PushFootprint
export_footprint(name)
File “C:\FreeCAD_0_19\Mod\StepUp\kicadStepUptools.py”, line 17182, in export_footprint
drl_found=collect_drl(pth_ordered)
File “C:\FreeCAD_0_19\Mod\StepUp\kicadStepUptools.py”, line 17884, in collect_drl
pads.remove(d) ## remove drls from pads

list.remove(x): x not in list
I’ve attached the FC file: Rotary_Switch.FCStd (9.1 KB)

Any suggestions are greatly appreciated!

Do you have the latest version of it? Could you share your version number?

Hi,
your pads should be assigned to polyline pads, better if you would use one sketch each pad.
Rotary_Switch-v2.FCStd (7.2 KB)

1 Like

Sure, please see below:

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.19.22411 (Git)
Build type: Release
Branch: master
Hash: d4519d5aec15bc08f029da5ed15410a494b57b2c
Python version: 3.8.5
Qt version: 5.12.6
Coin version: 4.0.0
OCC version: 7.4.0
Locale: English/United States (en_US)

Thanks!

Awesome, I’ll give it a try, thank you!!!

1 Like

Worked like a charm, many, many thanks!!!

2 Likes

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