0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / xde / bug22492
1 puts "============"
2 puts "OCC22492"
3 puts "============"
4 puts ""
5 #######################################################################
6 # Scaled sphere (Solid with BSplineSurface) is wrongly exported in STEP.
7 #######################################################################
8
9 set BugNumber OCC22492
10
11 restore [locate_data_file bug22492_scale.brep] sc1 
12 nbshapes sc1
13
14 catch {[file delete $imagedir/${test_image}.step]}
15
16 stepwrite 3 sc1 $imagedir/${test_image}.step
17
18 stepread $imagedir/${test_image}.step sc2 *
19 tpcompound sc2
20 renamevar sc2 result
21
22 checkprops result -s 271280
23 checkshape result
24
25 checknbshapes result -vertex 2 -edge 3 -wire 1 -face 1 -shell 1 -solid 1 -compsolid 0 -compound 1 -shape 10
26 checkview -display result -2d -path ${imagedir}/${test_image}.png