1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-04 13:13:25 +03:00
occt/tests/perf/mesh/bug26889_1
oan 56f67cdaab 0032424: [Regression] Mesh - Slow triangulation of a simple shape.
Check links produced by splitting of an initial link by the middle point for MinSize requirement.

Conflicts:
	tests/bugs/mesh/bug30008_1
	tests/bugs/moddata_2/bug428
	tests/hlr/poly_hlr/C14
2021-08-30 11:39:36 +03:00

30 lines
534 B
Plaintext

puts "========="
puts "0026889: Very poor mesh result from shape"
puts "========="
puts ""
pload XDE
stepread [locate_data_file bug26889_export.step] a *
dchrono t restart
incmesh a_1 0.01 1
dchrono t stop counter incmesh
checktrinfo a_1 -tri 525271 -nod 263456 -defl 0.081028355715069861
set log [tricheck a_1]
if { [llength $log] != 0 } {
puts "Error : Invalid mesh"
} else {
puts "Mesh is OK"
}
vinit
vdefaults -autoTriang 0
vsetdispmode 1
vdisplay a_1
vfit
checkview -screenshot -3d -path ${imagedir}/${test_image}.png