1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
|
puts "TODO OCC23954 ALL: Error: result is not Toroidal surface"
puts "============"
puts "OCC23954"
puts "============"
puts ""
##########################################################
# BRepPrimAPI_MakeRevol fails to recognize a torus case
##########################################################
circle c_1 0 100 0 1 0 0 0 1 0 100
circle c_2 0 100 0 1 0 0 0 0 1 100
circle c_3 0 100 0 1 0 0 0 -1 0 100
circle c_4 0 100 0 1 0 0 0 0 1 10
circle c_5 0 100 0 1 0 0 0 0 1 120
for { set i 1 } { $i <= 5 } { incr i } {
mkedge e c_$i
revol r e 0 0 0 0 0 1 90
mksurface s_$i r
set info [dump s_$i]
if { [regexp "SurfaceOfRevolution" $info] == 1 } {
puts "Error: result is not Toroidal surface"
}
}
|