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

0027808: Some geometric_tolerances are not imported.

Process datum_feature entity during collecting shape_aspects of GDT.
Update test cases.
This commit is contained in:
ika
2016-09-13 10:47:23 +03:00
committed by bugmaster
parent 14ea8abd0a
commit 935069d23d
15 changed files with 62 additions and 50 deletions

View File

@@ -2604,6 +2604,10 @@ static void collectShapeAspect(const Handle(StepRepr_ShapeAspect)& theSA,
if (!aSADR.IsNull())
collectShapeAspect(aSADR->RelatedShapeAspect(), theWS, theSAs);
}
else if (theSA->IsKind(STANDARD_TYPE(StepDimTol_DatumFeature))) {
theSAs.Append(theSA);
return;
}
else {
// Find all children Shape_Aspect
Standard_Boolean isSimple = Standard_True;
@@ -2950,7 +2954,8 @@ static TDF_Label createGDTObjectInXCAF(const Handle(Standard_Transient)& theEnt,
}
}
}
if(aSeqRI1.IsEmpty()) return aGDTL;
if(aSeqRI1.IsEmpty())
return aGDTL;
TDF_LabelSequence aShLS1, aShLS2;