removed references to OCC<7

This commit is contained in:
andrea
2022-06-25 10:26:24 +02:00
committed by Uwe
parent d5340a82ab
commit c66aadeb60
46 changed files with 49 additions and 714 deletions

View File

@@ -1250,16 +1250,6 @@ void Part::BRepBuilderAPI_RefineModel::Build()
}
}
myShape = mkSolid.Solid();
#if OCC_VERSION_HEX <= 0x060700
// With occ 6.7 and older it can happen that a solid is flipped.
// In this case it must be reversed
GProp_GProps props;
BRepGProp::VolumeProperties(myShape, props);
if (props.Mass() < 0) {
myShape.Reverse();
}
#endif
}
else if (myShape.ShapeType() == TopAbs_SHELL) {
const TopoDS_Shell& shell = TopoDS::Shell(myShape);