1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-05 18:16:23 +03:00
occt/tests/bugs/mesh/bug23631
oan 80d659a5a6 0025469: BRepMesh corrupts triangulation of another not connected shape
Do not clean polygons that are created for different faces not connected with current shape.
Remove old code producing additional points for BSpline curves due to fix #24959.

Test cases fir issue CR25469

Revert changes producing additional points for BSpline curves with C1 continuity

Test cases fir issue CR25469

Correction of test cases for issue CR25469
2014-11-21 14:19:28 +03:00

38 lines
704 B
Plaintext

puts "========"
puts "OCC23631"
puts "========"
puts ""
###########################################
## Infinite memory consumption in BRepMesh
###########################################
set BugNumber 23631
restore [locate_data_file OCC396_f2903.brep] result
incmesh result 0.01
triangles result
set tri 0
set nod 0
set good_tri 38
set good_nod 40
set tri_info [trinfo result]
regexp { +([-0-9.+eE]+) +triangles} $tri_info full tri
regexp { +([-0-9.+eE]+) +nodes} $tri_info full nod
if { ${tri} == ${good_tri} && ${nod} == ${good_nod} } {
puts "Bug ${BugNumber} shading: OK"
} else {
puts "Bug ${BugNumber} shading: Faulty"
}
vinit
vdisplay result
vfit
vsetdispmode 1
set only_screen 1