IGES files love faces instead of solids, maybe support them

Fixes: https://gitlab.com/kicad/code/kicad/-/issues/11175
This commit is contained in:
Marek Roszko 2023-01-29 22:35:07 -05:00
parent e928d72c3b
commit ffaaa17d1c
1 changed files with 7 additions and 0 deletions

View File

@ -1005,6 +1005,13 @@ bool processLabel( const TDF_Label& aLabel, DATA& aData, SGNODE* aParent,
processShell( xp.Current(), aData, pptr, aItems, nullptr );
ret = true;
}
for( xp.Init( shape, TopAbs_FACE ); xp.More(); xp.Next() )
{
const TopoDS_Face& face = TopoDS::Face( xp.Current() );
processFace( face, aData, pptr, aItems, nullptr );
ret = true;
}
}
}
break;