0031496: Modeling Algorithms - BRepAlgo::ConcatenateWireC0() crashes
[occt.git] / tests / bugs / modalg_7 / bug30140
1 puts "========"
2 puts "0030140: Modeling Algorithms - Access Null Pointer"
3 puts "========"
4 puts ""
5
6 line l_path 0 0 0 1 0 0
7 trim l_path l_path 0 10
8 circle c_profile 0 0 2 1 0 0 5
9 mkedge profile c_profile
10 wire profile profile
11 point dir 0 1 0
12 offsetcurve offset_path l_path 2 dir
13 mkedge path offset_path
14 wire path path
15
16 # Before the fix - Exception.
17 pipe result path profile 0
18
19 checkshape result
20 checkprops result -s 314.159
21
22 checkview -display result -2d -path ${imagedir}/${test_image}.png