0026106: BRepMesh - revision of data model
[occt.git] / tests / bugs / mesh / bug25612
CommitLineData
f43eff9f 1puts "========"
2puts "OCC25612"
3puts "========"
4puts ""
5######################################################################################
6# Introduce possibility to disable adaptive reconfigutation of triangles in BRepMesh
7######################################################################################
8
9restore [locate_data_file bug25519_testtriangulation.brep] a
10
11tclean a
81093856 12incmesh a 0.01 -a 50
f43eff9f 13set bug_info [trinfo a]
14set TNumber_1 [lindex $bug_info 3]
15set NNumber_1 [lindex $bug_info 5]
16
17tclean a
81093856 18incmesh a 0.01 -a 50 -surf_def_off
f43eff9f 19set bug_info [trinfo a]
20set TNumber_2 [lindex $bug_info 3]
21set NNumber_2 [lindex $bug_info 5]
22
23if {$TNumber_2 >= $TNumber_1} {
24 puts "ERROR: OCC25612 is reproduced. Flag -surf_def_off does not work (triangles)."
25}
26
27if {$NNumber_2 >= $NNumber_1} {
28 puts "ERROR: OCC25612 is reproduced. Flag -surf_def_off does not work (nodes)."
29}