0027531: Modeling Algorithms - Make the algorithm Approx_SameParameter more clear...
[occt.git] / tests / bugs / modalg_2 / bug22588
CommitLineData
3bea4c16 1puts "============"
2puts "OCC22588"
3puts "============"
4puts ""
5#######################################################################
6# Revolution with negative volume in some cases
7#######################################################################
8
9set BugNumber OCC22588
10
11vertex v1 0 0 0
12vertex v12 0 0 160
13vertex v13 25 0 25
14edge e7 v1 v12
15edge e8 v12 v13
16edge e9 v13 v1
17wire w2 e7 e8 e9
18plane pln1 25 0 25 0 1 0 -25 0 -25
19mkface face2 pln1 w2
20revol result face2 0 0 0 0 0 1 45
21
58cf74e0 22checkprops result -s 5694.99
23checkshape result
3bea4c16 24
a4eba920 25checknbshapes result -vertex 3 -edge 8 -wire 4 -face 4 -shell 1 -solid 1 -compsolid 0 -compound 0 -shape 21
3bea4c16 26vinit
27vdisplay result
28vfit
29
5747059b 30checkview -screenshot -3d -path ${imagedir}/${test_image}.png
3bea4c16 31