⬡ PCB Tools / Guides

Using the PCB 3D model for FEM and thermal simulation

Thermal and mechanical simulations of a PCB need the copper where it really is: a ground plane with its anti-pads, a power trace with its real width, the vias that carry heat to the other side. Drawing that by hand is slow, and the STEP exported by most EDA tools is meant for enclosure design rather than for meshing. The Gerber to 3D export of PCB Tools builds the model directly from the fabrication files.

What the model contains

Each layer is extruded with its exact outline from the Gerber file and the thickness you set: the substrate, every copper layer (outer and inner), the solder mask and the silkscreen. The holes from the Excellon files are cut through the whole stack, and plated holes get a copper barrel on their wall, 25 µm thick by default. Holes in files marked as non-plated (NPTH) stay open. Components are not included, because Gerber files do not describe them.

Why it can be meshed

The download includes a README.txt that lists each body with its height range, its volume and a suggested material, so you can check the stackup before you start.

Which format to choose

STL per layer gives one file per body (substrate.stl, top_copper.stl, hole_plating.stl and so on), which is the easiest way to assign one material to each. 3MF keeps every body as a named object in a single file. OBJ keeps the bodies as named groups and is better suited to renders.

Importing it

Tips for good results

Use the stackup of your manufacturer: board thickness, copper weight (35 µm for 1 oz) and plating. A larger triangle tolerance (for example 0.02 mm) gives fewer triangles and a lighter mesh; a smaller one follows curves more closely. Thin layers such as mask and silkscreen can usually be left out of a thermal model. Treat the result as a starting point and validate it against measurements when the decision matters.

Open the Gerber to FEM model tool, or print the board on paper first with the 1:1 PDF guide.

Open the free Gerber viewer