MUON HUNTER
  • Muon Hunter
    • Assembly instructions
    • Safety and technical information
  • Blog
  • FAQ

Installing FreeRouting on KiCAD

18/1/2015

 
Picture
I recently switched for gEDA to KiCAD for my projects, because I found the later program much more intuitive.

There was one big issue with it though. With the past years' Java updates the out of the box advanced autorouting capability (Freerouting) stopped working from within the KiCAD package. On the top of this the java files have vanished from the website, too. These are suggested by other workarounds on the net. Sad news, however there's a way to get around this. The source code has been published on git.

With the solution posted here you won't be able to run FreeRouting from within KiCAD, but you can run it separately in the NetBeans java development environment and then importing back the results of the routing to KiCAD. It will involve quite a few steps, but hey, you'll get autorouting at the end for free.

1. To get started download and install NetBeans from the official web site. 

2. Install git, if you haven't done it so already. Here's how.

3. Open a terminal and navigate into a folder you're going to clone this repo to. Issue the following command:
git clone https://github.com/nikropht/FreeRouting.git

4. Follow the steps 2 to 5 described on this site at the bottom: https://github.com/nikropht/FreeRouting.git

5. Obtain the missing jh.jar file. I used one from git from this project.  This one works: 
https://github.com/kellertuer/Gravel/blob/master/javahelp/jh2.0/javahelp/lib/jh.jar

If you can't be bothered you can clone the whole project to get that single file by saying:
git clone https://github.com/kellertuer/Gravel.git
to your computer.

6. Then follow steps 6 to 10 from here https://github.com/nikropht/FreeRouting.git 

7. Click the little play button for run in NetBeans, and Freerouting will fire up.

8. Load and arrange your design in Pcbnew and click Tools > FreeRoute

9. Choose export data to .dsn

10. Then launch Freerouting from within NetBeans and load the file you saved using the open your own design facility. It should look similar to this:
11. Configure your desired settings and hit Autoroute.

12. Click File > Export Specctra session file.

13. Go back to Pcbnew and click Back import the Specctra Session file. And click yes to rebuild the connectivity data.
Picture
Here's the 3D version just after autorouting.
Picture

Comments are closed.

    Categories

    All
    ARM Projects
    Audio Projects
    AVR Projects
    Bremsstrahlung
    CERN
    Coincidence Detector
    Cosmic Ray
    Data Acquisition / Analysis
    Environmental Sensors
    Geiger Muller Counter
    I2C / Serial
    KiCAD
    LED Strip
    Li-ion Battery
    Muon Detector
    Muon Hunter Support
    News
    Raspberry Pi
    RPN Calculator

    CODE examples are on GitHub

    For the git repository click here.

    Archives

    March 2018
    January 2018
    December 2017
    November 2017
    October 2017
    January 2017
    December 2016
    October 2016
    August 2016
    June 2016
    May 2016
    April 2016
    February 2016
    January 2016
    December 2015
    August 2015
    June 2015
    May 2015
    March 2015
    February 2015
    January 2015
    December 2014
    October 2014
    September 2014
    August 2014
    July 2014
    June 2014
    May 2014
    April 2014

    About this blog

    Welcome and thanks for visiting the Muon Hunter site. You've come to the right place, enjoy.

    RSS Feed

Powered by
✕