fix: added back the constant for extra pad thickness in AddPadShape method

This commit is contained in:
“Alihossein 2025-06-17 15:12:39 -06:00
parent 42431925cb
commit 0cac688d0e

View File

@ -796,6 +796,7 @@ STEP_PCB_MODEL::~STEP_PCB_MODEL()
bool STEP_PCB_MODEL::AddPadShape( const PAD* aPad, const VECTOR2D& aOrigin, bool aVia,
SHAPE_POLY_SET* aClipPolygon )
{
const double c_padExtraThickness = 0.005;
bool success = true;
std::vector<TopoDS_Shape> padShapes;
bool castellated = aClipPolygon && aPad->GetProperty() == PAD_PROP::CASTELLATED;