← Back to team overview

kicad-developers team mailing list archive

Re: DXF import in pcbnew: asking for feature Ellipse entity

 

2015-06-18 3:02 GMT+02:00 Marco Hess <marco.hess@xxxxxxxxxxxxxx>:
> Hi Maurice,
>
> If in LibreCAD you take your file and then do a 'Save As' in 'DXF R12'
> Format (in the Save As dialog at the bottom "Save as type", it forces
> LibreCAD to save in a older DXF format that does not support ellipses and
> converts them to line segments.
>
> The resulting file then imports fine in pcbnew and with the recent patch
> that I submitted also shows up correctly in the 3D view as per the attached
> images.
>
> This just needs some documentation I guess that pcbnew supports R12 format
> DXF and how to generate that with say LibreCAD.

Head over to https://github.com/ciampix/kicad-doc and add the note.
But I do see that there is actually no description of the import
possibilities anywhere. Please fell free to add it.

> Regards,
>
> Marco
>
>
> On 18-Jun-15 07:57, easyw wrote:
>
> Hi,
> I'd like to know if it would be possible to add Ellipse support in DXF
> import function in pcbnew...
>
> I tried to import a pcb board shape from a DWG file:
> http://www.tekoenclosures.com/multimedia/manuali/dwg/MOK1.dwg
> then I exported the DWG to DXF ASCII 2013 with TeighaFileConverter (as
> suggested by FreeCAD)
> (TeighaFileConverter is free and available in win, Linux and OSX)
> MOK1.dwg -> MOK1-ASCII-DXF-2013.dxf
> I opened the file in Librecad and isolate the only pcb shape...
> then I obtained the MOK1-ASCII-DXF-2013-PCB-only.dxf attached
> Then I imported the shape in pcbnew and the curved parts of the shape were
> missing...
> I opened the dxf in FreeCAD and I noticed that they are Ellipse entities...
>
> referring to this post:
> http://www.mail-archive.com/kicad-developers%40lists.launchpad.net/msg06714.html
> only lines, arcs, circles and texts are imported ...
> I think it would be a nice feature to add also Ellipse to the importer (this
> entity is quite common in shapes) ...
> Obviously only if this could be compatible with the rest of the pcb
> structure
>
> thank you
> Maurice
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>
>
> --
> Marco Hess
> Through IP Pty. Ltd. - AUSTRALIA
> www.through-ip.com  | marco.hess@xxxxxxxxxxxxxx
> p: +61 407 78 55 66 | f: +61 8 8121 6191
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~kicad-developers
> Post to     : kicad-developers@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~kicad-developers
> More help   : https://help.launchpad.net/ListHelp
>


References