0029351: Boolean Operations create invalid pcurves
[occt.git] / tests / bugs / modalg_2 / bug20793
CommitLineData
3bea4c16 1puts "============"
2puts "OCC20793"
3puts "============"
4puts ""
5#######################################################################
6# BRepOffsetAPI_MakeOffset produces incorrect result
7#######################################################################
8
9set BugNumber OCC20793
10
11puts "Load shape ..."
12restore [locate_data_file OCC20793.brep] a
13
14if [catch { mkoffset resoffset a 1 10 } ] {
15 puts "Faulty ${BugNumber} : mkoffset is wrong"
16} else {
17 renamevar resoffset_1 result
18
58cf74e0 19checkprops result -l 671.746
20checkshape result
21checksection result
3bea4c16 22
a4eba920 23checknbshapes result -vertex 4 -edge 4 -wire 1 -face 0 -shell 0 -solid 0 -compsolid 0 -compound 0 -shape 9
3bea4c16 24}
25
5747059b 26checkview -display result -2d -path ${imagedir}/${test_image}.png