1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-04-04 18:06:22 +03:00

0031449: Mesh - BRepMesh works too long and produces many free nodes on a valid face

Added test cases
This commit is contained in:
oan 2022-09-01 13:49:19 +03:00 committed by smoskvin
parent 78aade7569
commit f3573fb54b
3 changed files with 56 additions and 0 deletions

View File

@ -0,0 +1,20 @@
puts "================"
puts "0031449: Mesh - BRepMesh works too long and produces many free nodes on a valid face"
puts "================"
puts ""
pload XDE
set aTmpFile ${imagedir}/${casename}.stp
ReadStep D [locate_data_file bug31301.stp]
WriteStep D ${aTmpFile}
param xstep.cascade.unit M
ReadStep Q ${aTmpFile}
XShow Q
vfit
vsetdispmode 1
XGetOneShape result Q
checktrinfo result -tri 9025 -nod 6562
checkview -screenshot -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,17 @@
puts "================"
puts "0031449: Mesh - BRepMesh works too long and produces many free nodes on a valid face"
puts "================"
puts ""
restore [locate_data_file bug31449_face_loopback_M.brep] result
incmesh result 0.0001
set info_good [tricheck result]
if { [string compare $info_good "" ] != 0 } {
puts "Error : something wierd has been produced, like free nodes, or links"
}
checktrinfo result -tri 65 -nod 67
checkview -display result -3d -path ${imagedir}/${test_image}.png

View File

@ -0,0 +1,19 @@
puts "================"
puts "0031449: Mesh - BRepMesh works too long and produces many free nodes on a valid face"
puts "================"
puts ""
pload XDE
set aTmpFile ${imagedir}/${casename}.stp
ReadStep D [locate_data_file bug31301.stp]
WriteStep D ${aTmpFile}
param xstep.cascade.unit M
ReadStep Q ${aTmpFile}
XGetOneShape result Q
incmesh result 0.00039624 -a 20 -min 0.0001 -parallel
checktrinfo result -tri 7661 -nod 5810
checkview -display result -3d -path ${imagedir}/${test_image}.png