0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / moddata_1 / bug165_3
1 puts "========"
2 puts "OCC165"
3 puts "========"
4
5 restore [locate_data_file OCC165-2.brep] f 
6 checkshape f
7
8 if [catch {mkoffset res1 f 3 10 } result] {
9   puts "Faulty OCC165 (case 1) : function MKOFFSET works wrongly"
10 } else {
11   puts "OCC165 OK (case 1): function MKOFFSET works properly"
12   mkplane pl1_1 res1_1 
13   checkshape pl1_1
14   mkplane pl1_2 res1_2 
15   checkshape pl1_2
16   mkplane pl1_3 res1_3 
17   checkshape pl1_3
18 }
19
20 if [catch {mkoffset res2 f 3 -10 } result] {
21   puts "Faulty OCC165 (case 2) : function MKOFFSET works wrongly"
22 } else {
23   puts "OCC165 OK (case 2): function MKOFFSET works properly"
24   mkplane pl2_1 res2_1 
25   checkshape pl2_1
26   mkplane pl2_2 res2_2 
27   checkshape pl2_2
28   mkplane pl2_3 res2_3 
29   checkshape pl2_3
30 }
31
32 compound f res1_1 res1_2 res1_3 res2_1 res2_2 res2_3 res
33 checkprops res1_1 -l 462.832
34 checkprops res1_2 -l 525.664
35 checkprops res1_3 -l 588.496
36 checkprops res2_1 -l 320
37 checkprops res2_2 -l 240
38 checkprops res2_3 -l 160