85b47ba4 |
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 |
c19f09e9 |
11 | renamevar a_1_714 result |
85b47ba4 |
12 | |
c19f09e9 |
13 | donly result |
85b47ba4 |
14 | smallview |
15 | fit |
c19f09e9 |
16 | isos result 10 |
85b47ba4 |
17 | |
c19f09e9 |
18 | set bug_info [incmesh result 0.1] |
85b47ba4 |
19 | if {[regexp "NoError" $bug_info] != 1} { |
20 | puts "Error: open wire problem on face 714" |
21 | } |
c19f09e9 |
22 | checkshape result |
85b47ba4 |
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 |
c19f09e9 |
30 | pcurve result |
85b47ba4 |
31 | 2dfit |
32 | checkview -screenshot -2d -path ${imagedir}/${test_image}_curve.png |