1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-09 18:50:54 +03:00
occt/tests/bugs/mesh/bug25612
oan f43eff9ffe 0025612: Introduce possibility to disable adaptive reconfigutation of triangles in BRepMesh
Remarks from PDN: flag has been renamed to ControlSurfaceDeflection

Test-case for issue #25612
2014-12-25 18:19:02 +03:00

30 lines
871 B
Plaintext

puts "========"
puts "OCC25612"
puts "========"
puts ""
######################################################################################
# Introduce possibility to disable adaptive reconfigutation of triangles in BRepMesh
######################################################################################
restore [locate_data_file bug25519_testtriangulation.brep] a
tclean a
incmesh a 0.001
set bug_info [trinfo a]
set TNumber_1 [lindex $bug_info 3]
set NNumber_1 [lindex $bug_info 5]
tclean a
incmesh a 0.001 -surf_def_off
set bug_info [trinfo a]
set TNumber_2 [lindex $bug_info 3]
set NNumber_2 [lindex $bug_info 5]
if {$TNumber_2 >= $TNumber_1} {
puts "ERROR: OCC25612 is reproduced. Flag -surf_def_off does not work (triangles)."
}
if {$NNumber_2 >= $NNumber_1} {
puts "ERROR: OCC25612 is reproduced. Flag -surf_def_off does not work (nodes)."
}