Browse Source

Hyperlynx export: swap arc start/end.

Fixes https://gitlab.com/kicad/code/kicad/-/issues/22178


(cherry picked from commit 8b93d56c14)

Co-authored-by: Alex Shvartzkop <dudesuchamazing@gmail.com>
pull/19/head
dsa-t 4 days ago
parent
commit
d934519a5d
  1. 2
      pcbnew/exporters/export_hyperlynx.cpp

2
pcbnew/exporters/export_hyperlynx.cpp

@ -486,7 +486,7 @@ bool HYPERLYNX_EXPORTER::writeNetObjects( const std::vector<BOARD_ITEM*>& aObjec
VECTOR2I start = arc->GetStart();
VECTOR2I end = arc->GetEnd();
if( arc->IsCCW() )
if( !arc->IsCCW() )
std::swap( start, end );
m_out->Print( 1, "(ARC X1=%.10f Y1=%.10f X2=%.10f Y2=%.10f XC=%.10f YC=%.10f R=%.10f W=%.10f L=\"%s\")\n",

Loading…
Cancel
Save