8d27a37d |
1 | puts "============" |
2 | puts "OCC26427" |
3 | puts "============" |
4 | puts "" |
5 | ############################### |
6 | ## Draft angle algorithm produces wrong shape |
7 | ############################### |
8 | |
9 | restore [locate_data_file OCC26426-prism_shape.brep] b1 |
10 | |
11 | explode b1 f |
12 | |
13 | depouille result b1 0 0 -1 b1_1 -10 0 0 -40 0 0 1 |
14 | |
15 | set square 2245.39 |
16 | |
17 | set nbshapes_expected " |
18 | Number of shapes in shape |
19 | VERTEX : 16 |
20 | EDGE : 24 |
21 | WIRE : 10 |
22 | FACE : 10 |
23 | SHELL : 1 |
24 | SOLID : 1 |
25 | COMPSOLID : 0 |
26 | COMPOUND : 0 |
27 | SHAPE : 62 |
28 | " |
29 | checknbshapes result -ref ${nbshapes_expected} -t -m "Shape produced by Draft angle algorithm" |
30 | |
5747059b |
31 | checkview -display result -2d -path ${imagedir}/${test_image}.png |