IGES files love faces instead of solids, maybe support them
Fixes: https://gitlab.com/kicad/code/kicad/-/issues/11175
This commit is contained in:
parent
e928d72c3b
commit
ffaaa17d1c
|
@ -1005,6 +1005,13 @@ bool processLabel( const TDF_Label& aLabel, DATA& aData, SGNODE* aParent,
|
||||||
processShell( xp.Current(), aData, pptr, aItems, nullptr );
|
processShell( xp.Current(), aData, pptr, aItems, nullptr );
|
||||||
ret = true;
|
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;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue