← Back to team overview

kicad-developers team mailing list archive

Re: dxf: import 4 arcs

 

Definitely a problem with the DXF importer I would say as the resulting data in the PCB file are just straight line segments:

(gr_line (start 42.68541 28.017695) (end 52.25 35.66) (layer Edge.Cuts) (width 0.1)) (gr_line (start 27.328145 43.265288) (end 42.68541 28.017695) (layer Edge.Cuts) (width 0.1)) (gr_line (start 50.392159 49.187096) (end 27.328145 43.265288) (layer Edge.Cuts) (width 0.1)) (gr_line (start 52.25 35.66) (end 50.392159 49.187096) (layer Edge.Cuts) (width 0.1))

Marco

On 09-Sep-15 14:58, Marco Hess wrote:
Hi Marcos,

Apologies, but I did not see your original email where you said you tried the R12 format alreayd.

I tried it as well and and it indeed seems to do something strange with just connecting the end points of the circles or something.

Regards,

Marco

On 09-Sep-15 14:29, Marco Hess wrote:
KiCad DXF import for those kind of segments don't work very well. You need to re-export the DXF in a DXF R12 format.

You can do that easily by opening the DXF in LibreCAD and then reexporting in R12 format.

See http://docs.kicad-pcb.org/Pcbnew/Pcbnew.html#_creating_a_board

Section 6.1.2 and 6.1.3.

Cheers,

Marco


On 09-Sep-15 14:24, Marcos Chaparro wrote:

        Seems that is kind of Berzier Curve, not few arcs. Probably
        that shape needs to

    split to single arcs before import.


Um, I don't know if its converted to a bezier curve, but I'm sure I made it from 4 arcs, see attached.


_______________________________________________
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



_______________________________________________
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


Follow ups

References