]> OCCT Git - occt-copy.git/commitdiff
# modified test case
authoroan <oan@opencascade.com>
Sat, 19 Oct 2019 21:41:48 +0000 (00:41 +0300)
committeroan <oan@opencascade.com>
Mon, 28 Oct 2019 10:47:53 +0000 (13:47 +0300)
tests/bugs/mesh/bug28500

index 3bab0b6875e6cd13daf685f0d65d8312d4942cdb..3f265eb699262c49c74b1f87825f8422adf85188 100644 (file)
@@ -3,22 +3,20 @@ puts "CR28500: Artifact in shaded view of the shape"
 puts "======="
 puts ""
 
-puts "TODO CR28500 ALL: Artifact in shaded view of the shape"
-puts "TODO CR30056 ALL: Meshing statuses: SelfIntersectingWire Failure Reused"
+restore [locate_data_file bug28500_shape_mesh_artifact.brep] result
 
-restore [locate_data_file bug28500_shape_mesh_artifact.brep] a
-
-incmesh a 0.01
+tclean result
+incmesh result 0.01
 
 vinit
 vsetdispmode 1
-vdisplay a
+vdefaults -autoTriang 0 
+vdisplay result
 vfit
 
-set x 150
-set y 150
-if { [checkcolor $x $y 0 1 0] == 1 } {
-  puts "Error: Artifact in shaded view of the shape"
+set log [tricheck result]
+if { [llength $log] != 0 } {
+  puts "Error : Mesh containg faulties"
 }
 
 checkview -screenshot -3d -path ${imagedir}/${test_image}.png