Error: Board has malformed outline (self-intersecting)

Hello everyone

I’ve been working on a pcb with round outlines by importing a .dxf file from FreeCAD, and I encountered a large amount of following errors:

  • Error: Board has malformed outline (self-intersecting)
  • Error: Board has malformed outline (segment has null or very small length: 1 nm)

I cannot select individual segments.
I can’t find any gaps or open shapes.

Should I simply change the severity (or even ignore these errors completely)?
I am rather new to this, constructive input would be appreciated. :slightly_smiling_face:

Specifications
KiCAD
Application: KiCad PCB Editor x64 on x64

Version: 9.0.0, release build

Libraries:
wxWidgets 3.2.6
FreeType 2.13.3
HarfBuzz 10.2.0
FontConfig 2.15.0
libcurl/8.11.1-DEV Schannel zlib/1.3.1

Platform: Windows 11 (build 26100), 64-bit edition, 64 bit, Little endian, wxMSW
OpenGL: Intel, Intel(R) UHD Graphics 620, 4.6.0 - Build 27.20.100.8854

Build Info:
Date: Feb 19 2025 17:46:53
wxWidgets: 3.2.6 (wchar_t,wx containers)
Boost: 1.86.0
OCC: 7.8.1
Curl: 8.11.1-DEV
ngspice: 44
Compiler: Visual C++ 1942 without C++ ABI
KICAD_IPC_API=ON

FreeCAD
OS: Windows 11 build 26100
Architecture: x86_64
Version: 1.0.0.39109 (Git) Conda
Build type: Release
Branch: (HEAD detached at 1.0.0)
Hash: 2fcc5317fe3aee96ca73475986a577719fc78e20
Python 3.11.10, Qt 5.15.15, Coin 4.0.3, Vtk 9.3.0, OCC 7.8.1

Stylesheet/Theme/QtStyle: FreeCAD Light.qss/FreeCAD Light/Fusion

In v8 Tools-Repair Board option try to repair board outline but I’m not sure if it present in v9 (I’m not using this version right now)

Couple of issues that have come up in the past:
+The DXF has some superimposed lines
+Arcs are not exactly connecting the lines end
+The DXF was not imported on to the Edge.Cuts layer

If none of this point help you, are you able to share the DXF here for forum members to take a look?

If possible try to upgrade to v9.0.2 as there are many bugfixes since the beginning of the year.

Also:

Do not keep using such an old KiCad version. V9.0.2 is the current version, and there are have been lot of bug fixes in the last few months. Especially the first few versions of a mayor KiCad version have relative many bugs.

you may consider kicadSteUp FreeCAD workbench

Should I simply change the severity

NO. this is a really important DRC check, the board outline must be correct otherwise the gerber export can (and likely will) not correctly represent your board.