From 11ba59b690dbce6b48220de46945452e24a27650 Mon Sep 17 00:00:00 2001 From: Alex Shvartzkop Date: Sat, 27 Apr 2024 20:25:47 +0300 Subject: [PATCH] Altium PCB import: pad thermal spoke angle is 90 deg by default. --- pcbnew/pcb_io/altium/altium_pcb.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/pcbnew/pcb_io/altium/altium_pcb.cpp b/pcbnew/pcb_io/altium/altium_pcb.cpp index 4441cf16df..0f42a6f958 100644 --- a/pcbnew/pcb_io/altium/altium_pcb.cpp +++ b/pcbnew/pcb_io/altium/altium_pcb.cpp @@ -2321,6 +2321,7 @@ void ALTIUM_PCB::ConvertShapeBasedRegions6ToFootprintItemOnLayer( FOOTPRINT* pad->SetKeepTopBottom( false ); // TODO: correct? This seems to be KiCad default on import pad->SetAttribute( PAD_ATTRIB::SMD ); pad->SetShape( PAD_SHAPE::CUSTOM ); + pad->SetThermalSpokeAngle( ANGLE_90 ); int anchorSize = 1; VECTOR2I anchorPos = linechain.CPoint( 0 ); @@ -2773,6 +2774,7 @@ void ALTIUM_PCB::ConvertPads6ToFootprintItemOnCopper( FOOTPRINT* aFootprint, con pad->SetPosition( aElem.position ); pad->SetOrientationDegrees( aElem.direction ); pad->SetSize( aElem.topsize ); + pad->SetThermalSpokeAngle( ANGLE_90 ); if( aElem.holesize == 0 ) {