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