0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / moddata_2 / bug303_1
CommitLineData
a87752f3 1puts "========================"
2puts " OCC303 "
3puts "(case 1)"
4puts "========================"
5puts ""
6#################################################################
7## Exception while segment operation.
8#################################################################
9
10restore [locate_data_file OCC303a.brep] sh1
11
12explode sh1 e
13
14mkcurve c5 sh1_5
15trim result c5
16
17if [catch {segment result 22.07126804854423 23.6320483505636} catch_result] {
18 puts "Faulty OCC303 (case 1): function SEGMENT works wrongly"
19} else {
20 puts "OCC303 OK (case 1): function SEGMENT works properly"
21}
22
5747059b 23checkview -display result -2d -path ${imagedir}/${test_image}.png