StepUp support for trapezoids pads

I’m using the footprint wizard to generate a touch slider and I am quite happy with the results (thanks to the creators of the script! )

However, when trying to import this PCB with StepUp into FreeCAD, it seems that the trapezoid pads are not supported and they get transformed to rectangular pads.

From this:

To this:

It is not a big problem, as it is just a visual aid for the mechanical guys, but it would be nice if it would look like the real thing. Does anybody know a work around to make it work? would it be easier to create the footprint from scratch in KiCAD or even FreeCAD to achieve it ? @maui Any suggestions ?

StepUp Log when importing tracks:

FreeCAD build date: 2019/10/22
tracks version: 1.1
py3
kicad_parser_version 1.1.2
py3
making copper layer F.Cu...
    making holes...
      pad holes: 0, skipped: 0
      oval holes: 0
      via holes: 5, skipped: 0
      total holes added: 5
    holes done
  making pads...
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
trapezoid pad converted to rect
    modules: 5
    pads: 82, skipped: 0
    vias: 5, skipped: 0
    total pads added: 87
  pads done
  making tracks...
    making 3 tracks of width 0.25, (0/18)
    making 15 tracks of width 0.50, (3/18)
  tracks done
  making zones...
  zones done
done copper layer F.Cu
running time: 1.655sec
making copper layer B.Cu...
    making holes...
      pad holes: 0, skipped: 0
      oval holes: 0
      via holes: 5, skipped: 0
      total holes added: 5
    holes done
  making pads...
    modules: 5
    pads: 82, skipped: 82
    vias: 5, skipped: 0
    total pads added: 5
  pads done
  making tracks...
    making 35 tracks of width 0.25, (0/35)
  tracks done
  making zones...
    making zone ""...
      region 1/3, holes: 0
      region 2/3, holes: 0
      region 3/3, holes: 0
  zones done
done copper layer B.Cu
running time: 2.611sec

StepUp Tools version:

PoM not present
using 'Part' container
FC Version 018-4
kicad StepUp version 9.5.3.0
tolerance on vertex applied
applying Materials to Shapes
your home path is C:\Users\uestrada
Links not allowed...
falling from Hierarchy to Compound
kicadStepUp
closed
active :slight_smile: 

KiCAD Version

Application: KiCad
Version: (5.1.5)-3, release build
Libraries:
    wxWidgets 3.0.4
    libcurl/7.66.0 OpenSSL/1.1.1d (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.2.0 libpsl/0.21.0 (+libidn2/2.1.1) nghttp2/1.39.2
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
    wxWidgets: 3.0.4 (wchar_t,wx containers,compatible with 2.8)
    Boost: 1.71.0
    OpenCASCADE Community Edition: 6.9.1
    Curl: 7.66.0
    Compiler: GCC 9.2.0 with C++ ABI 1013

Build settings:
    USE_WX_GRAPHICS_CONTEXT=OFF
    USE_WX_OVERLAY=OFF
    KICAD_SCRIPTING=ON
    KICAD_SCRIPTING_MODULES=ON
    KICAD_SCRIPTING_PYTHON3=OFF
    KICAD_SCRIPTING_WXPYTHON=ON
    KICAD_SCRIPTING_WXPYTHON_PHOENIX=OFF
    KICAD_SCRIPTING_ACTION_MENU=ON
    BUILD_GITHUB_PLUGIN=ON
    KICAD_USE_OCE=ON
    KICAD_USE_OCC=OFF
    KICAD_SPICE=ON

thank you!

1 Like

Using trapezoid for this application might not be the best option anymore. I would suggest the use of polygon pads (custom pads). And yes i know the wizard is outdated in this regard.

You could even use freecad with stepup to make the pads. See Kicad StepUp: The Sketcher for Footprint generation

Thanks a lot Rene, as I said, I like the way the script work and find it very useful.

It should be fine now.

5 Likes

:smiling_face_with_three_hearts: :heart_eyes: :star_struck: Wow! Thanks a bunch Maui!

@maui I finally got to test the new modification, it looks great, thanks!

2 Likes

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