bcd19756 |
1 | puts "=========" |
2 | puts "OCC26560" |
3 | puts "=========" |
4 | puts "" |
5 | ##################################################################### |
6 | ## BRepBndLib build too large bounding box in Z direction for planar spline edge. |
7 | ##################################################################### |
8 | |
1a0339b4 |
9 | restore [locate_data_file bug26560_planarspline.brep] result |
bcd19756 |
10 | |
1f26f80b |
11 | bounding result -save Xmin Ymin Zmin Xmax Ymax Zmax -shape resbox |
bcd19756 |
12 | |
13 | set tol_abs 1.0e-4 |
14 | set tol_rel 0.0001 |
15 | |
1a0339b4 |
16 | checkreal "Xmin" [dval Xmin] -277.03883383200952 ${tol_abs} ${tol_rel} |
17 | checkreal "Ymin" [dval Ymin] -562.56241861670651 ${tol_abs} ${tol_rel} |
18 | checkreal "Zmin" [dval Zmin] -9.9999999999999995e-08 ${tol_abs} ${tol_rel} |
19 | checkreal "Xmax" [dval Xmax] 20.000000100000001 ${tol_abs} ${tol_rel} |
20 | checkreal "Ymax" [dval Ymax] -221.27317426638498 ${tol_abs} ${tol_rel} |
21 | checkreal "Zmax" [dval Zmax] 9.9999999999999995e-08 ${tol_abs} ${tol_rel} |
bcd19756 |
22 | |
23 | smallview |
1a0339b4 |
24 | don result resbox |
bcd19756 |
25 | fit |
1a0339b4 |
26 | checkview -screenshot -2d -path ${imagedir}/${test_image}.png |