0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / mesh / bug23202
1 puts "========="
2 puts "OCC23202"
3 puts "========="
4 puts ""
5 #################################
6 # BRepMesh of face fails
7 #################################
8 pload XDE
9 stepread [locate_data_file bug23202_Leuchte.stp] a *
10 explode a_1 f
11 renamevar a_1_714 result
12
13 donly result
14 smallview
15 fit
16 isos result 10
17
18 set bug_info [incmesh result 0.1]
19 if {[regexp "NoError" $bug_info] != 1} {
20     puts "Error: open wire problem on face 714"
21 }
22 checkshape result
23
24 # relative tolerance (%)
25 set rel_tol 1
26 set area_eps 0
27
28 checkview -screenshot -2d -path ${imagedir}/${test_image}_face714.png
29 v2d
30 pcurve result
31 2dfit
32 checkview -screenshot -2d -path ${imagedir}/${test_image}_curve.png