mirror of
https://git.salome-platform.org/gitpub/modules/geom.git
synced 2024-12-27 09:50:34 +05:00
Backward compatibility OCCT < 6.8.0
This commit is contained in:
parent
05d0cb1c4c
commit
01b4ca144c
@ -1415,6 +1415,7 @@ TCollection_AsciiString GEOMImpl_Block6Explorer::MakeAnyFace (const TopoDS_Wire&
|
|||||||
|
|
||||||
if (!theResult.IsNull()) {
|
if (!theResult.IsNull()) {
|
||||||
// try to deal with result of BRepBuilderAPI_MakeFace + ShHealOper_ShapeProcess
|
// try to deal with result of BRepBuilderAPI_MakeFace + ShHealOper_ShapeProcess
|
||||||
|
#if OCC_VERSION_LARGE >= 0x06080000
|
||||||
#ifdef MAKE_FACE_PCURVES_FIX_TOLERANCE
|
#ifdef MAKE_FACE_PCURVES_FIX_TOLERANCE
|
||||||
// check and fix pcurves, if necessary
|
// check and fix pcurves, if necessary
|
||||||
Standard_Real aT, aTolE, aD, aDMax;
|
Standard_Real aT, aTolE, aD, aDMax;
|
||||||
@ -1446,6 +1447,7 @@ TCollection_AsciiString GEOMImpl_Block6Explorer::MakeAnyFace (const TopoDS_Wire&
|
|||||||
for (; aDMETolIt.More(); aDMETolIt.Next()) {
|
for (; aDMETolIt.More(); aDMETolIt.Next()) {
|
||||||
sat.LimitTolerance(aDMETolIt.Key(), aDMETolIt.Value());
|
sat.LimitTolerance(aDMETolIt.Key(), aDMETolIt.Value());
|
||||||
}
|
}
|
||||||
|
#endif
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
Loading…
Reference in New Issue
Block a user