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"
15 ellipse e 10 60 0 1 0 0 5 3
21 if { [catch { thrusections rthru2 1 1 w1 w2 } catch_result] } {
22 puts "Faulty ${BugNumber} : thrusections is wrong"
27 if { [catch { offsetshape result rthru2 -0.5 rthru2_2 rthru2_3 } catch_result] } {
28 puts "Faulty ${BugNumber} : offsetshape is wrong"
31 checkmaxtol result -min_tol 1.
33 checkprops result -s 1006.59
36 checknbshapes result -vertex 3 -edge 5 -wire 6 -face 4 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 20
37 checkview -display result -2d -path ${imagedir}/${test_image}.png