Updated test case so that the output of each "dump" is checked against toroidal surfa...
[occt.git] / tests / bugs / modalg_5 / bug23954
CommitLineData
08f906ff 1puts "TODO OCC23954 ALL: Error: result is not Toroidal surface"
2
1704c576 3puts "============"
4puts "OCC23954"
5puts "============"
6puts ""
7##########################################################
8# BRepPrimAPI_MakeRevol fails to recognize a torus case
9##########################################################
10
11circle c_1 0 100 0 1 0 0 0 1 0 100
12circle c_2 0 100 0 1 0 0 0 0 1 100
13circle c_3 0 100 0 1 0 0 0 -1 0 100
14circle c_4 0 100 0 1 0 0 0 0 1 10
15circle c_5 0 100 0 1 0 0 0 0 1 120
16for { set i 1 } { $i <= 5 } { incr i } {
08f906ff 17 mkedge e c_$i
18 revol r e 0 0 0 0 0 1 90
19 mksurface s_$i r
20 set info [dump s_$i]
21 if { [regexp "SurfaceOfRevolution" $info] == 1 } {
22 puts "Error: result is not Toroidal surface"
23 }
1704c576 24}