0029484: Avoid inheritance of the BRepAlgoAPI_Check from BRepBuilderAPI_MakeShape
[occt.git] / tests / bugs / modalg_7 / bug28982
1 puts "========"
2 puts "OCC28982"
3 puts "========"
4 puts ""
5 ########################################
6 # 2D offset creates faulty result from wire
7 ########################################
8
9 restore [locate_data_file bug28982_ellipse.brep] e
10 mkoffset result e 1 1
11
12 checkshape result_1
13 if {![regexp "This shape seems to be OK" [bopcheck result_1]]} {
14   puts "Error: The resulting wire is self-interfered"
15 }
16 checkprops result_1 -l 305.299
17
18 checkview -display result_1 -2d -path ${imagedir}/${test_image}.png