5 ######################################################
6 # BRepOffsetAPI_MakeThickSolid behaves unstably and produces very different results.
7 ######################################################
11 puts "demonstration of pipes and hollowing for GTISoft"
13 puts "Scenario 2A: Hollowed elliptical cylinder - ThroughSection and MakeThickSolid (work-around: ellipse is split into 2)"
16 ellipse e 10 60 0 1 0 0 5 3
25 if { [catch { thrusections rthru2 1 1 w1 w2 } catch_result] } {
26 puts "Faulty ${BugNumber} : thrusections is wrong"
31 if { [catch { offsetshape result rthru2 -0.5 rthru2_3 rthru2_4 } catch_result] } {
32 puts "Faulty ${BugNumber} : offsetshape is wrong"
35 checkmaxtol result -min_tol 1.
37 checkprops result -s 981.941
40 checknbshapes result -vertex 6 -edge 10 -wire 8 -face 6 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 32
41 checkview -display result -2d -path ${imagedir}/${test_image}.png