0025138: SIGSEGV when sweeping along helix
[occt.git] / tests / bugs / modalg_2 / bug5805_2
CommitLineData
61c421bf 1puts "============"
2puts "OCC5805"
3puts "============"
4puts ""
5######################################################
6# BRepOffsetAPI_MakeThickSolid behaves unstably and produces very different results.
7######################################################
8
9set BugNumber OCC5805
10
11puts "demonstration of pipes and hollowing for GTISoft"
12puts ""
13puts "Scenario 2A: Hollowed elliptical cylinder - ThroughSection and MakeThickSolid"
14
15ellipse e 10 60 0 1 0 0 5 3
16mkedge ee e
17wire w1 ee
18copy w1 w2
19ttranslate w2 -20 0 0
20
21if { [catch { thrusections rthru2 1 1 w1 w2 } catch_result] } {
22 puts "Faulty ${BugNumber} : thrusections is wrong"
23}
24
25explode rthru2 f
26
27if { [catch { offsetshape result rthru2 -0.5 rthru2_2 rthru2_3 } catch_result] } {
28 puts "Faulty ${BugNumber} : offsetshape is wrong"
29}
30
fb60057d 31checkmaxtol result -min_tol 1.
61c421bf 32
58cf74e0 33checkprops result -s 1006.59
34checkshape result
61c421bf 35
a4eba920 36checknbshapes result -vertex 3 -edge 5 -wire 6 -face 4 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 20
5747059b 37checkview -display result -2d -path ${imagedir}/${test_image}.png