IGES files love faces instead of solids, maybe support them
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/11175
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user