Increase threshold for dumping volume while checking python dump.
BRepGProp::LinearProperties(aShape, aGProps);
aCentre = aGProps.CentreOfMass();
} else {
- BRepGProp::SurfaceProperties(aShape, aGProps);
+ const Standard_Real anEps = 1.e-6;
+ BRepGProp::SurfaceProperties(aShape, aGProps, anEps);
aCentre = aGProps.CentreOfMass();
}
return std::shared_ptr<GeomAPI_Pnt>(new GeomAPI_Pnt(aCentre.X(), aCentre.Y(), aCentre.Z()));
aResult<<": "<<aCount<<std::endl;
}
// output the main characteristics
- if (GeomAlgoAPI_ShapeTools::volume(theShape) > 1.e-7) {
+ if (GeomAlgoAPI_ShapeTools::volume(theShape) > 1.e-5) {
aResult<<"Volume: "<<
std::fixed<<setprecision(3)<<GeomAlgoAPI_ShapeTools::volume(theShape)<<std::endl;
}