e54706ed |
1 | puts "=========" |
2 | puts " OCC952 " |
3 | puts "=========" |
4 | puts "" |
5 | ################################################## |
6 | ## Reading STEP file produces invalid shape |
7 | ################################################## |
8 | |
9 | stepread [locate_data_file OCC951.stp] a * |
10 | tpcompound rrr |
11 | |
12 | ###################################################################### |
13 | |
14 | file delete ${imagedir}/OCC952.brep |
15 | save rrr ${imagedir}/OCC952.brep |
16 | catch {exec chmod 777 ${imagedir}/OCC952.brep} |
17 | ###################################################################### |
18 | |
19 | restore ${imagedir}/OCC952.brep result |
20 | checkshape result |
21 | |
22 | ###################################################################### |
23 | file delete ${imagedir}/OCC952.brep |
24 | ###################################################################### |
25 | |
5747059b |
26 | checkview -display result -2d -path ${imagedir}/${test_image}.png |
e54706ed |
27 | |