56c5a597 |
1 | puts "========" |
2 | puts "OCC29535" |
3 | puts "========" |
4 | puts "" |
5 | ################################################# |
6 | # [Regression] BRepExtrema_DistShapeShape returns only one solution but the wires have two intersections . |
7 | ################################################# |
8 | |
9 | restore [locate_data_file bug29535_shapes.brep] s |
10 | explode s |
11 | distmini res s_1 s_2 |
12 | |
13 | |
14 | if { ([isdraw res] && [isdraw res2]) } { |
15 | checknbshapes res -vertex 1 -edge 0 |
16 | checknbshapes res2 -vertex 1 -edge 0 |
17 | } else { puts "Error : result of distmini is wrong" } |
18 | |
19 | |
20 | |