EEVblog Electronics Community Forum

Electronics => PCB/EDA/CAD => Altium Designer => Topic started by: Electr0nicus on March 07, 2019, 09:14:55 am

Title: Huge problems exporting Gerber X2 for a panel with blind vias
Post by: Electr0nicus on March 07, 2019, 09:14:55 am
Hi all.

I have a project in Altium which consists of 3 individual PCB- projects.
For manufacturing I wanted to combine those 3 child-PCB projects on a production Panel with 220x270mm.

Other specs of the PCBs (production panel and individual PCBs):

So I designed the production panel with all the cutouts, fiducials etc. and wanted to generate Gerber X2 files (via File->fabrication outputs -> Gerber X2 files) to send them over to our PCB- manufacturer. When I checked the Gerber outputs I noticed that on the Panel_Plated_Drill_1_2.gbr and Panel_Plated_Drill_3_4.gbr files are completly empty. If it had worked properly, in these Gerber files there should be at least a few thousand blind via holes. It seems Altium behaves like there are no blind-vias present.

Then I spent the whole workday yesterday figuring out that problem. Here is what I've tried:


So what I've learned from my endless trial and error yesterday, is that the problem is only there if the blind vias are on the child-PCB of a panel. They are obviously completely ignored by the Gerber-X2 exporter. Placing vias on the panel itself is no problem, and they are properly exported. Also vias going though the full stack (1st to 4th) are exported without a issue.

So i have no ideas left, what the deal is here, and what i can try or what I'm doing wrong. I'm literally completely stuck on this issue. So maybe one of you can help or knows what I'm doing wrong, that would be highly appreciated.
Title: Re: Huge problems exporting Gerber X2 for a panel with blind vias
Post by: Gribo on March 07, 2019, 11:52:28 am
Did you try exporting to another format? ODB++ or standard Gerber (not X2)? 
Title: Re: Huge problems exporting Gerber X2 for a panel with blind vias
Post by: Electr0nicus on March 07, 2019, 07:33:59 pm
Did you try exporting to another format? ODB++ or standard Gerber (not X2)? 

I'm not familiar with ODB++. But I gave it a try, and obviously only the first of the 5 child-PCBs on my panel gets exported.
Standard Gerber works (all which should be exported, gets actually exported), but the PCB manufacturer does only accept Gerber X2.
Title: Re: Huge problems exporting Gerber X2 for a panel with blind vias
Post by: Electr0nicus on March 07, 2019, 07:47:10 pm
What really puzzles me is, that my PCB is not something out of the ordinary. Just a classic 4 Layer PCB with blind vias. I think hundreds of them are made everyday in Altium Designer. If it is a bug, then it should have been reported long ago and fixed, because then it would be a very severe one.

And btw, I've tried the same thing on different computers as well, with no difference. So it can't be a corrupted Altium installation on my machine. :wtf:
Title: Re: Huge problems exporting Gerber X2 for a panel with blind vias
Post by: ddavidebor on March 09, 2019, 05:40:06 pm
Can you post a screenshot of your altium "project" panel ? there may be issues with how your files are set up.
Title: Re: Huge problems exporting Gerber X2 for a panel with blind vias
Post by: Electr0nicus on March 11, 2019, 05:08:39 pm
As this is a company project, i can't post any files here. But I've created a simple demo project, which repoduces the error exactly the same way as in the original project.
Maybe one of you can open the project, and export X2 Gerbers and see if the same problem occurs.

Here is the link:
https://drive.google.com/open?id=1VzLTwCvwzGIxY0RomkdVLR4HFBW8OjlS (https://drive.google.com/open?id=1VzLTwCvwzGIxY0RomkdVLR4HFBW8OjlS)


There is a simple 4 Layer PCB, which has holes from 1st to 2nd, 3rd to 4th and 1st to 4th. This simple PCB is panelized 5 times. On the panel itself there are also some vias from 1st to 2nd, 3rd to 4th and 1st to 4th. When you go to File->Fabrication Outputs -> Gerber X2 files and generate the Gerbers you should see on the "test_panel_plated_drill_1_2.gbr" and "test_panel_plated_drill_3_4.gbr" that only the blind vias on the panel itself are there, and none of the blind vias on the child PCBs themselves.

Kind regards,
Gregor
Title: Re: Huge problems exporting Gerber X2 for a panel with blind vias
Post by: Flammert on March 28, 2019, 12:45:19 pm
Hi Electr0nicus,

