close-circle
Close

Panelization - using GerberPanelizer on Windows (Linux possible)

A project log for Small PCBs for panelizing + tutorial

Ordering a 10x10 board with only 10x4 taken? Panelize one of these!

Arsenijs 05/08/2017 at 23:2811 Comments

This tutorial was done on Windows. Authors claim it could also be used on Linux by using Mono, but I haven't tried and don't understand a lot about Mono to see what could be done. I am switching to Linux nowadays, so I'd be very grateful to anybody that'd make instructions on how to launch it, however - and I'm sure other fellow Linux-wielding engineers will be grateful, too =)

This is the GitHub issue describing steps to launch it on Linux, half-successfully (thanks to @jlbrian7 for figuring this out)


The tool I'm personally using to panelize boards is GerberPanelizer from ThisIsNotRocketScience.nl. It's a wonderful tool that allows you to panelize PCBs, mainly using tabs&mousebites. There are more tools in the archive, they all seem Gerber-related but I didn't even go through them =)

I'm using KiCad myself, so I'll mainly work with KiCad-made gerbers. The panelizer project page has some tips for Eagle users as well, related to CAM files, so if you're an Eagle user, check it out, it can help with some moments. I'd love to cover Gerber generation for different EDA packages (actually, not), but Internet has plenty of tutorials on those. There's a good online Gerber files viewer (needs gerber ZIPs) which gives out pretty renderings of your board, so you can use it to check your Gerbers - I do that all the time (and KiCad 3D viewer helps, too).

No matter your EDA tool, the workflow is simple - first, you have to have gerber files in separate folders for each project.


Gerber export tutorial - KiCad (with important Panelizer-specific notes)

Generate gerbers for each project that you want to include on the panel. You should have a couple of separate folders with gerber files - or in case you want to panelize multiples of the same board, just one folder.

Gerber folder requirements:

The workflow is simple - drag a folder from your file manager onto the view, and the board inside the folder will be added.


To start, open the GerberPanelizer tool. Go to File->New:

You'll get a 10x10cm panel view. If it's not the case, or you want another size, you might change panel parameters in "Panel Properties".

Now, you need to drag a folder with gerbers onto the view. The collapsible list in the right top corner will indicate there's a board and, if you're lucky, it's going to appear on the field, too.

Necessary: leave some distance between adjacent boards: the mill bit that will be milling out the board outline has to have some place to move. Good distance is 2mm and up.

After we placed some boards, we need to place tabs connecting them, and I think it makes sense to do it manually. Hover mouse cursor on the space between the board and press T on keyboard, you're going to get a circle. Move that circle to the place where you want a tab and it'll link two boards. If it won't be able to, the circle outline will be red and it'll give a warning in small text, hopefully.

Too many tabs will make dividing boards hard. Not enough tabs will give a chance of boards breaking off and getting lost after milling. I more or less have one tab per each board in total, there's also "1 tab per 3cm" rule of thumb. This is OK:

Now, once you've rotated, moved and linked all the boards, press the File -> Export Merged Gerbers button, and make a new folder somewhere to store the gerber files in:

That's it, your gerbers are being linked together. In a short time, the tool will automatically open your image viewer software with pictures of back and front of your boards (those pictures will also be saved in the folder with the gerbers taht just got created). Now zip the gerbers up and send them off to fab!

Discussions

Pintoo wrote 07/16/2017 at 22:33 point

Hi Aresnijs, I'm discovering Gerber Panelizer, thank you for your tuto, 

do you know how to deal with the creation of breaks between the gerber files and the 'fill empty area' area ?

I'm using Version 1.0.6257.24941 built on 17/02/2017

  Are you sure? yes | no

Arsenijs wrote 08/03/2017 at 04:16 point

Hi! Sorry for reaching out so late, I didn't get a notification for your reply here =( I have sent in a pull request to fix this issue on GerberPanelizer GitHub, but AFAIK the PR is not merged, and the issue is not yet fixed separately. Meanwhile, I can publish a version I compiled myself, without this problem. 

  Are you sure? yes | no

Tom Magnier wrote 06/02/2017 at 06:09 point

I came across this tool but didn't have a chance to play with it at the moment... Seems better than doing the mouse bites by hand :)


About the KiCad origin issue, you might want to export your Gerbers (and drill file) with the "Use auxiliary axis as origin" option. In KiCad you can place that auxiliary origin with one of the buttons in the toolbar.

  Are you sure? yes | no

Arsenijs wrote 06/08/2017 at 02:46 point

Added the instructions for the "auxiliary origin point" thing, hope nobody misses it when following the instructions =)

  Are you sure? yes | no

ZaidPirwani wrote 06/01/2017 at 09:24 point

I needed JUST this... thanks

  Are you sure? yes | no

Arsenijs wrote 06/01/2017 at 11:03 point

If this is useful to you, and you have some small boards that would be useful to others, please do share them on this project =)

  Are you sure? yes | no

leb9049 wrote 05/09/2017 at 05:04 point

@Arsenijs Thanks, this looks good, I'll give it a try on my next board. One of my issues is trying to keep the order# the board house puts on off my actual boards. Have you had any experience with trying to tell them where to put it?

  Are you sure? yes | no

Arsenijs wrote 05/09/2017 at 12:04 point

As far as I know, DirtyPCBs, for example, doesn't care and will put it wherever. Other fabs, however, don't put them at all. I'd say it's very fab-specific, but I'm guessing that if you have part of your board full with silkscreen art and another part is empty, they'll most likely put it on the empty part. 

But then, I don't know if it's not automated =D

  Are you sure? yes | no

drojf wrote 06/02/2017 at 10:14 point

PCBWay actually states this on their website "Attention please! If you don't note not to add pcb order number on board, we will add it on board by default!"

What they do is let you enter an order (eg dimensions, quantity, color etc) without uploading a PCB file. After your order is entered, they give you an order number, e.g. "1234567". Then you can go back and modify your PCB to add the number, "1234567" somewhere on the board (probably would be a good idea to let them know where you put it as a comment). DISCLAIMER: I haven't actually tried this before.

The funny thing about how they charge - it costs extra if you put multiple DIFFERENT designs on one board. However if you put multiple copies of the SAME design on one board, they don't charge extra.

  Are you sure? yes | no

Arsenijs wrote 06/01/2017 at 11:00 point

BTW, I ordered two identical panels from DirtyPCBs, and the order numbers were in different places, even though the gerbers were identical =)

  Are you sure? yes | no

Arsenijs wrote 05/09/2017 at 00:18 point

@leb9049 Check this tutorial out =)

  Are you sure? yes | no