0014531: Boolean Operation Algorithm fails
[occt.git] / tests / bugs / moddata_3 / bug24142
CommitLineData
b045e6a4 1puts "================"
2puts "OCC24142"
3puts "================"
4puts ""
5#################################################################
6## Wrong section curve
7#################################################################
8
9restore [locate_data_file OCC152.brep] sh
10explode sh f
11
12mksurface s1 sh_3
13mksurface s2 sh_5
14
15trim st1 s1 0 6.28318530717959 0 74.9999999999999
16trim st2 s2 0 6.28318530717959 -74.0551172696384 125.944882730362
17
6d368502 18intersect cur st1 st2
b045e6a4 19
6d368502 20if { [regexp -nocase "curve" [whatis cur]] } {
21 puts "Error: intersection curve is built while it should not"
b045e6a4 22}
23
5747059b 24checkview -display result -2d -path ${imagedir}/${test_image}.png