Fix kicad2step, incorrect export of oval holes in pads.

This commit is contained in:
jean-pierre charras 2021-10-17 18:30:03 +02:00
parent 6632cb056c
commit 5e6f490959
1 changed files with 2 additions and 1 deletions

View File

@ -104,7 +104,7 @@ bool KICADPAD::Read( const SEXPR::SEXPR* aEntry )
bool KICADPAD::parseDrill( const SEXPR::SEXPR* aDrill )
{
// form: (drill {oval} X {Y})
const char bad_drill[] = "* corrupt module in PCB file; bad drill";
const char bad_drill[] = "* corrupt pad in PCB file; bad drill";
int nchild = aDrill->GetNumberOfChildren();
if( nchild < 2 )
@ -123,6 +123,7 @@ bool KICADPAD::parseDrill( const SEXPR::SEXPR* aDrill )
{
if( child->GetSymbol() == "oval" )
{
m_drill.oval = true;
child = aDrill->GetChild( ++idx );
}
else