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:
@@ -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);
|
||||
}
|
||||
|
Reference in New Issue
Block a user