blob: 312e25ab4b63f8e25a968f37bf50d4bf16be7d4d [file] [edit]
cylinder surf 1
trimv surf surf -1 1
convert surf surf
mkface f surf
getanasurf asurf f cyl 1.e-7
if {[isdraw asurf]} {
set log [dump asurf]
if { [regexp {CylindricalSurface} $log ] != 1 } {
puts "Error: surface is not a cylindrical surface"
}
} else {
puts "Error: required surface is not got"
}