Instructables

View Your PCB Design in 3D Online for Free

Featured
Picture of View Your PCB Design in 3D Online for Free
electric_sheep2.png
fio2.png
lilypad2.png
Whether you're a first-time circuit board designer or you've been doing it for years, you know how difficult it can be to visualize layout, spacing, and relative size in PCB layout software.  You might have also experienced that uneasy "I hope everything is right" feeling when you submit your design files for manufacturing.  You're not alone!  I've ordered boards with silkscreen text way too small to read, components on the wrong side of the board, and even had my silkscreen and soldermask layers reversed by mistake!  Each of these times, the real problem was not having a good view of the design.

I came up with a solution to these problems and designed (with the help of a web developer) an online 3D Gerber viewer that anyone can use.  If you're not familiar with Gerber files, they are the files that layout software (like Eagle, Altium, etc) export for manufacturing.  They describe everything pertinent about your board that will be required to actually create your PCB.

With the 3D Gerber Viewer, you'll be able to upload your Gerber files and zoom, pan, and rotate your board to have a realistic view of your PCB and all of the layers that it contains.  You can use this viewer as you develop your board and also before you ship your final CAD files off to be manufactured.

Using the 3D Gerber Viewer is pretty straightforward, but the following steps will take you through the process and at the end, you'll have some images of your PCB that you can post somewhere or use to show off.  More importantly, you'll be confident that your design is exactly what you had in mind!

 
Remove these adsRemove these ads by Signing Up


sooo awesome



+1
bill20092 years ago
This is just outstanding, I have so much more confidence after doing this. I'll definitely look at your pcb service. Thank you for an amazing piece of work and please pass on my compliments to the developer.
samurai12002 years ago
Brilliant! Using eagle for design and Viewmate for gerber viewing/editing, this tool is invaluable for catching things that one can miss when blinded by standard superman x-ray views.

Keep developing!
kozzito2 years ago
Hi there!

Wow, really nice idea! I use Altium, so i have good 3D view already, but sometimes (ok, almost always) could be good to take a final look on the gerber in 3D before send to manufacture (maybe my last mistake with a coil without solder mask could be revealed in time...). But, now i get an error (?) message after i try an Altium(10.5) built CAM to make live.
It sounds: "Error with loading xxxxxx.CAM
Reference error: hasY is not defined"

Im not sure its not my fault :) Its after i drag the CAM into the area, and rty to assign layers. After the first "done" i got this. No further progress allowed.
Keep up anyway! I made a very important bookmark for myself.
THX!
Mayhew Labs (author)  kozzito2 years ago
The error should be resolved now. Let me know if you have any other problems.

Thanks for the feedback!
Hi!

Thx, You doing great job, it actually works!! :)
One question. I made 2 shots. On the first, You can see, everything is fine. No special things on that, nor extra pads. On the second pic, You can see the other side of the panel, with QFN and SO footprints, and via-s. My eyes got a glitch, and again, i dont know i made something differently in my gerber, but all the fottprints distorted (curved).
http://dl.dropbox.com/u/46856621/Trial%201.jpg

http://dl.dropbox.com/u/46856621/Trial%202.jpg

You"re welcome, glad to provide feedback for a great project!
JamesNewton2 years ago
Can I suggest that it might be cool to have a sort of "transparent" mode where the PCB substrate isn't totally opaque so you can see the bottom layer traces from the top layer? That is actually more realistic since with a real board, you CAN see through the FR4.

Actually, even making the top copper a bit transparent so you can see the bottom traces even though area fills would be nice, if not totally real. Maybe as a second option?

I think it's just a single property in the WebGL object so that should be easy to implement. (says the guy who isn't doing the work) ,o)

This is just a totally excellent viewer even as it is. Nice work!
JamesNewton2 years ago
I was soooo hoping this would work, as I think it's one of the coolest things I've ever seen, but at this step, I get an error: "Reference error: hasY is not defined" but my gerbers came from Protel 99se so maybe they have a slightly different format? Just in case you want to support more formats, here is the start of my top layer file:

%FSLAX23Y23*%
%MOIN*%
G70*
G01*
G75*
%ADD10R,0.035X0.031*%
%ADD11R,0.031X0.035*%
%ADD12O,0.145X0.050*%
%ADD13R,0.145X0.050*%
%ADD14O,0.080X0.013*%
%ADD15R,0.080X0.013*%
%ADD16C,0.013*%
%ADD17C,0.015*%
%ADD18C,0.008*%
%ADD19C,0.010*%
%ADD20C,0.005*%
%ADD21O,0.075X0.065*%
%ADD22O,0.070X0.065*%
%ADD23C,0.045*%
D10*
X10259Y8778D02*
D03*
X10259Y8715D02*
D03*
X10329Y8778D02*
D03*
Mayhew Labs (author)  JamesNewton2 years ago
The error should be resolved now. Let me know if you have any other problems.

Thanks for the feedback!
Excellent! Yes that did allow my gerbers to be viewed. There are some other issues now, but I've sent an email via your feedback form with all the files so you can reproduce and hopefully expand the program to work with Gerbers from other programs. Just a cool thing.
It is the coolest thing you've ever seen.  Go get a copy of gerbv, load your layers and export as rs247x.  You have to export each layer individually but it's worth it.  This is the best viewer yet!  



Nice job, Mayhew!



Mayhew Labs (author)  JamesNewton2 years ago
I've received word of the same error for some other people's files. We'll check it out and resolve it! Thanks for the info!
w2sqr2 years ago
This would be fantastic, but I'm having the HasY probelm also.
Mayhew Labs (author)  w2sqr2 years ago
The error should be resolved now. Let me know if you have any other problems.

Thanks for the feedback!
Jayefuu2 years ago
This is fantastic. I hate how hard my PCB software makes checking my files once I've exported them to go to the printers.