From b023019b0d68ed3bdd9cc0de82940660f2c3b78b Mon Sep 17 00:00:00 2001 From: Jeff Young Date: Sat, 7 Oct 2023 10:28:14 +0100 Subject: [PATCH] Include solder mask in STEP export stackup height. Fixes https://gitlab.com/kicad/code/kicad/-/issues/15632 (cherry picked from commit b4986030da280d18bba61d2e7398b51074ab8c9c) --- pcbnew/exporters/step/exporter_step.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/pcbnew/exporters/step/exporter_step.cpp b/pcbnew/exporters/step/exporter_step.cpp index 3ee841083f..9f751b1b41 100644 --- a/pcbnew/exporters/step/exporter_step.cpp +++ b/pcbnew/exporters/step/exporter_step.cpp @@ -322,6 +322,7 @@ void EXPORTER_STEP::determinePcbThickness() break; case BS_ITEM_TYPE_COPPER: + case BS_ITEM_TYPE_SOLDERMASK: if( item->IsEnabled() ) thickness += item->GetThickness();