Some kicad plugins for importing Fusion360 DXFs

 

I’ve added a bunch of plugins to the repo in my github. The code for these was mentioned in a previous post, but I spent some time to “productize” them. Not fully polished, but can be run without writing code.

I plan on doing a more detailed walkthrough of the code behind it all.

11 thoughts on “Some kicad plugins for importing Fusion360 DXFs”

  1. Good morning, Miles. Great work, my congratulations!
    I have some questions about the usability of your plugins in Windows:
    1- Your DXF file has been created using Autodesk Fusion 360; in case I should export it from another drawing software, the DXF file has to be saved in the older “DXF r12 file format” (according to the Pcbnew online support), or this limitation is no longer present?
    2- In my stable 4.0.7 KiCad release, I cannot find the “Tools->External Plugins” button (it seems it has been introduced just in the nightly releases); could you please tell me which KiCad release was used for your development? (also consider that I am working in Windows, while it seems that your OS is Linux Ubuntu). Do you think I could launch your scripts in KiCad 4.0.7 directly from the Python console, (even without the “External Plugins” button), or will I probably face problems?

    Thank you very much in advance.

    Stefan

    1. Hello Stefan and sorry for taking so long to reply.

      Generally speaking, I recommend to ignore the official Kicad releases. They are so far between and things are moving so fast…

      I just use the nightly builds.

      Also note the the other comments to this post that getting the needed libraries installed and visible to pcbnew’s python can be tricky or impossible. I wish I knew a good answer to that.

      As for the DXF versions, my stuff is independent of the DXF stuff built into pcbnew. If you have a DXF you can share, I’d be happy to try it.

      Hope that’s not too discouraging.

  2. Excellent demonstration of an excellent set of tools! Very clear and concise using a realistic application to demonstrate. Well done!

    As you mention in the video, Windows poses a bit of a problem and I’ve managed to get some of the tools running, but not dfxgrabber or all of utils (via fill) due to the way python is incorporated into the Kicad install. Since it has its own python installation with a not-so-quite standard implementation of pip, I haven’t found a way to install numpy into that instance.

    I did get the tools working on my ubuntu 16.04 system, however, ironically, the recent nightly builds for ubuntu have disabled the Scripting Console due to a version conflict with wxPython (GTK3) on ubuntu 18.
    Thank you again for both the tools and the demo video!
    Tom

    1. What directory did you install the scripts into? I can’t seem to get kicad 5.0 on Windows to see the scripts in the first place.

      1. Kicad 5.0 has issues with the python interface. You might try one of the nightlies. The team is really good at keeping things functional from day to day. The releases are so far between, I think the only reason to use them is if your work’s policy required official releases only.

        The closest to a Windows answer I know of is here: http://docs.kicad-pcb.org/master/en/plugins.html but it doesn’t actually give a direct answer.

        Personally, I only run the linux version. If you’re feeling adventurous, you might try virtualbox to get a linux window.

  3. I’m very impressed with what you’ve done by making them into plugins/extensions.

    I’ve been experimenting with the scripting interface with the skidl automatic netlist generator and some scripts for placing components automatically along a circle. It’s interesting to see that this is relatively new for KiCAD.

    Since I’m just a beginner, I’ll have to watch the rest of your videos and read the rest of your posts, with a mind to your method of laying out layers in Fusion 360.

    Are you running Fusion 360 in Linux via Wine?

Leave a Reply

Your email address will not be published. Required fields are marked *