DIYstompboxes.com

DIY Stompboxes => Building your own stompbox => Topic started by: DrAlx on June 15, 2017, 07:00:35 AM

Title: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: DrAlx on June 15, 2017, 07:00:35 AM
It's written by me.  It is open source and built using the Qt cross platform toolkit.
I developed it on Linux.  If you are a Linux user you will have to download Qt Creator and compile the source yourself.

So long as you specify the circuit properly, then it is not possible to accidentally produce a layout with open or short circuits.
No more "can you check if this vero layout is correct?".
It has interactive auto-routing too (though that is a work in progress).

The main page is here...

https://sourceforge.net/projects/veroroute/?source=navbar (https://sourceforge.net/projects/veroroute/?source=navbar)

Precompiled versions are available for Windows 7 (32-bit and 64-bit) here...

https://sourceforge.net/projects/veroroute/files/?source=navbar (https://sourceforge.net/projects/veroroute/files/?source=navbar)

They should work on later versions of Windows too.  Just unzip to a folder and run.  Use Help->Tutorial for the built in tutorial.

Enjoy.

Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: bool on June 15, 2017, 07:16:01 AM
Just a quick question: do you plan to support a Raspberry port somewhere in the future?
Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: DrAlx on June 15, 2017, 07:34:39 AM
Quote from: bool on June 15, 2017, 07:16:01 AM
Just a quick question: do you plan to support a Raspberry port somewhere in the future?
No.  It should be do-able though and is apparently just a case of cross-compiling the source using the info on this page
http://wiki.qt.io/Raspberry_Pi_Beginners_Guide (http://wiki.qt.io/Raspberry_Pi_Beginners_Guide). 

My program is technically a Beta as I have been the sole user and tester.  My main aim will be to fix any bugs, add useful features, and tweak things here or there.  The source is available under the GPLv3 so there is nothing stopping anyone from doing a port to whatever hardware they want and making it available to others if they wish.
Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: potul on June 15, 2017, 09:47:19 AM
I just installed it to test... Dumb question: How do you "paint" tracks in the board?
Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: DrAlx on June 15, 2017, 10:04:50 AM
On the main window do Help->Tutorial.




Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: Ben Lyman on June 15, 2017, 12:17:20 PM
Can I use this on my Mac?
I have OS X El Capitan 10.11.6

   "Apart from the software and a computer, you need a keyboard and a 2-button mouse with a mouse wheel"

How important is the mouse? I don't have that, I just have an apple 1-button mouse.
Thanks, this looks interesting

Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: Digital Larry on June 15, 2017, 12:31:32 PM
Cool man!  I've been using VeeCAD with TinyCAD for schematic to import.  That works really well with a couple gotchas.
Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: DrAlx on June 15, 2017, 01:00:13 PM
Quote from: Ben Lyman on June 15, 2017, 12:17:20 PM
Can I use this on my Mac?
I have OS X El Capitan 10.11.6

How important is the mouse? I don't have that, I just have an apple 1-button mouse.
Thanks, this looks interesting

Qt supports OS X but you will have to download Qt Creator for the Mac and use that to compile the source code yourself (unless someone else does that and makes the compiled binaries available).

The two button wheel mouse is important, because you use left clicks to paint and right clicks to erase, and the wheel is the only method I included for handling zoom. I could handle the zoom option with on screen buttons I guess.
There might be a way of changing the way the UI works so that you only ever use one button on the mouse but I think it would greatly impact usability.  The tool is very interactive and you need the ability to easily make mouse clicks do different things.  I guess there could be a way of doing that by combining mouse clicks with keyboard presses (which it required already for some operations).  I'll wait and see what feedback I get.

Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: Plexi on June 15, 2017, 03:49:06 PM
Cool! Later I'll download it
Thanks
Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: Ben Lyman on June 15, 2017, 04:07:29 PM
Thanks Alex, I don't know anything about computers so I have no idea what you are talking about but I am guessing it is probably best for me to wait and see if you create a compatible version.

I do have Eagle and I can't figure it out for the life of me but at least I installed it so that's a start!  :icon_mrgreen:
Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: reddesert on June 16, 2017, 12:59:03 AM
Hello Alex,
Thanks for releasing this, it looks very interesting.
I am using a Mac (OSX 10.11 El Capitan) and I was able to compile it from source with QT Creator (which I had not used before, but may want to learn anyway).

A bug that I found is that the Tutorial files do not display.  When I open Help > Tutorial, I just get a dialog box that says "Tutorials/Tutorial_1.vrt". I am guessing they are a format that is not understood natively by QT on the Mac, or it might just be a problem with not recognizing the file extension.  I was able to go into the source Tutorials directory and strip out all the non-printing characters with some emacs voodoo, so that I can read the text content of the tutorials, but can't see the images.

