I can make a board with custom shape pads in a footprint. But, I don’t think they can be scaled unless exploded to free primitives. Custom pad shapes can be made from any primitives (including arcs, segments, regions, fills, etc)
I have testfiles down to Altium 14 from which are working. The importer itself supports files with the version 6 tag, but I don’t know when Altium introduced them. It would be nice to have testfiles with older versions too.
Thanks for those files. I used them in early development, and they should be fully supported now (except the 3d-stuff I will not include for the moment)
Check first on simpler files you may have, to verify your Altium version is broadly ok/compatible.
If you can spare the time, you could try delete of ‘likely suspects’ until the file does load.
Look at example here that have loaded, but complex shapes/pads might be a place to start.
you can just report the exception without the board. If its something like padstack != SIMPLE, thats actually a warning (which I implemented as assert in development, because it was so simple to integrate). Just click continue. The reason is that KiCad does not support complex padstacks yet.
I know, I need to improve warnings to look like in the eagle importer, where a list of possible issues appears at the end.
I’ve just compiled a debug build of this branch of KiCAD. In case somebody also wants to do this, here are the commands I’ve issued after installing msys2 64 bit:
Cheers,
Cedric
pacman -Suy
pacman -Su
pacman -S base-devel \
git \
mingw-w64-x86_64-cmake \
mingw-w64-x86_64-doxygen \
mingw-w64-x86_64-gcc \
mingw-w64-x86_64-python2 \
mingw-w64-x86_64-pkg-config \
mingw-w64-x86_64-swig \
mingw-w64-x86_64-boost \
mingw-w64-x86_64-cairo \
mingw-w64-x86_64-glew \
mingw-w64-x86_64-curl \
mingw-w64-x86_64-wxPython \
mingw-w64-x86_64-wxWidgets \
mingw-w64-x86_64-toolchain \
mingw-w64-x86_64-glm \
mingw-w64-x86_64-oce \
mingw-w64-x86_64-ngspice
git clone https://gitlab.com/pointhi/kicad.git
cd kicad
git checkout altium_import
mkdir -p build/debug
cd build/debug
cmake -DCMAKE_BUILD_TYPE=Debug \
-G "MSYS Makefiles" \
-DCMAKE_PREFIX_PATH=/mingw64 \
-DCMAKE_INSTALL_PREFIX=/mingw64 \
-DDEFAULT_INSTALL_PATH=/mingw64 \
../../
make -j 7 #adjust for your number of cores
make install
After that you can find start the executables from C:\msys64\mingw64\bin
After starting pcbnew.exe in stand alone mode, you can choose file -> import non kicad board file, and point to your Altium file.
Issue the following commands to update KiCAD to the latest version:
cd ~/kicad
git pull
git log
cd build/debug/
make
make install