0028095: Draw Harness, ViewerTest - use RGBA format instead of BGRA within vreadpixel
[occt.git] / tests / caf / nam / A9
CommitLineData
ac4efa22 1set Test "Specific operations naming test"
2set IsDone 1
3set TestError ""
4
5if {[catch {set TestLab}] == 1} {
6 NewDocument D
7 set TestLab 0:1
8}
9
10set myLab [set TestLab]:1
11set myNameLab [set TestLab]:100
12
13#################### two boxes glueing ####################
14NameBox D $myLab 20 30 40
15set Box1Lab $myLab
16NextLabel myLab
17NextLabel myNameLab
18box b 20 10 20 20 30 40
19NameImportShape D $myLab b
20set Box2Lab $myLab
21NextLabel myLab
22NextLabel myNameLab
23NameGlue D $myLab $Box1Lab $Box2Lab
24Checking "Two boxes glueing"
25
26#################### 3-faces shell and 2-faces shell glueing ####################
27restore [locate_data_file HH_O.brep] object
28restore [locate_data_file HH_T.brep] tool
29global object
30NameImportShape D $myLab object
31set ObjectLab $myLab
32NextLabel myLab
33NextLabel myNameLab
34global tool
35NameImportShape D $myLab tool
36set ToolLab $myLab
37NextLabel myLab
38NextLabel myNameLab
39NameGlue D $myLab $ObjectLab $ToolLab
40Checking "Two shells glueing"
41
42#################### import box with broken edges and internal vertex at the face ####################
43restore [locate_data_file brockenedgesbox.brep] bbox
44NameImportShape D $myLab object
45Checking "Box with broken edges"