0030346: Modeling Algorithms - BRepPrimAPI_MakeRevol throws "BRepSweep_Translation...
[occt.git] / tests / bugs / modalg_7 / bug30346_1
CommitLineData
80eeb3ce 1puts "========"
2puts "0030346: Modeling Algorithms - BRepPrimAPI_MakeRevol throws BRepSweep_Translation::MakeEmptyVertex"
3puts "========"
4puts ""
5
6pload MODELING
7
8plane f 0 0 0 0 1 0
9mkface f f 0 1 0 1
10revol r1 f 0 0 0 0 0 1 60
11savehistory h1
12set s1 [dump h1]
13if { !([regexp "0 Deleted" $s1] && [regexp "6 Generated" $s1])} {
14 puts "Error: wrong history h1"
15}
16revol r2 f 0 0 0 0 0 1 360
17savehistory h2
18set s2 [dump h2]
19if { !([regexp "6 Deleted" $s2] && [regexp "3 Generated" $s2])} {
20 puts "Error: wrong history h2"
21}