Why view your Gerbers in 3D?
A 2D Gerber viewer shows your design as stacked, colored drawings. A 3D viewer shows it as the board it will become. Both have their place. Here is what 3D adds, where it has drawbacks, and why we think it's worth it.

What 3D adds
- A different view. Seeing the board from new angles reveals details that stay hidden when layers are drawn on top of each other in 2D.
- The stackup is part of the picture. Layers, dielectrics and drills sit where they really are, so the structure of the board is obvious, from the inner layers to the components on top.
- Color is free again. 2D viewers use artificial colors to stand in for the missing third dimension. In 3D, depth comes from the geometry, so color can be natural, or used to highlight what matters, such as the nets you are tracing.
- Exploring feels natural. Rotating, zooming and peeling layers works like in a video game, and you always keep your frame of reference: it is clear where you are and how you got there.
- Components make sense. Seeing components as real bodies on the board shows how they are placed and how they relate to each other and to the enclosure.
The drawbacks, and how ZofzPCB handles them
- Battery use. 3D rendering uses the graphics processor, which drains a laptop battery faster. ZofzPCB keeps the load moderate, and you can lower the render quality on the go.
- Loading time. Before a board can be displayed, its drawings have to be flattened and converted into triangles, which takes time for complex boards. ZofzPCB does this once per load; after that the board renders smoothly, usually at 60 frames per second.
- Entering the stackup. A correct 3D view needs layer order and thicknesses, which Gerber files don't contain. ZofzPCB's autoloader proposes the stackup, and a saved .camset file remembers it for the next revision.
- A new way of looking. If you have reviewed boards in 2D for years, 3D takes a little getting used to. Most engineers find their way within the first session, and the Quick-start Guide helps.
Our conclusion
The benefits outweigh the drawbacks: 3D makes it easier to understand a board, to find mistakes before fabrication, and to explain the design to others. And it makes reviewing a board more enjoyable.
Under the hood
ZofzPCB renders on the graphics processor using Direct3D. A Gerber layer contains many overlapping objects; for example, a track in a copper plane is drawn by first clearing part of the plane and then drawing the track into the gap. ZofzPCB converts these constructs into an optimized, triangulated mesh, so that even complex boards run on a moderate graphics card, usually at 60 frames per second.
Lighting currently uses ambient and diffuse light; specular lighting and textures for components are possible directions for future development. For a good introduction to how 3D graphics work, see the video How do Video Game Graphics Work?




