0027322: geom/revolution_00/A1: Incorrect pcurve creation
[occt.git] / tests / bugs / modalg_5 / bug25828_5
CommitLineData
c8187bb2 1puts "========"
2puts "OCC25828"
3puts "========"
4puts ""
5##########################################
6## BRepAlgoAPI_Section fails for a solid and a face depending on order of arguments
7##########################################
8
9set BugNumber OCC25828
10
11restore [locate_data_file bug25828_intersectionproblem.brep] b
12
13explode b
14copy b_1 b1
15copy b_2 b2
16
17explode b1 f
18copy b1_1 b1
19explode b2 f
20copy b2_6 b2
21
22mksurface s1 b1
23mksurface s2 b2
24
25trim s2 s2 -31.464272161690925 31.464272161690968 -21.228551512037676 26.343858939611884
26
27set log [intersect rr s1 s2 2.0e-7]
28
29set ll [llength ${log}]
30
31if {${ll} == 1} {
32 puts "${BugNumber} OK"
33} else {
34 puts "Error ${BugNumber}"
35}
36
37smallview
38donly rr
39fit
40
5747059b 41checkview -screenshot -2d -path ${imagedir}/${test_image}.png