Altium PCB import: pad thermal spoke angle is 90 deg by default.

This commit is contained in:
Alex Shvartzkop 2024-04-27 20:25:47 +03:00
parent a565db58c5
commit 11ba59b690
1 changed files with 2 additions and 0 deletions

View File

@ -2321,6 +2321,7 @@ void ALTIUM_PCB::ConvertShapeBasedRegions6ToFootprintItemOnLayer( FOOTPRINT*
pad->SetKeepTopBottom( false ); // TODO: correct? This seems to be KiCad default on import pad->SetKeepTopBottom( false ); // TODO: correct? This seems to be KiCad default on import
pad->SetAttribute( PAD_ATTRIB::SMD ); pad->SetAttribute( PAD_ATTRIB::SMD );
pad->SetShape( PAD_SHAPE::CUSTOM ); pad->SetShape( PAD_SHAPE::CUSTOM );
pad->SetThermalSpokeAngle( ANGLE_90 );
int anchorSize = 1; int anchorSize = 1;
VECTOR2I anchorPos = linechain.CPoint( 0 ); VECTOR2I anchorPos = linechain.CPoint( 0 );
@ -2773,6 +2774,7 @@ void ALTIUM_PCB::ConvertPads6ToFootprintItemOnCopper( FOOTPRINT* aFootprint, con
pad->SetPosition( aElem.position ); pad->SetPosition( aElem.position );
pad->SetOrientationDegrees( aElem.direction ); pad->SetOrientationDegrees( aElem.direction );
pad->SetSize( aElem.topsize ); pad->SetSize( aElem.topsize );
pad->SetThermalSpokeAngle( ANGLE_90 );
if( aElem.holesize == 0 ) if( aElem.holesize == 0 )
{ {