0002793: BinOcaf: low performance saving documents with large attributes
[occt.git] / tests / bugs / caf / bug350
CommitLineData
a87752f3 1puts "==========="
2puts "OCC350"
3puts "==========="
4
5pload QAcommands
6
7NewDocument D MDTV-Standard
8
9vertex v1 0 0 -50
10vertex v2 0 100 -50
11vertex v3 100 0 -50
12line l1 0 0 -50 0 1 0
13line l2 0 100 -50 1 -1 0
14line l3 100 0 -50 -1 0 0
15mkedge e1 l1 v1 v2
16mkedge e2 l2 v2 v3
17mkedge e3 l3 v3 v1
18wire w e1 e2 e3
19plane pl 0 0 -50 0 0 1
20mkface f pl w
21NameImportShape D 0:1 f
22NamePrism D 0:2 0:1 250 0 0 1
23NameBox D 0:3 150 150 150
24GetShape D 0:2 aPrism
25GetShape D 0:3 aBox
26NameCut D 0:4 aPrism aBox
27
28if [catch { CheckNaming D 0:9 1 Label 0:4 1 1 1 } res] {
29 puts "OCC350: Error"
30}
31