diff --git a/tests/bugs/mesh/bug31449_1 b/tests/bugs/mesh/bug31449_1 new file mode 100644 index 0000000000..f117e4a33c --- /dev/null +++ b/tests/bugs/mesh/bug31449_1 @@ -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 diff --git a/tests/bugs/mesh/bug31449_2 b/tests/bugs/mesh/bug31449_2 new file mode 100644 index 0000000000..50d626d3ff --- /dev/null +++ b/tests/bugs/mesh/bug31449_2 @@ -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 diff --git a/tests/bugs/mesh/bug31449_3 b/tests/bugs/mesh/bug31449_3 new file mode 100644 index 0000000000..f77c0646c0 --- /dev/null +++ b/tests/bugs/mesh/bug31449_3 @@ -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