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

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

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;