0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / modalg_6 / bug24357
CommitLineData
2a739b6d 1puts "========"
2puts "OCC24357"
3puts "========"
4puts ""
5###########################################################
6# BRepBuilderAPI_Sewing returns result with too high tolerance
7###########################################################
8
9restore [locate_data_file bug24357_faces.brep] f
10whatis f
11tolerance f
12sewing r 0.2 f
13whatis r
14
15regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance r] full MaxTolerance
16puts "MaxTolerance=$MaxTolerance"
17
93937391 18set expected_MaxTolerance 0.00068453844086764995
2a739b6d 19set tol_abs_MaxTolerance 0.00001
20set tol_rel_MaxTolerance 0.00001
21checkreal "MaxTolerance" ${MaxTolerance} ${expected_MaxTolerance} ${tol_abs_MaxTolerance} ${tol_rel_MaxTolerance}
22
23smallview
24donly r
25fit
26xwd ${imagedir}/${casename}_1.png
27
28vinit
29vsetdispmode 1
30vdisplay r
31vfit
32vdump ${imagedir}/${casename}_2.png