Hi! I’m having trouble with footprint editor.
I sketched the outline of the footprint in FreeCAD, saved it as DXF, and imported into KiCad as B.Silkscreen… After a bit of fight, I got it where I wanted. Placed pads, figured out how to change them…
All done, I saved. Then reopened, to find out that silkscreen geometry that I imported is gone. The pads are still in place.
Well, maybe I did it wrong, I thought… Re-imported the dxf, saved, opened - OUCH! no silkscreen yet again.
So I looked into the file, and found out that the geometry is still there! Just it’s collapsed into zero.
(module QP10-6 (layer F.Cu) (tedit 59A74A3A)
(fp_text reference REF** (at 4.45 2.62) (layer F.SilkS)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_text value QP10-6 (at 5.12 -2.68) (layer F.Fab)
(effects (font (size 1 1) (thickness 0.15)))
)
(fp_circle (center 0 0) (end 0 0) (layer B.SilkS) (width 0.1))
(fp_circle (center 0 0) (end 0 0) (layer B.SilkS) (width 0.1))
(fp_circle (center 0 0) (end 0 0) (layer B.SilkS) (width 0.1))
(fp_circle (center 0 0) (end 0 0) (layer B.SilkS) (width 0.1))
(fp_circle (center 0 0) (end 0 0) (layer B.SilkS) (width 0.1))
(fp_circle (center 0 0) (end 0 0) (layer B.SilkS) (width 0.1))
(fp_line (start 0 0) (end 0 0) (layer B.SilkS) (width 0.1))
(fp_circle (center 0 0) (end 0 0) (layer B.SilkS) (width 0.1))
(fp_circle (center 0 0) (end 0 0) (layer B.SilkS) (width 0.1))
(fp_circle (center 0 0) (end 0 0) (layer B.SilkS) (width 0.1))
(fp_circle (center 0 0) (end 0 0) (layer B.SilkS) (width 0.1))
(fp_circle (center 0 0) (end 0 0) (layer B.SilkS) (width 0.1))
(fp_circle (center 0 0) (end 0 0) (layer B.SilkS) (width 0.1))
(fp_line (start 0 0) (end 0 0) (layer B.SilkS) (width 0.1))
(pad 1 thru_hole circle (at 0.01 -2.54) (size 1.524 1.524) (drill 0.8) (layers F.Cu F.Mask))
(pad 2 thru_hole circle (at 2.54 -0.01) (size 1.524 1.524) (drill 0.8) (layers F.Cu F.Mask))
(pad 3 thru_hole circle (at -0.02 2.55) (size 1.524 1.524) (drill 0.8) (layers F.Cu F.Mask))
(pad 4 thru_hole circle (at -2.53 0) (size 1.524 1.524) (drill 0.8) (layers F.Cu F.Mask))
(pad 5 thru_hole circle (at -1.78 -1.79) (size 1.524 1.524) (drill 0.8) (layers F.Cu F.Mask))
)
Looks like a bug to me.
I tried attaching the .dxf file here, with no success. I get a message, that new users can’t attach files.
Here are screenshots before and after:
and version:
Application: kicad
Version: 4.0.6 release build
wxWidgets: Version 3.0.2 (debug,wchar_t,compiler with C++ ABI 1010,GCC 6.3.0,wx containers,compatible with 2.8)
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Boost version: 1.60.0
Curl version: libcurl/7.52.1 OpenSSL/1.0.2k zlib/1.2.11 libssh2/1.8.0 nghttp2/1.19.0 librtmp/2.3
USE_WX_GRAPHICS_CONTEXT=OFF
USE_WX_OVERLAY=OFF
KICAD_SCRIPTING=ON
KICAD_SCRIPTING_MODULES=ON
KICAD_SCRIPTING_WXPYTHON=ON
USE_FP_LIB_TABLE=HARD_CODED_ON
BUILD_GITHUB_PLUGIN=ON