0033661: Data Exchange, Step Import - Tessellated GDTs are not imported
[occt.git] / tests / bugs / heal / bug24549
CommitLineData
630ab8c7 1puts "============"
2puts "OCC24549"
3puts "============"
4puts ""
5#######################################################################
6## Faulty shape after IGES translation with xstep.cascade.unit set to M
7#######################################################################
8
bd651bbb 9pload DATAEXCHANGEKERNEL IGES
630ab8c7 10
11param xstep.cascade.unit M
12
13igesread [locate_data_file bug24549_Hull_B.igs] result *
14
15regexp {Tolerance +MAX=([-0-9.+eE]+)} [tolerance result] full MaxTol_1
16
17puts "MaxTolerance = $MaxTol_1"
18
19set MaxTol 0.001
20
21if { ${MaxTol_1} > ${MaxTol} } {
22 puts "Faulty : bad tolerance"
23} else {
24 puts "OK : good tolerance"
25}