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