1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0025044: BRepMesh tweaks - treatments for degenerated and tiny faces

BRepMesh_ModelHealer - recognize a small face with 1 wire and 2 small edges as a face for refinement.
BRepMesh_DefaultRangeSplinner - reduce tolerance on tiny faces to improve the meshing results.

Added new test cases: bugs mesh bug25044_*.
Existing test cases updated to reflect improvements.
This commit is contained in:
drazmyslovich 2019-08-15 18:13:43 +03:00 committed by bugmaster
parent 3de0f78449
commit 8c186dad9b
68 changed files with 1122 additions and 14 deletions

View File

@ -126,8 +126,8 @@ void BRepMesh_DefaultRangeSplitter::computeTolerance(
const Standard_Real aDiffV = myRangeV.second - myRangeV.first;
const Standard_Real aDeflectionUV = 1.e-05;
myTolerance.first = Max(aDeflectionUV, Precision::Confusion() * aDiffU);
myTolerance.second = Max(aDeflectionUV, Precision::Confusion() * aDiffV);
myTolerance.first = Max(Min(aDeflectionUV, 0.1 * aDiffU), 1e-7 * aDiffU);
myTolerance.second = Max(Min(aDeflectionUV, 0.1 * aDiffV), 1e-7 * aDiffV);
}
//=======================================================================

View File

@ -245,6 +245,30 @@ void BRepMesh_ModelHealer::process(const IMeshData::IFaceHandle& theDFace) const
#endif
aIntersections = aChecker.GetIntersectingEdges();
}
else
{
if (theDFace->WiresNb () == 1)
{
const IMeshData::IWireHandle& aDWire = theDFace->GetWire (0);
if (aDWire->EdgesNb () == 2)
{
const IMeshData::IEdgePtr& aDEdge0 = aDWire->GetEdge (0);
const IMeshData::IEdgePtr& aDEdge1 = aDWire->GetEdge (1);
const IMeshData::IPCurveHandle& aPCurve0 = aDEdge0->GetPCurve (theDFace.get (), aDWire->GetEdgeOrientation (0));
const IMeshData::IPCurveHandle& aPCurve1 = aDEdge1->GetPCurve (theDFace.get (), aDWire->GetEdgeOrientation (1));
if (aPCurve0->ParametersNb () == 2 && aPCurve1->ParametersNb () == 2)
{
aIntersections = new IMeshData::MapOfIEdgePtr;
// a kind of degenerated face - 1 wire, 2 edges and both edges are very small
aIntersections->Add (aDEdge0);
aIntersections->Add (aDEdge1);
}
}
}
}
}
}
catch (Standard_Failure const&)

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face1.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face10.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face11.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,21 @@
puts "TODO 25044 ALL: SelfIntersectingWire"
puts "TODO 25044 ALL: Number of triangles is equal to 0"
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face12.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,21 @@
puts "TODO 25044 ALL: SelfIntersectingWire"
puts "TODO 25044 ALL: Number of triangles is equal to 0"
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face13.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face14.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face15.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face16.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face17.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face18.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face19.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face2.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face20.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face21.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face22.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face23.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face24.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face25.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face26.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face27.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face28.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face29.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face3.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face30.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face31.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face32.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face33.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face34.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face35.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face36.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face37.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face38.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face39.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face4.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face40.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face41.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face42.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face43.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face44.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face45.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face46.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face47.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face48.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face49.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face5.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face50.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face51.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face52.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face53.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face54.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face55.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face56.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face57.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face58.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,22 @@
puts "TODO 25044 ALL: Not connected mesh inside face 147"
puts "======="
puts "0025588: BRepMesh_ShapeTool::FindUV check for 2d points to be the same is inconsistent with ShapeAnalysis_Wire::CheckLacking"
puts "======="
puts ""
pload XDE
stepread [locate_data_file Checking_Fixture_Clamping.STEP] a *
renamevar a_1 result
tclean result
vinit
vsetdispmode 1
vdisplay result
vfit
tricheck result
checktrinfo result -tri
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face6.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,20 @@
puts "======="
puts "0025588: BRepMesh_ShapeTool::FindUV check for 2d points to be the same is inconsistent with ShapeAnalysis_Wire::CheckLacking"
puts "======="
puts ""
pload XDE
stepread [locate_data_file Median_cx-fs01_bicycle.stp] a *
renamevar a_1 result
tclean result
vinit
vsetdispmode 1
vdisplay result
vfit
tricheck result
checktrinfo result -tri
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face7.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face8.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,18 @@
puts "======="
puts "0025044: BRepMesh tweaks"
puts "======="
puts ""
restore [locate_data_file bug25044_face9.brep] result
tclean result
incmesh result 0.1 -a 5
checktrinfo result -tri
vinit
vsetdispmode 1
vdefaults -autoTriang 0
vdisplay result
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -4,7 +4,7 @@ puts "======="
puts ""
puts "TODO CR28500 ALL: Artifact in shaded view of the shape"
puts "TODO CR30056 ALL: Meshing statuses: Failure Reused"
puts "TODO CR30056 ALL: Meshing statuses: SelfIntersectingWire Failure Reused"
restore [locate_data_file bug28500_shape_mesh_artifact.brep] a

View File

@ -1,4 +1,4 @@
puts "TODO CR30056 ALL: Meshing statuses: Failure"
puts "TODO CR30056 ALL: Meshing statuses: SelfIntersectingWire Failure"
puts "============"
puts "OCC22849"

View File

@ -4,7 +4,7 @@ puts "============"
puts ""
set viewname "vfront"
set length 28094.3
set length 28096.2
restore [locate_data_file bug23625_a1.brep] a
COMPUTE_HLR $viewname $algotype

View File

@ -4,7 +4,7 @@ puts "============"
puts ""
set viewname "vfront"
set length 28988.5
set length 28990.3
restore [locate_data_file bug23625_a2.brep] a
COMPUTE_HLR $viewname $algotype

View File

@ -4,5 +4,4 @@ set max_rel_tol_diff 0.1
if { [string compare $command "shading"] == 0 } {
set bug_area "OCC22687"
set bug_withouttri "OCC22687"
set nbwithouttri(ALL) 74
}

View File

@ -1,13 +1,6 @@
set TheFileName shading_131.brep
set bug_area "OCC22687"
set bug_withouttri "OCC22687"
set nbwithouttri(ALL) 1
if { [string compare $command "shading"] == 0 } {
set rel_tol 0.13
set nbwithouttri(ALL) 1
} else {
set rel_tol 0.21
}
if { [string compare $command "incmesh"] == 0 } {
puts "TODO OCC22687 ALL: Meshing statuses: Failure"
}