340054e1 |
1 | puts "TODO OCC27251 All: Faulty shapes in variables faulty_1 to faulty_" |
2 | |
3 | puts "============" |
4 | puts "OCC27251" |
5 | puts "============" |
6 | puts "" |
7 | ############################################################### |
8 | # Shape becomes invalid when exported to STEP and imported back |
9 | ############################################################### |
10 | |
11 | restore [locate_data_file bug27251_cc.brep] c |
12 | whatis c |
13 | checkshape c |
14 | |
15 | set aFile ${imagedir}/bug27251.stp |
16 | catch { file delete ${aFile} } |
17 | |
18 | stepwrite 0 c ${aFile} |
19 | |
20 | stepread ${aFile} result * |
21 | whatis result_1 |
22 | checkshape result_1 |
23 | |
24 | checkview -display c -2d -path ${imagedir}/${test_image}_1.png |
25 | checkview -display result_1 -2d -path ${imagedir}/${test_image}_2.png |