0028661: BRepOffsetAPI_MakePipeShell throws an exception Standard_NoSuchObject: NColl...
[occt.git] / tests / bugs / modalg_6 / bug28661_1
CommitLineData
107f794f 1puts "============"
2puts "OCC28661"
3puts "============"
4puts ""
5#######################################################################
6# BRepOffsetAPI_MakePipeShell throws an exception Standard_NoSuchObject
7#######################################################################
8
9restore [locate_data_file bug27769_W5_slot.brep] pr
10restore [locate_data_file bug27769_A4_slot.brep] sp
11wire sp sp
12
13mksweep sp
14addsweep pr
15buildsweep r
16
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}
28
29set info1 [errorsweep]
30
31set check [regexp {Tolerance on surfaces = ([0-9\-+Ee.]+)} $info1 str error]
32
33checkreal "Accuracy" $error 0 1.e-10 0
34
35setsweep -FR
36buildsweep r1