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