incmesh result 0.01
triangles result
-checktrinfo result -tri 38 -nod 40
+checktrinfo result -tri 39 -nod 41
vinit
vdisplay result
isos result 0
triangles result
-checktrinfo result -tri 6 -nod 8
+checktrinfo result -tri 8 -nod 10
checkprops result -s 1.3135
checkview -display result -3d -path ${imagedir}/${test_image}.png
#View the result of mesh
triangles result
-checktrinfo result -tri 3657 -nod 1908
+checktrinfo result -tri 3758 -nod 1959
checkprops result -s 32.9479
checkshape result
checkview -display result -2d -path ${imagedir}/${test_image}.png
#View the result of mesh
triangles result
-checktrinfo result -tri 3737 -nod 1952
+checktrinfo result -tri 3972 -nod 2070
checkprops result -s 36.4284
checkshape result
checkview -display result -2d -path ${imagedir}/${test_image}.png
puts "TODO OCC12345 ALL: Error : The area of result shape is"
-puts "TODO OCC12345 ALL: Error: Number of triangles"
-puts "TODO OCC12345 ALL: Error: Number of nodes"
+#puts "TODO OCC12345 ALL: Error: Number of triangles"
+#puts "TODO OCC12345 ALL: Error: Number of nodes"
puts "========================"
puts " OCC287 "
isos result 0
triangles result
-checktrinfo result -tri 1135 -nod 823
+checktrinfo result -tri 1145 -nod 831
checkprops result -s 376.873
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
isos result 0
triangles result
-checktrinfo result -tri 6 -nod 8
+checktrinfo result -tri 8 -nod 10
checkprops result -s 1.3135
checkview -display result -3d -path ${imagedir}/${test_image}.png
vfit
vsetdispmode result 1
-checktrinfo result -tri 72 -nod 74
+checktrinfo result -tri 74 -nod 76
checkprops result -s 314.159
checkview -display result -2d -path ${imagedir}/${test_image}.png
vfit
vsetdispmode result 1
-checktrinfo result -tri 71 -nod 73
+checktrinfo result -tri 74 -nod 76
checkprops result -s 100.531
checkview -display result -2d -path ${imagedir}/${test_image}.png
vfit
vsetdispmode result 1
-checktrinfo result -tri 72 -nod 74
+checktrinfo result -tri 74 -nod 76
checkprops result -s 314.159
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
--- /dev/null
+puts "============"
+puts "OCC27481"
+puts "============"
+puts ""
+######################################################
+# Boolean CUT produces wrong result
+######################################################
+
+restore [locate_data_file bug27481_object.brep] obj
+restore [locate_data_file bug27481_tool.brep] tool
+
+bcut result obj tool
+
+checknbshapes result -solid 1
+
+checkshape result
+
+checkprops result -v 197909
+
+smallview; fit
+checkview -screenshot -2d -path ${imagedir}/${test_image}.png
-puts "TODO OCC12345 ALL: Error: Number of triangles"
-puts "TODO OCC12345 ALL: Error: Number of nodes"
-
puts "================"
puts "OCC17"
puts "================"
vsetdispmode result 1
vfit
-checktrinfo result -tri 100 -nod 94
+checktrinfo result -tri 96 -nod 94
checkview -display result -2d -path ${imagedir}/${test_image}.png
puts "TODO OCC12345 ALL: Error: Number of triangles"
+puts "TODO OCC12345 ALL: Error: Number of nodes"
puts "================"
puts "OCC20"
vsetdispmode result 1
vfit
-checktrinfo result -tri 66 -nod 66
+checktrinfo result -tri 72 -nod 72
checkview -display result -3d -path ${imagedir}/${test_image}.png
vfit
triangles result
-checktrinfo result -tri 100 -nod 102
+checktrinfo result -tri 78 -nod 80
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
vfit
triangles result
-checktrinfo result -tri 70 -nod 72
+checktrinfo result -tri 78 -nod 80
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
# Checking triangulation area (triarea command)...
set max_rel_tol_diff 1
-set rel_tol 0.29
+set rel_tol 0.4
set area_eps 0
smallview
set filecontent [ read ${fd0} ]
close $fd0
-if { ![regexp {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,\n\s+16,17,18,19,20,21,22,23,24,25,26,27,28, -1} ${filecontent} full] } {
+if { ![regexp {0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15, -1} ${filecontent} full] } {
set status 0
}
incmesh result .9
triangles result
-checktrinfo result -tri 88 -nod 90
+checktrinfo result -tri 91 -nod 93
checkview -display result -3d -path ${imagedir}/${test_image}.png
isos result 0
triangles result
-checktrinfo result -tri 129 -nod 131
+checktrinfo result -tri 50 -nod 52
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
vfit
triangles result
-checktrinfo result -tri 92 -nod 92
+checktrinfo result -tri 96 -nod 96
checkview -screenshot -3d -path ${imagedir}/${test_image}.png
set TheFileName shading_102.brep
if { [string compare $command "shading"] == 0 } {
set bug_area "OCC22687"
- set rel_tol 1.692
+ set rel_tol 1.52
}
set TheFileName shading_149.brep
if { [string compare $command "shading"] != 0 } {
set bug_area "OCC22687"
- set rel_tol 1.2
+ set rel_tol 1.05
}
set TheFileName shading_wrongshape_021.brep
if { [string compare $command "shading"] != 0 } {
set bug_area "OCC22687"
- set rel_tol 1.2
+ set rel_tol 1.04
}
# It may be different for different OS
foreach os_freelinks [array names nbfree] {
if { $nbfree($os_freelinks) != 0 } {
- puts "TODO $bug_freelinks $os_freelinks:^\\s*Error: Free links: $nbfree($os_freelinks)\\b\\s*"
+ puts "TODO $bug_freelinks $os_freelinks:^\\s*Error: Free links"
}
}
}