0023614: BRepMesh creates incorrect triangulation on the attached models
[occt.git] / tests / bugs / mesh / bug23614_3
CommitLineData
55f1e74d 1puts "================"
2puts "CR23614"
3puts "================"
4puts ""
5#####################################################################
6# BRepMesh creates incorrect triangulation on the attached models
7#####################################################################
8
9restore [locate_data_file bug23614_face3.brep] f3
10tclean f3
11incmesh f3 0.01
12set info [trinfo f3]
13regexp {([0-9]+) triangles} $info full tri
14regexp {([0-9]+) nodes} $info full nod
15
16# compare number of triangles
17if { $tri == 0 } {
18 puts "Error: face contains $tri triangles"
19} else {
20 puts "OK: face contains $tri triangles"
21}
22
23# compare number of nodes
24if { $nod == 0 } {
25 puts "Error : face contains $nod nodes"
26} else {
27 puts "OK: face contains $nod nodes"
28}
29
30top
31fit
32triangles f3
33set only_screen_axo 1
34
35