Gerber to 3D model: export a PCB as a glTF (.glb) file
Updated
Turn a board's Gerber and drill files into a 3D model you can render, animate or put on a web page. Gerber3D builds the board from the files — outline, thickness, copper, solder mask, silkscreen and holes — and saves it as one glTF binary file.
Open a board to export or try the sample board
How to export
- Open the board's Gerber and drill files in the viewer.
- Set the look in the Look section: mask colour, finish (ENIG, HASL, OSP) and thickness.
- Optionally add your parts' 3D models in Parts → Add 3D models….
- Press ⬇ 3D model. The .glb file is saved by your browser.
What is in the file
- The substrate cut to the board's outline, with its holes and slots, at its thickness.
- Copper on both faces with the finish's colour where the mask opens it, solder mask in the chosen colour, the silkscreen legend.
- The parts, as the view draws them: each package on its pads, or your own model for the parts you gave one (one node per part, named by designator).
- Notes in the file's metadata saying what it was made from.
The model is in the board's own frame, in metres, as glTF requires, so it opens at its real size.
What to use it for
- Renders in Blender for a product page, a crowdfunding campaign or a datasheet.
- Web pages with an interactive board, in three.js or a <model-viewer> element.
- Documentation: assembly instructions and enclosure fit, as a visual check.
For a quick picture without leaving the browser, use the path-traced photo instead.
Questions
Which 3D format is exported?
glTF 2.0 binary (.glb): one file with the board's geometry and materials. Blender, Windows 3D Viewer, three.js, Babylon.js, many online viewers and most 3D tools open it.
Can I export STEP?
No. STEP is not offered. For mechanical CAD, export STEP from your PCB design tool; use the .glb for renders, web pages, product shots and documentation.
Are the parts in the 3D file?
Yes. Every placed part is in the file, drawn as its package as the 3D view draws it, with its leads on its pads. A part you gave your own 3D model has that model instead, on a node named after its designator.
What scale is the model?
Metres, as glTF defines: a 64 mm board is 0.064 units wide. Blender and other tools that read glTF units place it at its real size.