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