0025987: Integration part of modified unstable test cases
[occt.git] / tests / bugs / modalg_4 / bug8842_3
CommitLineData
9aa684ed 1puts "TODO OCC25913 ALL: Error : Result shape is WRONG"
2puts "TODO OCC25913 ALL: Error : The square of result shape is"
3cdfdc9a 3puts "TODO OCC24156 MacOS: \\*\\* Exception \\*\\*.*"
4puts "TODO OCC24156 MacOS: An exception was caught"
5puts "TODO OCC24156 MacOS: OCC8842: Faulty"
a8676008 6
7puts "============"
8puts "OCC8842"
9puts "============"
10puts ""
11#######################################################################
12# Errors in Offset Shape algorithm working with bspline and surface of revolution
13#######################################################################
14
15set BugNumber OCC8842
16
17if {[info commands testreadiges] == ""} {pload XSDRAW}
18
19proc myoffset {result sh val tan} {
20 if {$tan == 1} {
21 offsetparameter 1e-7 p i
22 } else {
23 offsetparameter 1e-7 p a
24 }
25 uplevel offsetload $sh $val
26 uplevel offsetperform $result
27}
28
29testreadiges [locate_data_file OCC8842_cone_CATIA.igs] a1
30
31sewing con1 a1
32
33# join type Intersection
34puts "***** offsetting with join type Intersection"
35puts " cone_CATIA + 5"
36
37if [catch { myoffset result con1 5 1 } catch_result] {
38 puts "${BugNumber}: Faulty (1)"
39} else {
40
41set square 3542.24
42
43set nb_v_good 60
44set nb_e_good 90
45set nb_w_good 42
46set nb_f_good 40
47set nb_sh_good 5
48set nb_sol_good 5
49set nb_compsol_good 0
50set nb_compound_good 1
51set nb_shape_good 243
52
53
54}
55
56set 2dviewer 0