0030402: Data Exchange - exported VRML file has broken location information
[occt.git] / tests / bugs / xde / bug184
1 puts "========"
2 puts "OCC184"
3 puts "========"
4 #
5 ## Bad IGES/BREP translation
6 #
7 puts "FaceBrep must be identical FaceIGES!!!"
8 puts "========"
9
10 restore [locate_data_file OCC184.brep] FaceBrep 
11 checkshape FaceBrep
12
13 catch {exec rm ${imagedir}/OCC184.igs}
14 brepiges FaceBrep ${imagedir}/OCC184.igs
15 catch {exec chmod 777 ${imagedir}/OCC184.igs}
16
17 igesbrep ${imagedir}/OCC184.igs FaceIGES *
18
19 sewing result FaceIGES
20
21 checkshape result
22 checknbshapes result -ref [nbshapes FaceBrep]
23 checkprops result -s -equal FaceBrep
24
25 checkmaxtol result -ref 9.9999999999999995e-008
26 checknbshapes result -shell 0
27 checkfreebounds result 2
28
29 checkview -display result -2d -path ${imagedir}/${test_image}.png
30