5 #######################################################################
6 # BRepOffsetAPI_MakeThickSolid behaves unstably and produces very different results.
7 #######################################################################
13 # *---------------------*
24 # *---------------------*
32 polyline UpCover 0 0 ${z1} 5 0 ${z1} 5 5 ${z1} 0 5 ${z1} 0 0 ${z1}
35 polyline BottomCover 0 0 ${z2} 5 0 ${z2} 5 5 ${z2} 0 5 ${z2} 0 0 ${z2}
39 if [catch { thrusections s ${issolid} ${isruled} UpCover BottomCover } catch_result] {
40 puts "Faulty ${BugNumber} : thrusections is wrong"
45 catch { OFFSETSHAPE $distance {s_5 s_6} $calcul $type }
48 checkprops result -s 378
51 checknbshapes result -vertex 16 -edge 24 -wire 12 -face 10 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 64
53 set index [lsearch [whatis s] Closed]
55 puts "Faulty ${BugNumber} : s is not Closed shape"
59 set index [lsearch [whatis result] Closed]
61 puts "Faulty ${BugNumber} : result is not Closed shape"
66 checkview -display result -2d -path ${imagedir}/${test_image}.png