1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-03 17:56:21 +03:00

0029964: Bad arc discretization

Added test cases.
This commit is contained in:
oan 2018-11-13 13:08:37 +03:00 committed by apn
parent 4fe725a46a
commit 6c27a5d993

30
tests/bugs/mesh/bug29964 Normal file
View File

@ -0,0 +1,30 @@
puts "================"
puts "OCC29964: Bad arc discretization"
puts "================"
puts ""
set BugNumber OCC29964
restore [locate_data_file bug29964_partition.brep] a
explode a f
compound a_5 a_6 a_9 a_10 result
donly result
isos result 0
triangles result
top
fit
set tolerances {0.1 0.01 0.001}
set ref_triangles {15 33 318}
set ref_nodes {23 41 326}
for {set i 0} {$i < 3} {incr i} {
tclean a
incmesh result [lindex ${tolerances} ${i}] -a 1
fit
checkview -screenshot -2d -path ${imagedir}/${test_image}_${i}.png
checktrinfo result -tri [lindex ${ref_triangles} ${i}] -nod [lindex ${ref_nodes} ${i}]
}