f0ca3c81 |
1 | puts "================================" |
2 | puts " 0032196: Invalid section curve" |
3 | puts "================================" |
4 | puts "" |
5 | |
6 | restore [locate_data_file bug32136_obj.brep] s |
7 | restore [locate_data_file bug32136_tools.brep] t |
8 | |
9 | explode s f |
10 | explode t |
11 | explode t_3 f |
12 | |
13 | set log [bopcurves s_44 t_3_4 -2d] |
14 | |
15 | if {![regexp "has no 3d curves" ${log}] || |
16 | ![regexp "has no 3d points" ${log}]} { |
17 | puts "Error: the result contains curves or points" |
18 | } |
19 | |
20 | set log [bopcurves s_2 t_3_82 -2d] |
21 | |
22 | if {![regexp "has no 3d curves" ${log}] || |
23 | ![regexp "has no 3d points" ${log}]} { |
24 | puts "Error: the result contains curves or points" |
25 | } |
26 | |
27 | set log [bopcurves s_2 t_3_95 -2d] |
28 | |
29 | if {![regexp "has no 3d curves" ${log}] || |
30 | ![regexp "has no 3d points" ${log}]} { |
31 | puts "Error: the result contains curves or points" |
32 | } |
33 | |
34 | set log [bopcurves s_2 t_3_108 -2d] |
35 | |
36 | if {![regexp "has no 3d curves" ${log}] || |
37 | ![regexp "has no 3d points" ${log}]} { |
38 | puts "Error: the result contains curves or points" |
39 | } |
40 | |
41 | set log [bopcurves s_52 t_3_43 -2d] |
42 | |
43 | if {![regexp "has no 3d curves" ${log}] || |
44 | ![regexp "has no 3d points" ${log}]} { |
45 | puts "Error: the result contains curves or points" |
46 | } |