Some additional feedback, which I hope is useful:
- I can't use the Delete key to delete a part (possibly an issue with backspace vs. delete? Ctrl-H doesn't work either. Try adding ability to delete by hitting "d" key?)
- Write to PDF doesn't seem to work for me - it pops up a save dialog but the file does not appear.
- I had trouble figuring out how to connect the pins I wanted until going back to the tutorial and realizing I had to right-click to get out of the currently selected node. It might be useful to have text hints under the board display depending on what mode one is in.
- It would be useful to have a table of contents or overview of the Tutorial. I was puzzled about how to connect components, until I realized that it comes fairly late in the tutorial.

Incidentally, on the Mac, Control + left-button usually emulates a right-button click, and I verified that holding p + control + left-button will erase a painted node. But 3-button mice are also easy to obtain.
Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: DrAlx on June 16, 2017, 04:22:09 AM
The Tutorials folder should be copied to the same location as the executable.
The message is saying that the exe is looking for a subfolder called Tutorials containing the file Tutorial_1.vrt.

Qt Creator will have created a folder with either Debug or Release somewhere in the name.  Probably in the Src folder. That will be where the executable gets created.
Qt Creator builds the slower debug version by default.  Near the green run button in Qt Creator you can change the version it builds from debug to release. The release version will compile to the folder with Release in the name rather than to the one with Debug in the name.
Whatever version you are building, copy the Tutorials folder so it is alongside the relevant  VeroRoute.exe.
You can open the vrt files using File->Load in VeroRoute. The only difference is that you won't get buttons in the Info window to navigate the tutorials or reload them, and that you will be able to edit the tutorial text.

Table of Contents is a good idea.

Regarding the PDF, check it has been written to where you think it has. I have only ever written them to the directory with the exe. Add the .pdf extension to the filename when you save it.

l will try and make things more configurable regarding the keys that you need to use. The paint/unpaint could be handled some other way for 1 button mice. For example, using a pair of adjacent keys to paint/erase. Given that the component pins are usually only painted at the start of a design, one option is to have a check box in the GUI to turn "pin protection" on or off. I'll experiment with that.  The problem is that if someone gets lazy and leaves it off then they could really mess up the circuit.  There is no undo/redo available and that would have to be implemented first. I deliberately wanted to make it hard to accidently modify or erase pin netlist values.

Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: DrAlx on June 16, 2017, 05:22:41 AM
Quote from: reddesert on June 16, 2017, 12:59:03 AM
- I can't use the Delete key to delete a part (possibly an issue with backspace vs. delete? Ctrl-H doesn't work either. Try adding ability to delete by hitting "d" key?)

Could you try the following for me please?
In the source code file mainwindow.cpp, go to line 1315.

Modify the bit of text that says
   Qt::Key_Delete
to say
  Qt::Key_Backspace
instead.

If you hit the green button in Qt Creator it should realise that the source code has changed and recompile the exe. 
Let me know if that makes the delete key work on you mac.
If that does not work and you want to use the "d" key for delete, just change the source code to say
  Qt::Key_D
instead.


Looking at the code, I see I also prevented deleting and moving components when the tracks are hidden.  I figured the view where you just see component outlines and no tracks is really only useful for being able to easily see the names of things, and you normally would not edit in that mode.
I could always take out that restriction if it makes things less confusing.
Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: DrAlx on June 16, 2017, 07:37:08 AM
Quote from: reddesert on June 16, 2017, 12:59:03 AM
- Write to PDF doesn't seem to work for me - it pops up a save dialog but the file does not appear.

I just checked and it doesn't work for me either.  I released in a bit of a hurry and accidently cut a line of code.  I'll fix this in the next release, probably next week, but given that you have QtCreator you can easily fix it yourself as follows.

In the file mainwindow.cpp, at around line 410 you will see a line that says

     pdfWriter->setResolution(1200);

add the following line of code immediately below that line

      painter.begin(pdfWriter);

If you want to have the pdf file automatically open for you, then scroll down to about line 933.
You will see a line that says

      delete pdfWriter;

Add the following code immediately below that line

       if ( m_bWritePDF ) QDesktopServices::openUrl(m_pdfFileName);


That should fix it.
Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: DrAlx on June 16, 2017, 08:43:58 AM
I've uploaded fixes to sourceforge.  v0.91 now.

Both Delete and Backspace will delete a part now.
PDF files should be created (but they only auto-open when I run from within QtCreator for some reason).
I changed the QtCreator project file so that the VeroRoute.exe builds to outside the Src folder, so it will automatically be in the correct place to find the Tutorials folder.
No idea what Ctrl-H is supposed to do on a mac.  I've never used one.

