7
mirror of https://gitlab.com/kicad/code/kicad.git synced 2025-04-20 00:21:31 +00:00

Fix GenCAD Export flipped footprints

GenCAD Exporter flips the board footprints before exporting.  The
exporter assumes that the flip happens T/B and not L/R.

Fixes KSC Issue 
This commit is contained in:
Seth Hillbrand 2021-07-09 09:42:56 -07:00
parent c5571afbd9
commit 387cd36f60

View File

@ -289,7 +289,7 @@ void PCB_EDIT_FRAME::ExportToGenCAD( wxCommandEvent& aEvent )
if( footprint->GetLayer() == B_Cu )
{
footprint->Flip( footprint->GetPosition(), Settings().m_FlipLeftRight );
footprint->Flip( footprint->GetPosition(), false );
footprint->SetFlag( 1 );
}
}
@ -323,7 +323,7 @@ void PCB_EDIT_FRAME::ExportToGenCAD( wxCommandEvent& aEvent )
{
if( footprint->GetFlag() )
{
footprint->Flip( footprint->GetPosition(), Settings().m_FlipLeftRight );
footprint->Flip( footprint->GetPosition(), false );
footprint->SetFlag( 0 );
}
}