0024923: BRepMesh_CircleTool produces bad circles
[occt.git] / tests / bugs / mesh / bug23614_2
CommitLineData
55f1e74d 1puts "================"
2puts "CR23614"
3puts "================"
4puts ""
5#####################################################################
6# BRepMesh creates incorrect triangulation on the attached models
7#####################################################################
8
9restore [locate_data_file bug23614_face2.brep] f2
10tclean f2
11incmesh f2 0.01
12set info [trinfo f2]
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 f2
33set only_screen_axo 1
34
35