I tried to import a DXF file to Kicad, but I found the imported graph is not the same as the original graph. There are two parts in the original graph, but after the DXF file has been imported to Kicad, it became to one parts. The two parts are overlapped together.
Does anyone know the possible reason ?
I pasted in the actual pictures instead of the links, it’s easier to see this way.
It looks like that some kind of rotation and translation is applied to “blocks” in the original DXF and which is not supported by the DXF library KiCad uses.
And what about those hatched area’s in the first picture?
The simplest workaround is probably to explode the blocks before the export, so they are just simple lines.
Thanks.
the hatched area are the copper area.
If I explode the blocks and import to kicad, can I make the block to solid in Kicad ? sorry , I just new to Kicad.
Yes, if you only have lines for the outline, you can convert them to a copper zone inside kicad by making a selection and then right clicking and: Create from Selection / Create Zone from Selection
I used a scale factor of 0.01 and millimeters during the import into KiCad, with the above result. which implies a total size of 6256 units. (I added the measurement). But rotation and relative placement is still wrong, so I did not mention it earlier.
Thank you guys, Yes, I have to modify the scale when importing the DXF, but I think that’s not the problem.
Actually, the original layout file was drawn in ADS (Advanced Design System), I exported to GDSII format, and use KLayout to transfer to DXF format. Then imported to Kicad.
There’s an issue applying the rotation transform in DXF_IMPORT_PLUGIN::addInsert The objects are blocks that are horizontal until the insert is supposed to rotate them.