1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0031485: Data Exchange - Export STEP in nonmanifold mode looses all faces except one

Small correction in STEPControl_ActorWrite::TransferCompound - take into account the case when a subshape has type TopAbs_FACE.
This commit is contained in:
jgv
2020-06-07 22:04:39 +03:00
committed by bugmaster
parent 09543c2d99
commit 36cc58f85d
2 changed files with 18 additions and 1 deletions

View File

@@ -1315,7 +1315,9 @@ Handle(Transfer_Binder) STEPControl_ActorWrite::TransferCompound (const Handle(T
NonManifoldGroup->Append(aSubShell);
}
}
else if (!isManifold && (aSubShape.ShapeType() == TopAbs_SHELL) ) {
else if (!isManifold &&
(aSubShape.ShapeType() == TopAbs_SHELL || aSubShape.ShapeType() == TopAbs_FACE))
{
RepItemSeq->Append(aSubShape);
NonManifoldGroup->Append(aSubShape);
}