I am having similar problems, did you manage to resolve this issue?

Kind regards,
Ruben
Title: Re: Huge problems exporting Gerber X2 for a panel with blind vias
Post by: Electr0nicus on April 15, 2019, 05:17:09 pm
Hi Electr0nicus,

I am having similar problems, did you manage to resolve this issue?

Kind regards,
Ruben

Hi Flammert.

Sorry for the late reply, i had much work to do and actually forgot about the thread after I found a workaround. :-//
To your question: No I did not solve the issue itself, but I found a workaround for it. It's tedious, but at least it works. I can say that, because up to now, I have received the fabricated boards, and they work as intended.
The workaround is as following:

Export the Gerber X2 Files from each of your child PCBs, which you want on your panel
Then export the Gerbers for you panel, here the bild vias are missing. So you can guess what's coming next  :)
Navigate to the Camtastic Files of your child PCBs and make sure you have selected the CAMtastic Menu panel
In this panel you can see the individual layers of your PCB like this
(https://www.eevblog.com/forum/altium/huge-problems-exporting-gerber-x2-for-a-panel-with-blind-vias/?action=dlattach;attach=706458;image)
Right Click on the layers and select "all OFF" and then activate the layer witch ends linke: **plated_drill_1_2.gbr . You should see the blind vias of your PCB. Do this for all your blind via Layers. This is only to ensure that they are exported.  ;D
(https://www.eevblog.com/forum/altium/huge-problems-exporting-gerber-x2-for-a-panel-with-blind-vias/?action=dlattach;attach=706464;image)
Now open the panels CAMtastic file again.
Navigate to File->Import->Gerber and select the gerber file **plated_drill_1_2.gbr from your child PCB
After selecting the file, a window pops up where you can configure how the Gerber should be imported. Click on settings and make sure everything is according to you specifications
(https://www.eevblog.com/forum/altium/huge-problems-exporting-gerber-x2-for-a-panel-with-blind-vias/?action=dlattach;attach=706470;image)
Now you have the Child PCBs Gerber imported to your panel PCB. By selecting ony the imported layer you can easily select, rotate and move your imported Gerber.
The user interface is different in the Gerber editor. If you select something you click with your left mouse and a selection rectangle pops up. If you want to finish the selection you have to click the right mouse button. Then to move the selection you have to left click and you define a start point. Then when you move the mouse a line is drawn from the startpoint. If you click the left mouse button again, the selection will be moved by the vector defined by the start and endpoint. The same thing is with rotating the selection. Here you will get a promt to enter the rotation which is counter clockwise.
To align the via holes with the actual PCB, you have to make a change in the preferences. Therefore navigate to Tools->Preferences and then select in the "Object Snap" Dropdown field "Center"
(https://www.eevblog.com/forum/altium/huge-problems-exporting-gerber-x2-for-a-panel-with-blind-vias/?action=dlattach;attach=706476;image)
Select the all the imported blind vias again using the move command Edit->Move. Then when you are selecting the start- point and hover with the mouse over a blind via drill hole the mouse sort of snaps the the center of the hole. Select a hole which you can easily relate to a feature on the PCBs copper layer. Then activate the Top or Bottom Layer depending which blind vias you are dealing with. Move to the corresponding position on the copper layer where the via hole should go and snap and click. Then the holes should be perfectly aligned in the center.
(https://www.eevblog.com/forum/altium/huge-problems-exporting-gerber-x2-for-a-panel-with-blind-vias/?action=dlattach;attach=706482;image)

(https://www.eevblog.com/forum/altium/huge-problems-exporting-gerber-x2-for-a-panel-with-blind-vias/?action=dlattach;attach=706488;image)
This you've to do for every child PCB and every blind via layer
In the end you have many imported blind via Layers which you wand to merge to one single layer to send to the PCB manufacturer. This can be done by using Edit->Layers->Merge and then selecting the layers to merge out of the list. Also don't forget to give the merged layer a new name in the name field in the upper part of the window, otherwise you can't merge them

I know this is a extremly tedious process but you will get used to it. And hey you have to do what needs to be done to get those CAM files to the PCB manufacturer  ;D

Title: Re: Huge problems exporting Gerber X2 for a panel with blind vias
Post by: Flammert on April 18, 2019, 08:58:49 am
Hi Electr0nicus,

Thanks for your explanation!