0026833: Create command checkview containing all viewer types
[occt.git] / tests / boolean / bcut_complex / O8
CommitLineData
58cf74e0 1puts "TODO #25319 ALL: Error : The area of result shape is"
4691b61a 2
40093367 3## cts20461
40093367 4
8418c617 5restore [locate_data_file cts20461.rle] a
40093367 6nexplode a f
7mksurface surf a_26
8nexplode a_26 e
9wire wire a_26_3
10mkface face surf wire
11prism pz face 0 0 10
12
13## ttranslate pz 0 0 -5
14## essential step to avoid tangent faces
15
16tcopy pz p1
17tcopy pz p2
18tcopy pz p3
19tcopy pz p4
20tcopy pz p5
21tcopy pz p6
22
23trotate p1 p1 0 0 0 1 0 0 360/7
24trotate p2 p2 0 0 0 1 0 0 2*360/7
25trotate p3 p3 0 0 0 1 0 0 3*360/7
26trotate p4 p4 0 0 0 1 0 0 4*360/7
27trotate p5 p5 0 0 0 1 0 0 5*360/7
28trotate p6 p6 0 0 0 1 0 0 6*360/7
29
30#pkv f
31updatetolerance a 1
32updatetolerance p1 1
33updatetolerance p2 1
34updatetolerance p3 1
35updatetolerance p4 1
36updatetolerance p5 1
37updatetolerance p6 1
38#pkv t
39
40bcut r1 a p1
41bcut r2 r1 p2
42bcut r3 r2 p3
43bcut r4 r3 p4
44bcut r5 r4 p5
45bcut result r5 p6
58cf74e0 46checkprops result -s 55910.6
5747059b 47checkview -display result -2d -s -otherwise { r5 p6 } -path ${imagedir}/${test_image}.png