I'm considering changing the way the pin editing works.  Given that the whole point of painting pins is to specify the netlist, I think I will add a mode where you can do that using something like a rats nest, so all tracks and floating parts will be hidden, and it's clear you are specifying the netlist and nothing else.  So there will be no possible confusion between being in a mode where you are editing the pins, and one where you are building the tracks.

Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: Renegadrian on June 16, 2017, 06:21:31 PM
can you do a super easy .deb file!? thx
Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: DrAlx on June 16, 2017, 07:32:26 PM
It's not easy for me to do that but compiling the source is very easy. There should already be a Debian package for Qt Creator. Install it. Then download my source code and open the VeroRoute.pro project file in Qt Creator.  Then hit the big green run button.
Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: DrAlx on February 12, 2018, 05:46:13 AM
I have now released version 1.10 and dropped the Beta label.

Available here:  https://sourceforge.net/projects/veroroute/ (https://sourceforge.net/projects/veroroute/)

You can now import the parts and netlist from a schematic produced in TinyCAD (a free schematic editor, also available on SourceForge).
You can still avoid using a schematic and specify the netlist graphically if you wish.
Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: DrAlx on February 21, 2018, 05:56:50 AM
I added some more features, and Version 1.170 is now available for download.

Producing PCB masks with ground-fill is a breeze with just a couple of clicks.
The ground-fill automatically updates as you manipulate the tracks.

Example image:  https://1drv.ms/u/s!AvrH61utWEtEiQGiDOYTqS5GWTTL (https://1drv.ms/u/s!AvrH61utWEtEiQGiDOYTqS5GWTTL)

Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: DrAlx on April 03, 2018, 07:08:20 AM
Version 1.22 is now available for download.

Apart from several usability improvements, it now includes a symbol library
for gEDA, so it is now possible to import a netlist from a gEDA schematic.
Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: DrAlx on February 25, 2019, 07:45:33 AM
V1.30 is now released.

There have been a few improvements since my last post.  There is now a templates library for ICs, more default component types (Relays, Switches, Bourns Trimpots, Crystals), and more flexibility importing components from gEDA/TinyCAD.  This release has the first of a set of major improvements to usability that are in the pipeline.

Download from the main page at:

https://sourceforge.net/projects/veroroute/
Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: DrAlx on March 08, 2022, 08:58:53 PM
I am more than 90% done with porting VeroRoute to Android, but it will need a device with resolution of at least 1920x1200, so forget about running it on a phone.
It has all the functionality of the desktop version (vero, perf, connectivity checking, routing, and Gerber export for dual layer PCB) and will be totally free.
I'm just trying to tweak the UI a bit (clearly hard going from a desktop based application with keyboard and mouse to a finger driven thing)
but some things are actually easier to do on this app than on the desktop.  I also need to write the in-built tutorials that will go with the app.

I should have APKs uploaded to sourceforge for download within a few weeks.    Here are some screeshots from my Kindle Fire HD 10:

(https://i.postimg.cc/jwr0grjh/Screenshot-20220309-013644.png) (https://postimg.cc/jwr0grjh)

(https://i.postimg.cc/BjX0tgy2/Screenshot-20220309-013819.png) (https://postimg.cc/BjX0tgy2)

(https://i.postimg.cc/ftj41gtQ/Screenshot-20220309-013903.png) (https://postimg.cc/ftj41gtQ)

(https://i.postimg.cc/McBJmGzT/Screenshot-20220309-013955.png) (https://postimg.cc/McBJmGzT)

Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: DrAlx on March 26, 2022, 02:19:14 AM
I have just released V2.20 including the apk for Android.
It will need Android 7 or higher and a device resolution of at least 1920x1200.
Download from Sourceforge ...

https://sourceforge.net/projects/veroroute/

The interactive tutorials (under the Help menu) are still for the desktop version, so they refer to using mouse and keyboard and don't describe the 5 "paint buttons I added to the Android version".  If you read how the desktop version handles "painting pins" and "painting grid points" it will be clear what those buttons do.

I will do Android specific tutorials at some point in the future.
Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: DrAlx on April 19, 2022, 02:33:58 PM
The minimum Android device resolution is actually 1280x800 (not 1920x1200 as I said in the last post) so it should run on many more Android devices.
Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: handmade.analog.pedals on April 20, 2022, 03:51:04 PM
Is there any chance that it will work on the mac os in the future?
Title: Re: VeroRoute - Free software for producing Veroboard, Perfboard, PCBs layouts
Post by: DrAlx on April 20, 2022, 05:10:40 PM
The VeroRoute sourcecode is released and should compile for mac (just a case of downloading QtCreator and compiling), but I don't have a mac, and therefore don't release pre-compiled versions for that OS.

I know some VeroRoute users run a Linux virtual machine on their mac, so they download and run the Linux version of VeroRoute.