0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / modalg_6 / bug26393
CommitLineData
a493b4a1 1puts "========"
2puts "OCC26393"
3puts "========"
4puts ""
5#################################################################
6# Add draw commands to evaluate history of modifications of BOP
7#################################################################
8
9restore [locate_data_file OCC26393-w.brep] w
10restore [locate_data_file OCC26393-v1.brep] v0
11restore [locate_data_file OCC26393-v2.brep] v1
12
13bclearobjects
14bcleartools
15baddobjects w
16baddtools v0 v1
17bfillds
18bbuild r
19
4f7d41ea 20savehistory gf_hist
21
22set bug_info [modified v0m gf_hist v0]
23if {$bug_info != "The shape has not been modified."} {
24 puts "ERROR: OCC26393 is reproduced. Command modified does not work."
a493b4a1 25}
26
4f7d41ea 27set bug_info [modified v1m gf_hist v1]
28if {$bug_info != "The shape has not been modified."} {
29 puts "ERROR: OCC26393 is reproduced. Command modified does not work."
a493b4a1 30}
31
4f7d41ea 32set bug_info [isdeleted gf_hist v0]
33if {$bug_info != "Not deleted."} {
34 puts "ERROR: OCC26393 is reproduced. Command isdeleted does not work."
a493b4a1 35}
36
4f7d41ea 37set bug_info [isdeleted gf_hist v1]
38if {$bug_info != "Not deleted."} {
39 puts "ERROR: OCC26393 is reproduced. Command isdeleted does not work."
a493b4a1 40}
41
42explode w e
43
4f7d41ea 44set bug_info [modified w1m gf_hist w_1]
a493b4a1 45if {$bug_info != ""} {
4f7d41ea 46 puts "ERROR: OCC26393 is reproduced. Command modified does not work correctly."
a493b4a1 47}
48
4f7d41ea 49set bug_info [isdeleted gf_hist w_1]
50if {$bug_info != "Not deleted."} {
51 puts "ERROR: OCC26393 is reproduced. Command isdeleted does not work."
a493b4a1 52}
53
4f7d41ea 54set bug_info [modified w2m gf_hist w_2]
55if {$bug_info != "The shape has not been modified."} {
56 puts "ERROR: OCC26393 is reproduced. Command modified does not work."
a493b4a1 57}
58
4f7d41ea 59set bug_info [isdeleted gf_hist w_2]
60if {$bug_info != "Not deleted."} {
61 puts "ERROR: OCC26393 is reproduced. Command isdeleted does not work."
a493b4a1 62}
63
4f7d41ea 64set bug_info [modified w3m gf_hist w_3]
65if {$bug_info != "The shape has not been modified."} {
66 puts "ERROR: OCC26393 is reproduced. Command modified does not work."
a493b4a1 67}
68
4f7d41ea 69set bug_info [isdeleted gf_hist w_3]
70if {$bug_info != "Not deleted."} {
71 puts "ERROR: OCC26393 is reproduced. Command isdeleted does not work."
a493b4a1 72}
73
4f7d41ea 74set bug_info [modified w4m gf_hist w_4]
a493b4a1 75if {$bug_info != ""} {
4f7d41ea 76 puts "ERROR: OCC26393 is reproduced. Command modified does not work correctly."
a493b4a1 77}
78
4f7d41ea 79set bug_info [isdeleted gf_hist w_4]
80if {$bug_info != "Not deleted."} {
81 puts "ERROR: OCC26393 is reproduced. Command isdeleted does not work."
a493b4a1 82}
83
4f7d41ea 84set bug_info [modified w5m gf_hist w_5]
85if {$bug_info != "The shape has not been modified."} {
86 puts "ERROR: OCC26393 is reproduced. Command modified does not work."
a493b4a1 87}
88
4f7d41ea 89set bug_info [isdeleted gf_hist w_5]
90if {$bug_info != "Not deleted."} {
91 puts "ERROR: OCC26393 is reproduced. Command isdeleted does not work."
a493b4a1 92}