0027769: BRepOffsetAPI_MakePipeShell produces a face based on degenerated toroidal...
[occt.git] / tests / bugs / modalg_6 / bug27769
CommitLineData
b969ebe7 1puts "========"
2puts "OCC27769"
3puts "========"
4puts ""
5#################################################
6# BRepOffsetAPI_MakePipeShell produces a face
7# based on degenerated toroidal surfaces
8#################################################
9
10restore [locate_data_file bug27769_W5_slot.brep] w
11restore [locate_data_file bug27769_A4_slot.brep] e
12
13wire p e
14mksweep p
15addsweep w
16buildsweep r
17explode r f
18mksurface s1 r_1
19set info [dump s1]
20
21set check [regexp "SphericalSurface" $info]
22
23if { ${check} == 1 } {
24 puts "OK: The basic surface is spherical surface."
25} else {
26 puts "Faulty: The basic surface is not spherical surface."
27}