1 puts "# ====================================================================="
2 puts "# 30087: Data Exchange, STEP - invalid result of translation of assembly when relating and related products are mixed in the SRR entity"
3 puts "# ====================================================================="
6 set filepath [locate_data_file bug30087.stp]
10 puts "Check dimensions of the result -- will be different if some parts are misplaced"
11 set values [bounding result]
12 set expected { -0.66 -0.33 -11. 70.66 140.66 10. }
13 set components {XMin YMin ZMin XMax YMax ZMax }
14 for {set i 0} {$i < 6} {incr i} {
15 checkreal [lindex $components $i] [lindex $values $i] [lindex $expected $i] 0.1 0
18 puts "Make snapshot to have visual check as well"
19 checkview -display result -2d -path ${imagedir}/${test_image}.png