From fa235116f71db172e1a2ae3cd55f2af3ba386a8a Mon Sep 17 00:00:00 2001 From: Jon Evans Date: Fri, 14 Jun 2024 18:39:56 -0400 Subject: [PATCH] Import Altium via tenting settings --- pcbnew/pcb_io/altium/altium_pcb.cpp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/pcbnew/pcb_io/altium/altium_pcb.cpp b/pcbnew/pcb_io/altium/altium_pcb.cpp index 8e1d760638..fe0b29a47f 100644 --- a/pcbnew/pcb_io/altium/altium_pcb.cpp +++ b/pcbnew/pcb_io/altium/altium_pcb.cpp @@ -3738,6 +3738,14 @@ void ALTIUM_PCB::ParseVias6Data( const ALTIUM_COMPOUND_FILE& aAltiumPcbFile, // we need VIATYPE set! via->SetLayerPair( start_klayer, end_klayer ); + if( elem.soldermask_expansion_manual ) + { + via->SetFrontTentingMode( elem.is_tent_top ? TENTING_MODE::TENTED + : TENTING_MODE::NOT_TENTED ); + via->SetBackTentingMode( elem.is_tent_bottom ? TENTING_MODE::TENTED + : TENTING_MODE::NOT_TENTED ); + } + m_board->Add( via.release(), ADD_MODE::APPEND ); }