Altium DXF corners are circles made from arcs ?!

Hello,

this is the first time I have imported a DXF outline and maybe this is already known:

A colleague gave me a DXF PCB outline exported from Altium.
Import went just fine, the outline looks OK.

But then the 3D viewer “said” it can not recognize the outline. On close examination I found that there are small circles made from several even smaller arcs between all segments of the outline !
I deleted these circles/arcs manually and the remaining outline is recognized without problem.

Does anybody here know: is this an Altium setting or a DXF incompatibilty ??

Greetings, Chris

DXF has never been a great file format. It has old roots (40+ years probably) and has become a defacto standard because of that. Over the years has seen multiple revisions.

Maybe there is an option in altium to specify the version in which the DXF gets exported.

It may also help if you post a screenshot of those arcs imported in KiCad.
(Just export it again, make a screenshot and then exit KiCad without saving).

Have you asked that colleague that made the .DXF?
Maybe those arcs are also in altium itself.

1 Like

Hello, here comes a picture of the circles and how they are composed of arcs.

My colleague lives happily on altium-island and is not interested in further support :wink:.

Greetings, Chris

They look like the snap points of the segments, have you checked with a DXF viewer if those point are in the DXF file itself ? I have done DXF importing into KiCAD before (not from Altium mind you) and haven’t seen those dots while doing it, however I have seen other artifacts like deleted border or information tables.

would you upload the dxf file?
Probably if you open it in LibreCAD you can see what is the issue… (KiCAD AFAIK uses LC libs to import dxf files)

Sorry, I do not have another CAD SW, there is only MS Office on this Machine.

I had hoped this is a known effect for people who have altium experience, maybe some DXF option like “include snap points” or similar.
I can delete them by selecting the whole junction with a rectangle, so its not a big problem.

LibreCAD can be downloaded for msw too… it is opensource as kicad
https://librecad.org/

I forgot to mention that I can not install anything on this PC. KiCad runs (perfectly) as “unzipped to directory”

the same for LibreCAD

1 Like

You could also check it in an online DXF viewer (e.g.: https://beta.sharecad.org/)

EDIT: From the Altium “Export Dialog” that I found online, it doesn’t seem to be an option, into which KiCAD version are you importing ?

I am using

Application: KiCad
Version: (5.1.10)-1, release build
Libraries:
wxWidgets 3.0.5
libcurl/7.71.0 OpenSSL/1.1.1g (Schannel) zlib/1.2.11 brotli/1.0.7 libidn2/2.3.0 libpsl/0.21.0 (+libidn2/2.3.0) libssh2/1.9.0 nghttp2/1.41.0
Platform: Windows 8 (build 9200), 64-bit edition, 64 bit, Little endian, wxMSW
Build Info:
wxWidgets: 3.0.5 (wchar_t,wx containers,compatible with 2.8)
Boost: 1.73.0
OpenCASCADE Community Edition: 6.9.1
Curl: 7.71.0
Compiler: GCC 10.2.0 with C++ ABI 1014
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

I forgot to give a complete answer: No, I can not upload that outline.

DXF files are usually somewhat readable text files, and all those arcs should be easily recognizable in the file.
It’s almost certain that the arcs are in the file, and in that case it has nothing to do with KiCad whatsoever, but is purely an issue with the software which created the file. So in this case altium.

Therefore, a better place to ask this question is on the altium forum
https://live.altium.com/signin?prmGotoUrl=https%3A%2F%2Fforum.live.altium.com%2F

Or on the altium section on Eevblog:
https://www.eevblog.com/forum/altium/

Just an idea: If you could get altium source file, you could probably import it to nightly (v5.99) version of kicad (presumably with high accuracy), when reexport to some compatible format (DXF?) to be opened into kicad v5.1. (I don’t know if v5.99 will work as “extracted folder”, and if kicad can export board outline to some compatible format which v5.1 can import, never needed this kind of workflow. But, in case v5.99 imports outline correctly, you could get exact coordinates of polygon outline and redraw outline itself into v5.1…)

Hello,

I know, you mean well :slightly_smiling_face:, but in this case I would rather stay with my workaround of deleting all circles manually. (this will not become my typical workflow)
Anyway I thank you for your proposal !

1 Like

Kicad doesn’t like very short or zero length segments in the board outline, so you need to get rid of them somehow

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